-
-
Notifications
You must be signed in to change notification settings - Fork 812
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into git-status-cache
- Loading branch information
Showing
20 changed files
with
975 additions
and
344 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
insert_final_newline = true | ||
|
||
[*.{ps1,psd1,psm1}] | ||
trim_trailing_whitespace = true |
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,13 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "PowerShell", | ||
"request": "launch", | ||
"name": "PowerShell Launch (current file)", | ||
"script": "${file}", | ||
"args": [], | ||
"cwd": "${file}" | ||
} | ||
] | ||
} |
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,4 @@ | ||
{ | ||
"editor.rulers": [ 120 ], | ||
"powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1" | ||
} |
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,66 @@ | ||
// Available variables which can be used inside of strings. | ||
// ${workspaceRoot}: the root folder of the team | ||
// ${file}: the current opened file | ||
// ${relativeFile}: the current opened file relative to workspaceRoot | ||
// ${fileBasename}: the current opened file's basename | ||
// ${fileDirname}: the current opened file's dirname | ||
// ${fileExtname}: the current opened file's extension | ||
// ${cwd}: the current working directory of the spawned process | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "0.1.0", | ||
|
||
// Start PowerShell | ||
"windows": { | ||
"command": "${env.windir}\\sysnative\\windowspowershell\\v1.0\\PowerShell.exe" | ||
}, | ||
"linux": { | ||
"command": "/usr/bin/powershell" | ||
}, | ||
"osx": { | ||
"command": "/usr/local/bin/powershell" | ||
}, | ||
|
||
// The command is a shell script | ||
"isShellCommand": true, | ||
|
||
// Show the output window always | ||
"showOutput": "always", | ||
|
||
"args": [ | ||
"-NoProfile", "-ExecutionPolicy", "Bypass" | ||
], | ||
|
||
// Associate with test task runner | ||
"tasks": [ | ||
{ | ||
"taskName": "Test", | ||
"suppressTaskName": true, | ||
"isTestCommand": true, | ||
"showOutput": "always", | ||
"args": [ | ||
"Write-Host 'Invoking Pester'; Invoke-Pester test -PesterOption @{IncludeVSCodeMarker=$true};", | ||
"Invoke-Command { Write-Host 'Completed Test task in task runner.' }" | ||
], | ||
"problemMatcher": [ | ||
{ | ||
"owner": "powershell", | ||
"fileLocation": ["absolute"], | ||
"severity": "error", | ||
"pattern": [ | ||
{ | ||
"regexp": "^\\s*(\\[-\\]\\s*.*?)(\\d+)ms\\s*$", | ||
"message": 1 | ||
}, | ||
{ | ||
"regexp": "^\\s+at\\s+[^,]+,\\s*(.*?):\\s+line\\s+(\\d+)$", | ||
"file": 1, | ||
"line": 2 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.