|
1 | 1 | // PSAppDeployToolkit default settings to ensure consistent code formatting and file encoding |
2 | 2 | { |
| 3 | + // Spelling Configuration |
| 4 | + "cSpell.userWords": [ |
| 5 | + "ABORTIFHUNG", |
| 6 | + "ADTMS", |
| 7 | + "ADTNT", |
| 8 | + "ADTPE", |
| 9 | + "ADTSCCM", |
| 10 | + "Appname", |
| 11 | + "Aptos", |
| 12 | + "bitness", |
| 13 | + "bluescreen", |
| 14 | + "Cascadia", |
| 15 | + "CONNECTSTATE", |
| 16 | + "defaultuser", |
| 17 | + "DESKTOPHORZRES", |
| 18 | + "DESKTOPVERTRES", |
| 19 | + "DONT", |
| 20 | + "ENABLEDPOPUP", |
| 21 | + "expandstring", |
| 22 | + "FILETIME", |
| 23 | + "fullscreen", |
| 24 | + "Gough", |
| 25 | + "hashtable", |
| 26 | + "HKCU", |
| 27 | + "HKCU", |
| 28 | + "HORZRES", |
| 29 | + "Hotfixes", |
| 30 | + "Hotfixes", |
| 31 | + "HWND", |
| 32 | + "HWNDFIRST", |
| 33 | + "HWNDLAST", |
| 34 | + "HWNDNEXT", |
| 35 | + "HWNDPREV", |
| 36 | + "Intune", |
| 37 | + "Lillis", |
| 38 | + "Listbox", |
| 39 | + "logpath", |
| 40 | + "lpdw", |
| 41 | + "Mashwani", |
| 42 | + "mmashwani", |
| 43 | + "Msiexec", |
| 44 | + "msimsg", |
| 45 | + "Offscrub", |
| 46 | + "Parameterset", |
| 47 | + "Passthru", |
| 48 | + "PSADT", |
| 49 | + "redistributables", |
| 50 | + "REINSTALLMODE", |
| 51 | + "Richters", |
| 52 | + "Robocopy", |
| 53 | + "Runspace", |
| 54 | + "SCCM", |
| 55 | + "SCCM", |
| 56 | + "schtasks", |
| 57 | + "scriptblock", |
| 58 | + "scriptblocks", |
| 59 | + "scriptblocks", |
| 60 | + "Segoe", |
| 61 | + "SETTINGCHANGE", |
| 62 | + "sintaxasn", |
| 63 | + "SMTO", |
| 64 | + "stubpath", |
| 65 | + "Timespan", |
| 66 | + "titlebar", |
| 67 | + "toolkits", |
| 68 | + "TRANSFORMSSECURE", |
| 69 | + "unbuilt", |
| 70 | + "uncentered", |
| 71 | + "usecase", |
| 72 | + "userbase", |
| 73 | + "VERTRES", |
| 74 | + "winsta", |
| 75 | + "WINSTATIONINFOCLASS", |
| 76 | + "WINSTATIONINFORMATIONW", |
| 77 | + "wtsapi", |
| 78 | + "Wusa" |
| 79 | + ], |
| 80 | + //-------- DotNet configuration -------- |
| 81 | + "dotnet.defaultSolution": "disable", |
| 82 | + "dotnet.preferCSharpExtension": true, |
3 | 83 | //-------- Indentation configuration -------- |
4 | 84 | "editor.detectIndentation": true, |
5 | 85 | "editor.formatOnPaste": true, |
6 | 86 | "editor.insertSpaces": false, |
7 | 87 | "editor.tabSize": 4, |
8 | | - |
9 | 88 | //-------- Files configuration -------- |
| 89 | + // Tries to guess the file encoding |
10 | 90 | "files.autoGuessEncoding": true, |
| 91 | + // Sets the file encoding to UTF8 with BOM |
11 | 92 | "files.encoding": "utf8bom", |
| 93 | + // Inserts a final new line at the end of the script |
12 | 94 | "files.insertFinalNewline": true, |
13 | | - |
14 | | - // When enabled, will trim trailing whitespace when you save a file. |
| 95 | + // Trims trailing whitespace when you save a file. |
15 | 96 | "files.trimTrailingWhitespace": true, |
16 | | - // specifies the location of the explicitly ScriptAnalyzer settings file |
17 | | - "powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1", |
18 | | - // specifies the PowerShell coding style used in this project (https://github.com/PoshCode/PowerShellPracticeAndStyle/issues/81) |
19 | | - "powershell.codeFormatting.preset": "Allman", |
| 97 | + //-------- PowerShell configuration -------- |
20 | 98 | "powershell.codeFormatting.alignPropertyValuePairs": false, |
| 99 | + // Specifies the PowerShell coding style used in this project (https://github.com/PoshCode/PowerShellPracticeAndStyle/issues/81) |
| 100 | + "powershell.codeFormatting.preset": "Allman", |
| 101 | + // Sets the default PowerShell version |
21 | 102 | "powershell.powerShellDefaultVersion": "Windows PowerShell (x64)", |
22 | | - "dotnet.preferCSharpExtension": true |
| 103 | + // Specifies the location, explicitly, of the ScriptAnalyzer settings file |
| 104 | + "powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1" |
23 | 105 | } |
0 commit comments