Git ignore local-user-specific VSCode settings#78
Git ignore local-user-specific VSCode settings#78bravo-kernel wants to merge 1 commit intoPoshCode:masterfrom
Conversation
|
The settings in that settings file are there to enforce code style across the project though, not some random personal user settings. |
|
@scrthq the single file that I am excluding here ( |
|
Editor config does not let you set the PSScript Analyzed custom rules, right? |
|
This is not my own idea either btw, most large repos follow this solution, all to smoothen the contribution process, something I hope we can accomplish here as well, see the template PR. Hope this clarifies things. ps: I totally agree that better Powershell enforcement is needed in general BTW. Especially when comparing with the tooling that is out there for js, php and all others (take |
|
There's 2 |
|
@ChrisLGardner it looks like you are correct, strikethrough applied above. The other points are still valid IMO. Here's my {
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"editor.tabSize": 4,
"editor.insertSpaces": true,
"files.encoding": "utf8",
"powershell.codeFormatting.preset": "OTBS",
"powershell.codeFormatting.ignoreOneLineBlock": false,
"powershell.codeFormatting.newLineAfterCloseBrace": false,
"files.associations": {
"*.ps1xml": "xml"
},
"workbench.colorCustomizations": {
"activityBar.background": "#0A342F",
"titleBar.activeBackground": "#0F4841",
"titleBar.activeForeground": "#F3FDFC"
}
}ps: good to see so much feedback, means eyes are on this place |
|
If you want to change the local repo copy of the settings.json but don't want to commit it then you can use |
|
Yes, of course that will also do the job and by reading the feedback I now think it might actually the best solution for this repo, you folks seems adequate enough to handle this as you see fit. Thus closing this PR. I was thinking from the end-user perspective but those will most likely only be focussed on/using the files produced by the template which can have their own settings.
|
.vscode/settings.jsonas these contain local-user settings (and should not be in the repo)