-
-
Notifications
You must be signed in to change notification settings - Fork 810
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to devcontainer configuration (#8823)
- Loading branch information
Showing
3 changed files
with
135 additions
and
106 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 |
---|---|---|
@@ -1,29 +1,38 @@ | ||
{ | ||
"name": "dbatools", | ||
"workspaceFolder": "/workspace", | ||
"dockerComposeFile": [ | ||
"docker-compose.yml" | ||
], | ||
"remoteEnv": { | ||
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}", | ||
"MY_SERVERS": "dbatools1,dbatools2,dbatools3", | ||
"MY_SERVER": "dbatools1" | ||
}, | ||
"service": "dbatools1", | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/usr/bin/pwsh" | ||
}, | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"name": "dbatools", | ||
"workspaceFolder": "/workspace", | ||
"dockerComposeFile": ["docker-compose.yml"], | ||
"remoteEnv": { | ||
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}", | ||
"MY_SERVERS": "dbatools1,dbatools2,dbatools3", | ||
"MY_SERVER": "dbatools1" | ||
}, | ||
"service": "dbatools1", | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-vscode.powershell", | ||
"ms-mssql.mssql", | ||
"github.vscode-pull-request-github", | ||
"2gua.rainbow-brackets", | ||
"usernamehw.errorlens", | ||
"oderwat.indent-rainbow", | ||
"mhutchie.git-graph", | ||
"usernamehw.errorlens" | ||
] | ||
// Uncomment the next line if you want to keep your containers running after VS Code shuts down. | ||
// "shutdownAction": "none", | ||
// Uncomment the next line to run commands after the container is created - for example installing curl. | ||
// "postCreateCommand": "apt-get update && apt-get install -y curl", | ||
} | ||
"wengerk.highlight-bad-chars", | ||
"streetsidesoftware.code-spell-checker" | ||
], | ||
"settings": { | ||
"terminal.integrated.profiles.linux": { | ||
"pwsh": { | ||
"path": "/opt/microsoft/powershell/7/pwsh", | ||
"icon": "terminal-powershell" | ||
} | ||
}, | ||
"terminal.integrated.defaultProfile.linux": "pwsh" | ||
} | ||
} | ||
} | ||
// Uncomment the next line if you want to keep your containers running after VS Code shuts down. | ||
// "shutdownAction": "none", | ||
// Uncomment the next line to run commands after the container is created - for example installing curl. | ||
// "postCreateCommand": "apt-get update && apt-get install -y curl", | ||
} |
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 |
---|---|---|
@@ -1,87 +1,104 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
// cleans up whitespace | ||
"files.trimTrailingWhitespace": true, | ||
// formatting style this project adheres to: https://en.wikipedia.org/wiki/Indentation_style#Variant:_1TBS_(OTBS) | ||
"powershell.codeFormatting.preset": "OTBS", | ||
// editor settings for formatting standards on this project | ||
// cleans up whitespace | ||
"files.trimTrailingWhitespace": true, | ||
// formatting style this project adheres to: https://en.wikipedia.org/wiki/Indentation_style#Variant:_1TBS_(OTBS) | ||
"powershell.codeFormatting.preset": "OTBS", | ||
// editor settings for formatting standards on this project | ||
// editor settings that will auto add the closing quote or curly brace | ||
"powershell.codeFormatting.useConstantStrings": false, | ||
// now your double clicks on a variable names include the dollar sign '$' | ||
// https://twitter.com/TylerLeonhardt/status/1102749805233737729 | ||
"[json]": { | ||
"editor.tabSize": 2 | ||
}, | ||
"[yaml]": { | ||
"editor.insertSpaces": true, | ||
"editor.tabSize": 2, | ||
"diffEditor.ignoreTrimWhitespace": false, | ||
"gitlens.codeLens.scopes": [ | ||
"document" | ||
], | ||
"editor.quickSuggestions": { | ||
"other": true, | ||
"comments": false, | ||
"strings": true | ||
} | ||
}, | ||
"[powershell]": { | ||
"diffEditor.ignoreTrimWhitespace": false, | ||
"editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?", | ||
"editor.tabSize": 4, | ||
"editor.detectIndentation": false, | ||
"editor.insertSpaces": true, | ||
"editor.formatOnSave": false, | ||
// editor settings that will auto add the closing quote or curly brace | ||
"editor.autoClosingBrackets": "always", | ||
"editor.autoClosingQuotes": "always", | ||
"editor.autoSurround": "languageDefined", | ||
"powershell.codeFormatting.useConstantStrings": false, | ||
// now your double clicks on a variable names include the dollar sign '$' | ||
// https://twitter.com/TylerLeonhardt/status/1102749805233737729 | ||
"[powershell]": { | ||
"editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?" | ||
}, | ||
"powershell.scriptAnalysis.settingsPath": "bin\\PSScriptAnalyzerRules.psd1", | ||
"powershell.codeFormatting.addWhitespaceAroundPipe": true, | ||
"cSpell.words": [ | ||
"Aduck", | ||
"Andreas", | ||
"Bargsley", | ||
"Benner", | ||
"Bizzotto", | ||
"Boggiano", | ||
"Brodeur", | ||
"CHECKDB", | ||
"Ciucu", | ||
"cjsommer", | ||
"Cown", | ||
"DBCC", | ||
"dgmyrs", | ||
"DISA", | ||
"erinstellato", | ||
"Fleitas", | ||
"fleitasarts", | ||
"Furgiuele", | ||
"gbargsley", | ||
"hiramfleitas", | ||
"ifexists", | ||
"ISNULL", | ||
"Jakob", | ||
"jaxnoth", | ||
"jbruns", | ||
"jpomfret", | ||
"Kehayias", | ||
"Kendal", | ||
"Kirill", | ||
"Klaas", | ||
"Kokkinos", | ||
"Kravtsov", | ||
"Mikey", | ||
"nchar", | ||
"niphlod", | ||
"ntext", | ||
"nvarscar", | ||
"Ordix", | ||
"pittfurg", | ||
"PKCS", | ||
"Pollus", | ||
"randomizer", | ||
"richiebzzzt", | ||
"Samuelsson", | ||
"securables", | ||
"serg", | ||
"SMIME", | ||
"Spid", | ||
"Spids", | ||
"SQLDB", | ||
"sqlpadawan", | ||
"sqlstad", | ||
"SSDT", | ||
"Stad", | ||
"Stellato's", | ||
"STIG", | ||
"Tepp", | ||
"Vandenberghe", | ||
"Viorel", | ||
"Wsfc", | ||
"wsmelton" | ||
] | ||
} | ||
"editor.autoSurround": "languageDefined" | ||
}, | ||
"powershell.scriptAnalysis.settingsPath": "bin\\PSScriptAnalyzerRules.psd1", | ||
"powershell.codeFormatting.addWhitespaceAroundPipe": true, | ||
"cSpell.words": [ | ||
"Aduck", | ||
"Andreas", | ||
"Bargsley", | ||
"Benner", | ||
"Bizzotto", | ||
"Boggiano", | ||
"Brodeur", | ||
"CHECKDB", | ||
"Ciucu", | ||
"cjsommer", | ||
"Cown", | ||
"DBCC", | ||
"dgmyrs", | ||
"DISA", | ||
"erinstellato", | ||
"Fleitas", | ||
"fleitasarts", | ||
"Furgiuele", | ||
"gbargsley", | ||
"hiramfleitas", | ||
"ifexists", | ||
"ISNULL", | ||
"Jakob", | ||
"jaxnoth", | ||
"jbruns", | ||
"jpomfret", | ||
"Kehayias", | ||
"Kendal", | ||
"Kirill", | ||
"Klaas", | ||
"Kokkinos", | ||
"Kravtsov", | ||
"Mikey", | ||
"nchar", | ||
"niphlod", | ||
"ntext", | ||
"nvarscar", | ||
"Ordix", | ||
"pittfurg", | ||
"PKCS", | ||
"Pollus", | ||
"randomizer", | ||
"richiebzzzt", | ||
"Samuelsson", | ||
"securables", | ||
"serg", | ||
"SMIME", | ||
"Spid", | ||
"Spids", | ||
"SQLDB", | ||
"sqlpadawan", | ||
"sqlstad", | ||
"SSDT", | ||
"Stad", | ||
"Stellato's", | ||
"STIG", | ||
"Tepp", | ||
"Vandenberghe", | ||
"Viorel", | ||
"Wsfc", | ||
"wsmelton" | ||
] | ||
} |