From 0b67b20009ce641f30a0180ffa4814f7eb03efa1 Mon Sep 17 00:00:00 2001 From: "Edward M. Kagan" Date: Tue, 2 Mar 2021 01:12:29 +0300 Subject: [PATCH] Fixed workspace to use redhat formatters for xml and yaml - good stuff anyway --- traqtor.code-workspace | 61 +++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 31 deletions(-) diff --git a/traqtor.code-workspace b/traqtor.code-workspace index da3b4b5..f4c55b8 100644 --- a/traqtor.code-workspace +++ b/traqtor.code-workspace @@ -7,36 +7,35 @@ "settings": { "java.configuration.updateBuildConfiguration": "automatic", "editor.formatOnSave": true, - "editor.defaultFormatter": "redhat.java", - "editor.rulers": [ - 120 - ], - "workbench.colorCustomizations": { - "editorRuler.foreground": "#AA5C39" - }, - "files.exclude": { - "**/.devt": true, - "config": true, - "v1": true, - "script": true, - "source": true, - }, - "javascript.format.enable": true, - "java.dependency.packagePresentation": "hierarchical", - "java.dependency.showMembers": true, - "java.dependency.syncWithFolderExplorer": false, - "maven.executable.preferMavenWrapper": false, - "java.format.settings.url": ".vscode/formatting.xml", - "java.format.settings.profile": "2pm.tech", - "maven.terminal.favorites": [ - { - "alias": "format", - "command": "formatter:format" - } - ], - "[xml]": { - "editor.defaultFormatter": "redhat.vscode-xml" - } + "editor.rulers": [120], + "workbench.colorCustomizations": { + "editorRuler.foreground": "#AA5C39" + }, + "javascript.format.enable": true, + "java.dependency.packagePresentation": "hierarchical", + "java.dependency.showMembers": true, + "java.maven.downloadSources": true, + "java.format.enabled": true, + // "java.format.onType.enabled": true, + "java.dependency.syncWithFolderExplorer": false, + "maven.executable.preferMavenWrapper": false, + "java.format.settings.url": ".vscode/formatting.xml", + "java.format.settings.profile": "2pm.tech", + "maven.terminal.favorites": [ + { + "alias": "format", + "command": "formatter:format" + } + ], + "editor.defaultFormatter": "esbenp.prettier-vscode", + "[xml]": { + "editor.defaultFormatter": "redhat.vscode-xml" + }, + "[java]": { + "editor.defaultFormatter": "redhat.java" + }, + "[yaml]": { + "editor.defaultFormatter": "redhat.vscode-yaml" + } } - }