Skip to content
Open
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
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ bin/
obj/
publish/
*.sln
*.slnx

# IDE support (keep locally, don't track)
/.vs/
/.vscode/
*.user
*.suo
*.sln.DotSettings
Expand Down
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"ms-dotnettools.csdevkit",
"ms-dotnettools.csharp",
"ms-vscode.powershell"
]
}
40 changes: 40 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
// Single debug profile that prompts for a sample command at launch.
// Add new scenarios by appending an option to the "sampleCommand" input below.
"version": "0.2.0",
"inputs": [
{
"id": "sampleCommand",
"type": "pickString",
"description": "Sample command to run after importing the module",
"default": "Get-Process | Out-ConsoleGridView -Debug",
"options": [
"Get-Process | Out-ConsoleGridView -Debug",
"Get-Process | Select-Object ProcessName, Id, CPU | Out-ConsoleGridView -Debug -Filter com",
"Get-Process | Out-ConsoleGridView -MinUi",
"Get-Process | Select-Object ProcessName, Id, Handles, NPM, PM, WS, CPU | Out-ConsoleGridView",
"Get-ChildItem | Out-ConsoleGridView -OutputMode Single",
"Get-Process | Show-ObjectTree"
]
}
],
"configurations": [
{
"name": "ConsoleGuiTools",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "pwsh",
"args": [
"-NoProfile",
"-NoLogo",
"-NoExit",
"-Command",
"Import-Module ${workspaceFolder}/module/Microsoft.PowerShell.ConsoleGuiTools.psd1; ${input:sampleCommand}"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"stopAtEntry": false
}
]
}
60 changes: 60 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"detail": "Build module via Invoke-Build (copies to ./module/)",
"type": "process",
"command": "pwsh",
"args": [
"-NoProfile",
"-Command",
"Invoke-Build Build"
],
"options": {
"cwd": "${workspaceFolder}"
},
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "silent",
"panel": "shared",
"clear": true
},
"problemMatcher": "$msCompile"
},
{
"label": "test",
"detail": "Run xunit tests via dotnet test (resolves GraphicalTools.slnx)",
"type": "process",
"command": "dotnet",
"args": [
"test"
],
"options": {
"cwd": "${workspaceFolder}"
},
"group": {
"kind": "test",
"isDefault": true
},
"problemMatcher": "$msCompile"
},
{
"label": "clean",
"type": "process",
"command": "pwsh",
"args": [
"-NoProfile",
"-Command",
"Invoke-Build Clean"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
}
]
}
113 changes: 0 additions & 113 deletions GraphicalTools.sln

This file was deleted.

5 changes: 5 additions & 0 deletions GraphicalTools.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Solution>
<Project Path="src/Microsoft.PowerShell.ConsoleGuiTools/Microsoft.PowerShell.ConsoleGuiTools.csproj" />
<Project Path="src/Microsoft.PowerShell.OutGridView.Models/Microsoft.PowerShell.OutGridView.Models.csproj" />
<Project Path="test/Microsoft.PowerShell.ConsoleGuiTools.Tests/Microsoft.PowerShell.ConsoleGuiTools.Tests.csproj" />
</Solution>
3 changes: 0 additions & 3 deletions tools/ide/.vscode/settings.json

This file was deleted.

40 changes: 0 additions & 40 deletions tools/ide/launchSettings.json

This file was deleted.

82 changes: 0 additions & 82 deletions tools/initDevEnvironment.ps1

This file was deleted.