forked from PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add standard set of vscode workspace setting files (PowerShell#5457)
* Add standard set of vscode workspace setting files Add an extensions.json file that will prompt folks to install extensions that are recommended for this workspace (c++, c#, powershell, cmake (editing syntax) and markdown linter. Add settings.json to start to configure C# syntax, PoweShell trim trailing whitespace and configure the markdown lint extension. Update launch.json to provide ability to debug PowerShell scripts. * Clean up grammar * Instruct VSCode to ensure a final newline. If this is not wanted for certain file types, we can restrict this option to only specified file types.
- Loading branch information
1 parent
1962c27
commit cef7762
Showing
4 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": [ | ||
"ms-vscode.cpptools", | ||
"ms-vscode.csharp", | ||
"ms-vscode.PowerShell", | ||
"twxs.cmake", | ||
"DavidAnson.vscode-markdownlint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |