Skip to content

Commit a72ad5e

Browse files
authored
Merge pull request #61 from CodinGame/update-extensions
Update extensions
2 parents 19b0de7 + 2f0a7a7 commit a72ad5e

29 files changed

+756
-158
lines changed

src/languages/extensions/configurations/cpptools.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@
146146
},
147147
"scope": 4
148148
},
149+
"C_Cpp.codeAnalysis.clangTidy.codeAction.formatFixes": {
150+
"type": "boolean",
151+
"description": "If `true`, formatting will be run on the lines changed by 'Fix' code actions.",
152+
"default": true,
153+
"scope": 4
154+
},
149155
"C_Cpp.codeAnalysis.clangTidy.codeAction.showClear": {
150156
"type": "string",
151157
"description": "Controls which 'Clear' code analysis problem code action options are available. Changing the setting to show more options may require re-running code analysis.",
@@ -1328,7 +1334,7 @@
13281334
"C_Cpp.clang_format_style": {
13291335
"type": "string",
13301336
"default": "file",
1331-
"markdownDescription": "Coding style, currently supports: `Visual Studio`, `LLVM`, `Google`, `Chromium`, `Mozilla`, `WebKit`, `Microsoft`, `GNU`. Use `file` to load the style from a `.clang-format` file in the current or parent directory. Use `{key: value, ...}` to set specific parameters. For example, the `Visual Studio` style is similar to: `{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }`.",
1337+
"markdownDescription": "Coding style, currently supports: `Visual Studio`, `LLVM`, `Google`, `Chromium`, `Mozilla`, `WebKit`, `Microsoft`, `GNU`. Use `file` to load the style from a `.clang-format` file in the current or parent directory, or use `file:<path>/.clang-format` to reference a specific path. Use `{key: value, ...}` to set specific parameters. For example, the `Visual Studio` style is similar to: `{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }`.",
13321338
"scope": 4
13331339
},
13341340
"C_Cpp.formatting": {
@@ -2054,6 +2060,24 @@
20542060
"markdownDescription": "If `true`, tooltips of hover and auto-complete will only display certain labels of structured comments. Otherwise, all comments are displayed.",
20552061
"scope": 1
20562062
},
2063+
"C_Cpp.doxygen.generateOnType": {
2064+
"type": "boolean",
2065+
"default": true,
2066+
"description": "Controls whether to automatically insert the Doxygen comment after typing the chosen comment style.",
2067+
"scope": 4
2068+
},
2069+
"C_Cpp.doxygen.generatedStyle": {
2070+
"type": "string",
2071+
"enum": [
2072+
"///",
2073+
"/**",
2074+
"/*!",
2075+
"//!"
2076+
],
2077+
"default": "///",
2078+
"description": "The string of characters used as the starting line of the Doxygen comment.",
2079+
"scope": 4
2080+
},
20572081
"C_Cpp.commentContinuationPatterns": {
20582082
"type": "array",
20592083
"default": [

src/languages/extensions/configurations/dart.json

Lines changed: 43 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@
9090
"description": "Whether to show TODOs in the Problems list.",
9191
"scope": 3
9292
},
93-
"dart.useLsp": {
93+
"dart.useLegacyAnalyzerProtocol": {
9494
"type": "boolean",
95-
"default": true,
96-
"markdownDescription": "Whether to run the analyzer in [LSP mode](https://microsoft.github.io/language-server-protocol/). Some features are not supported if this setting is disabled and in a future release LSP will be the only supported option.",
95+
"default": false,
96+
"markdownDescription": "Whether to use the Dart Analyzer's original protocol instead of LSP. Some features are not supported when using the legacy protocol and support for it will eventually be removed. Please file issues on GitHub in the Dart-Code repo if you find yourself needing to enable this setting.",
9797
"scope": 3
9898
}
9999
}
@@ -187,13 +187,28 @@
187187
"markdownDescription": "Whether to show notifications for widget errors that offer Inspect Widget links. This requires that the `#dart.shareDevToolsWithFlutter#` setting is also enabled.",
188188
"scope": 3
189189
},
190-
"dart.customDevToolsUri": {
191-
"type": [
192-
"null",
193-
"string"
194-
],
195-
"default": null,
196-
"description": "A custom URI to use for launching DevTools. This setting is intended for use by Dart DevTools developers.",
190+
"dart.customDevTools": {
191+
"type": "object",
192+
"properties": {
193+
"script": {
194+
"type": "string",
195+
"default": "/path/to/devtools/tool/build_e2e.dart",
196+
"description": "The script or command that runs the DevTools server. This will be supplied to the `dart` executable (for example `dart devtools` or `dart /foo/devtools.dart`)."
197+
},
198+
"cwd": {
199+
"type": "string",
200+
"default": "/path/to/devtools",
201+
"description": "The working directory to spawn the command in."
202+
},
203+
"env": {
204+
"type": "object",
205+
"default": {
206+
"LOCAL_DART_SDK": "/path/to/dart-sdk"
207+
},
208+
"description": "Any environment variables to set when spawning the command."
209+
}
210+
},
211+
"description": "Custom settings for launching DevTools. This setting is intended for use by Dart DevTools developers.",
197212
"scope": 6
198213
}
199214
}
@@ -724,9 +739,18 @@
724739
}
725740
},
726741
"dart.runPubGetOnPubspecChanges": {
727-
"type": "boolean",
728-
"default": true,
729-
"markdownDescription": "Whether to automatically run `pub get` whenever `pubspec.yaml` is saved.",
742+
"enum": [
743+
"always",
744+
"prompt",
745+
"never"
746+
],
747+
"enumDescriptions": [
748+
"Always run when pubspec is changed",
749+
"Prompt to run when pubspec is changed",
750+
"Never run when pubspec is changed"
751+
],
752+
"default": "always",
753+
"markdownDescription": "Whether to run `pub get` whenever `pubspec.yaml` is saved.",
730754
"scope": 4
731755
},
732756
"dart.runPubGetOnNestedProjects": {
@@ -1020,12 +1044,6 @@
10201044
"description": "Whether to normalize file casings before sending them to the LSP server. This may fix issues with file_names lints not disappearing after renaming a file if the VS Code API continues to use the original casing.",
10211045
"scope": 3
10221046
},
1023-
"dart.previewBazelWorkspaceCustomScripts": {
1024-
"type": "boolean",
1025-
"default": false,
1026-
"markdownDescription": "EXPERIMENTAL: Whether to look for custom script definitions at `dart/config/ide/flutter.json` in Bazel workspaces. Currently supported for macOS and Linux only.",
1027-
"scope": 3
1028-
},
10291047
"dart.daemonPort": {
10301048
"type": "number",
10311049
"default": false,
@@ -1057,9 +1075,12 @@
10571075
"scope": 3
10581076
},
10591077
"dart.previewSdkDaps": {
1060-
"type": "boolean",
1061-
"default": false,
1062-
"markdownDescription": "PREVIEW: Whether to use the new debug adapters shipped in the Dart and Flutter SDKs. This setting will only apply if your SDK is new enough to include an appropriate version of the DAP server.",
1078+
"type": [
1079+
"null",
1080+
"boolean"
1081+
],
1082+
"default": null,
1083+
"markdownDescription": "PREVIEW: Whether to use the new debug adapters shipped in the Dart and Flutter SDKs. This setting will only apply if your SDK is new enough to include an appropriate version of the DAP server. Setting the value to `true` will opt-in to the new DAPs. Setting to `false` will opt-out. Leaving as `null` will allow the extension to decide when to enable the SDK DAPs as part of a progressive rollout.",
10631084
"scope": 3
10641085
}
10651086
}

src/languages/extensions/configurations/java.json

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"string",
2828
"null"
2929
],
30-
"default": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m",
31-
"description": "Specifies extra VM arguments used to launch the Java Language Server. Eg. use `-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m ` to optimize memory usage with the parallel garbage collector",
30+
"default": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:jni+resolve=off",
31+
"description": "Specifies extra VM arguments used to launch the Java Language Server. Eg. use `-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:jni+resolve=off` to optimize memory usage with the parallel garbage collector",
3232
"scope": 6
3333
},
3434
"java.errors.incompleteClasspath.severity": {
@@ -82,6 +82,12 @@
8282
"description": "Enable/disable the Maven importer.",
8383
"scope": 3
8484
},
85+
"java.import.maven.offline.enabled": {
86+
"type": "boolean",
87+
"default": false,
88+
"description": "Enable/disable the Maven offline mode.",
89+
"scope": 3
90+
},
8591
"java.import.gradle.enabled": {
8692
"type": "boolean",
8793
"default": true,
@@ -110,7 +116,7 @@
110116
"type": "string",
111117
"default": null,
112118
"description": "The location to the JVM used to run the Gradle daemon.",
113-
"scope": 2
119+
"scope": 6
114120
},
115121
"java.import.gradle.offline.enabled": {
116122
"type": "boolean",
@@ -744,6 +750,29 @@
744750
"default": true,
745751
"description": "Whether to load lombok processors from project classpath",
746752
"scope": 3
753+
},
754+
"java.jdt.ls.protobufSupport.enabled": {
755+
"type": "boolean",
756+
"default": true,
757+
"markdownDescription": "Specify whether to automatically add Protobuf output source directories to the classpath.\n\n**Note:** Only works for Gradle `com.google.protobuf` plugin `0.8.4` or higher.",
758+
"scope": 3
759+
},
760+
"java.jdt.ls.androidSupport.enabled": {
761+
"type": "string",
762+
"enum": [
763+
"auto",
764+
"on",
765+
"off"
766+
],
767+
"default": "auto",
768+
"markdownDescription": "[Experimental] Specify whether to enable Android project importing. When set to `auto`, the Android support will be enabled in Visual Studio Code - Insiders.\n\n**Note:** Only works for Android Gradle Plugin `3.2.0` or higher.",
769+
"scope": 3
770+
},
771+
"java.codeAction.sortMembers.avoidVolatileChanges": {
772+
"type": "boolean",
773+
"default": true,
774+
"description": "Reordering of fields, enum constants, and initializers can result in semantic and runtime changes due to different initialization and persistence order. This setting prevents this from occurring.",
775+
"scope": 3
747776
}
748777
}
749778
}

0 commit comments

Comments
 (0)