Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .claude/agents/cleanup-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Successfully cleaned files meet:
- Applies "Full Cleanup" profile from `Terminal.sln.DotSettings`
- Uses `--include` parameter to target specific files
- Respects all project code style settings
- Command: `jb cleanupcode Terminal.sln --profile="Full Cleanup" --include="path/to/file.cs" --no-build`
- Command: `jb cleanupcode Terminal.slnx --profile="Full Cleanup" --include="path/to/file.cs" --no-build`

### 3. Backing Field Reordering
- Places backing fields immediately before their properties
Expand Down Expand Up @@ -118,7 +118,7 @@ The `--include` parameter **WORKS CORRECTLY** for single-file cleanup:

```powershell
# Cleanup a single file
jb cleanupcode Terminal.sln `
jb cleanupcode Terminal.slnx `
--profile="Full Cleanup" `
--include="Terminal.Gui/Views/TableView/TableView.cs" `
--no-build `
Expand All @@ -139,7 +139,7 @@ jb cleanupcode Terminal.sln `

```powershell
# Inspect a single file for warnings
jb inspectcode Terminal.sln `
jb inspectcode Terminal.slnx `
--output="inspect-report.xml" `
--include="Terminal.Gui/Views/TableView/TableView.cs" `
--severity=WARNING `
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ foreach (Rune rune in text.EnumerateRunes ())

### Root Directory Files

- `Terminal.sln` - Main solution file
- `Terminal.slnx` - Main solution file
- `Terminal.sln.DotSettings` - ReSharper code style settings
- `.editorconfig` - Code formatting rules (111KB, extensive)
- `global.json` - .NET SDK version pinning
Expand Down
31 changes: 0 additions & 31 deletions Examples/FSharpExample/FSharpExample.sln

This file was deleted.

4 changes: 2 additions & 2 deletions Examples/UICatalog/Scenarios/Notepad.cs
Original file line number Diff line number Diff line change
Expand Up @@ -325,15 +325,15 @@ private void Quit ()

/// <summary>
/// Walks up the directory tree from the current directory looking for the repository root
/// (identified by Terminal.sln).
/// (identified by Terminal.slnx).
/// </summary>
private static string? FindRepoRoot ()
{
DirectoryInfo? dir = new (Environment.CurrentDirectory);

while (dir is { })
{
if (File.Exists (Path.Combine (dir.FullName, "Terminal.sln")))
if (File.Exists (Path.Combine (dir.FullName, "Terminal.slnx")))
{
return dir.FullName;
}
Expand Down
13 changes: 0 additions & 13 deletions NoSamples.slnf

This file was deleted.

13 changes: 0 additions & 13 deletions Release.slnf

This file was deleted.

8 changes: 4 additions & 4 deletions Scripts/CleanupAgent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function Invoke-ReSharperCleanup {

# Run cleanup on specific file using --include parameter
# Note: May show exceptions in output, but cleanup still completes successfully
jb cleanupcode "$RepoRoot\Terminal.sln" `
jb cleanupcode "$RepoRoot\Terminal.slnx" `
--profile="Full Cleanup" `
--include="$relativePath" `
--no-build `
Expand All @@ -115,7 +115,7 @@ function Get-ReSharperWarningCount {

Write-Status "Running ReSharper InspectCode to count warnings..."

jb inspectcode "$RepoRoot\Terminal.sln" `
jb inspectcode "$RepoRoot\Terminal.slnx" `
--output="$tempXml" `
--include="$includeList" `
--severity=WARNING `
Expand Down Expand Up @@ -149,7 +149,7 @@ function Get-BuildWarnings {

Write-Status "Analyzing build warnings..."

$buildOutput = dotnet build "$RepoRoot\Terminal.sln" --no-restore --configuration Debug --verbosity normal 2>&1 | Out-String
$buildOutput = dotnet build "$RepoRoot\Terminal.slnx" --no-restore --configuration Debug --verbosity normal 2>&1 | Out-String

if ($LASTEXITCODE -ne 0) {
Write-Status "Build failed" "Red"
Expand Down Expand Up @@ -308,7 +308,7 @@ function Add-CWPTodoComments {
function Invoke-RebuildSolution {
Write-Status "Rebuilding solution..."

dotnet build "$RepoRoot\Terminal.sln" --no-restore --configuration Debug --verbosity quiet 2>&1 | Out-Null
dotnet build "$RepoRoot\Terminal.slnx" --no-restore --configuration Debug --verbosity quiet 2>&1 | Out-Null

if ($LASTEXITCODE -ne 0) {
Write-Status "Build failed" "Red"
Expand Down
2 changes: 1 addition & 1 deletion Scripts/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Development and Design-Time PowerShell Modules
This directory contains PowerShell modules for use when working with Terminal.sln
This directory contains PowerShell modules for use when working with Terminal.slnx

### Purpose
These modules will be modifed and extended as time goes on, whenever someone decides to add something to make life easier.
Expand Down
10 changes: 5 additions & 5 deletions Scripts/Terminal.Gui.PowerShell.Core.psm1
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<#
.SYNOPSIS
(Windows Only) Opens Visual Studio and loads Terminal.sln.
(Windows Only) Opens Visual Studio and loads Terminal.slnx.
.DESCRIPTION
(Windows Only) Opens Visual Studio and loads Terminal.sln.
(Windows Only) Opens Visual Studio and loads Terminal.slnx.
.PARAMETER SolutionFilePath
(Optional) If specified, the path to the solution file. Typically unnecessary to supply this parameter.
.INPUTS
Expand Down Expand Up @@ -31,9 +31,9 @@ Function Open-Solution {

<#
.SYNOPSIS
(Windows Only) Closes Visual Studio processes with Terminal.sln loaded.
(Windows Only) Closes Visual Studio processes with Terminal.slnx loaded.
.DESCRIPTION
(Windows Only) Closes Visual Studio processes with Terminal.sln loaded by finding any VS processes launched with the solution file or with 'Terminal' in their main window titles.
(Windows Only) Closes Visual Studio processes with Terminal.slnx loaded by finding any VS processes launched with the solution file or with 'Terminal' in their main window titles.
.INPUTS
None
.OUTPUTS
Expand Down Expand Up @@ -66,7 +66,7 @@ Function Set-PowerShellEnvironment {
# Set up some common globals
New-Variable -Name ScriptsDirectory -Value $PSScriptRoot -Option ReadOnly -Scope Global -Visibility Public
New-Variable -Name RepositoryRootDirectory -Value (Join-Path -Resolve $ScriptsDirectory "..") -Option ReadOnly -Scope Global -Visibility Public
New-Variable -Name SolutionFilePath -Value (Join-Path -Resolve $RepositoryRootDirectory "Terminal.sln") -Option ReadOnly -Scope Global -Visibility Public
New-Variable -Name SolutionFilePath -Value (Join-Path -Resolve $RepositoryRootDirectory "Terminal.slnx") -Option ReadOnly -Scope Global -Visibility Public
New-Variable -Name TerminalGuiProjectDirectory -Value (Join-Path -Resolve $RepositoryRootDirectory "Terminal.Gui") -Option ReadOnly -Scope Global -Visibility Public
New-Variable -Name TerminalGuiProjectFilePath -Value (Join-Path -Resolve $TerminalGuiProjectDirectory "Terminal.Gui.csproj") -Option ReadOnly -Scope Global -Visibility Public

Expand Down
24 changes: 0 additions & 24 deletions Terminal.Gui/Terminal.Gui.sln

This file was deleted.

Loading
Loading