From e0e3212f132908bb8733fa3618c139049691b670 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 30 Aug 2020 12:16:23 +0200 Subject: [PATCH] Added VSCode JS formatting settings --- .vscode/settings.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 5285d89e..cf649d9a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,10 @@ { - "phpserver.relativePath": "public" + "phpserver.relativePath": "public", + "editor.formatOnType": true, + "editor.formatOnPaste": true, + "editor.formatOnSave": true, + "javascript.format.placeOpenBraceOnNewLineForControlBlocks": true, + "javascript.format.placeOpenBraceOnNewLineForFunctions": true, + "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, + "javascript.preferences.quoteStyle": "double" }