From 93676fd7b907af78fcb2294fcf1849fa2b2a712c Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 23 Aug 2024 15:34:18 +0100 Subject: [PATCH] Add PowerShell formatting options --- roles/home-gui/files/vscode-settings.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/roles/home-gui/files/vscode-settings.json b/roles/home-gui/files/vscode-settings.json index ed3799b..7fdb7a1 100644 --- a/roles/home-gui/files/vscode-settings.json +++ b/roles/home-gui/files/vscode-settings.json @@ -21,7 +21,13 @@ "json.schemaDownload.enable": false, "markdown.preferredMdPathExtensionStyle": "includeExtension", "npm.fetchOnlinePackageInfo": false, + "powershell.codeFormatting.autoCorrectAliases": true, + "powershell.codeFormatting.avoidSemicolonsAsLineTerminators": true, "powershell.codeFormatting.preset": "OTBS", + "powershell.codeFormatting.trimWhitespaceAroundPipe": true, + "powershell.codeFormatting.useConstantStrings": true, + "powershell.codeFormatting.useCorrectCasing": true, + "powershell.codeFormatting.whitespaceBetweenParameters": true, "powershell.integratedConsole.showOnStartup": false, "search.quickOpen.includeHistory": false, "security.workspace.trust.banner": "never", @@ -33,14 +39,13 @@ "terminal.integrated.shellIntegration.history": 0, "update.mode": "manual", "update.showReleaseNotes": false, + "window.newWindowDimensions": "maximized", "window.openFilesInNewWindow": "on", "window.restoreWindows": "none", - "workbench.editor.untitled.hint": "hidden", + "workbench.colorTheme": "Default Light Modern", "workbench.enableExperiments": false, "workbench.localHistory.enabled": false, "workbench.localHistory.maxFileEntries": 0, "workbench.settings.enableNaturalLanguageSearch": false, - "workbench.startupEditor": "newUntitledFile", - "window.newWindowDimensions": "maximized", - "workbench.colorTheme": "Default Light Modern" + "workbench.startupEditor": "newUntitledFile" }