Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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
4 changes: 0 additions & 4 deletions 4 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ gen
# Per repo profile
.profile.ps1

#VS Code files
.vscode

# macOS
.DS_Store

Expand All @@ -68,4 +65,3 @@ TestsResults*.xml

# Resharper settings
PowerShell.sln.DotSettings.user

11 changes: 11 additions & 0 deletions 11 .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub don't like Json comments. I see https://stackoverflow.com/questions/244777/can-comments-be-used-in-json

Should we remove the comments or convert in another form?

@rkeithhill rkeithhill Nov 15, 2017

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps but it didn't stop the VSCode team from checking in json with comments: https://github.com/Microsoft/vscode/blob/master/.vscode/extensions.json
https://github.com/Microsoft/vscode/blob/master/tslint.json

And that comment is the default comment added when you run the Extensions: Configure Recommended Extensions command in VSCode.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If VS Code understands it, I'll merge.

"ms-vscode.cpptools",
"ms-vscode.csharp",
"ms-vscode.PowerShell",
"twxs.cmake",
"DavidAnson.vscode-markdownlint"
]
}
18 changes: 18 additions & 0 deletions 18 .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,24 @@
"request": "attach",
"justMyCode": false,
"processId": "${command:pickProcess}"
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File",
"script": "${file}",
"args": [],
"cwd": "${file}"
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File w/Args Prompt",
"script": "${file}",
"args": [
"${command:SpecifyScriptArgs}"
],
"cwd": "${file}"
}
]
}
22 changes: 22 additions & 0 deletions 22 .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Place your settings in this file to overwrite default and user settings.
{
"editor.tabSize": 4,
"editor.insertSpaces": true,

"files.insertFinalNewline": true,

// Based on current .markdownlist.json settings:
// https://github.com/PowerShell/PowerShell/blob/master/.markdownlint.json
"markdownlint.config": {
"MD004": false,
"MD024": false,
"MD033": false,
"MD034": false,
"MD038": false,
"MD042": false
},

"[powershell]": {
"files.trimTrailingWhitespace": true
}
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.