Skip to content

Commit 2d15fe2

Browse files
authored
Merge pull request #23 from CodinGame/add-solidity
Add solidity language
2 parents cfd646b + 27844d9 commit 2d15fe2

28 files changed

Lines changed: 2161 additions & 125 deletions

package-lock.json

Lines changed: 29 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"delay": ">=5.0.0",
2525
"monaco-editor": "npm:@codingame/monaco-editor@^0.33.0",
2626
"monaco-emacs": "^0.3.0",
27-
"monaco-vim": "^0.2.2",
27+
"monaco-vim": "^0.3.0",
2828
"vscode-oniguruma": "^1.6.2"
2929
},
3030
"devDependencies": {
@@ -36,7 +36,7 @@
3636
"@babel/runtime": "7.17.8",
3737
"@rollup/plugin-alias": "3.1.9",
3838
"@rollup/plugin-babel": "5.3.1",
39-
"@rollup/plugin-commonjs": "21.0.2",
39+
"@rollup/plugin-commonjs": "21.0.3",
4040
"@rollup/plugin-eslint": "8.0.1",
4141
"@rollup/plugin-json": "4.1.0",
4242
"@rollup/plugin-node-resolve": "13.1.3",
@@ -50,7 +50,7 @@
5050
"conventional-changelog-conventionalcommits": "^4.6.3",
5151
"cson-parser": "4.0.9",
5252
"deep-equal": "2.0.5",
53-
"eslint": "8.11.0",
53+
"eslint": "8.12.0",
5454
"eslint-config-standard": "16.0.3",
5555
"eslint-config-standard-jsx": "10.0.0",
5656
"eslint-plugin-import": "2.25.4",
@@ -71,7 +71,7 @@
7171
"rollup-plugin-web-worker-loader": "1.6.1",
7272
"ts-node": "10.7.0",
7373
"tslib": "^2.3.1",
74-
"typescript": "4.6.2",
74+
"typescript": "4.6.3",
7575
"vscode-languageserver-protocol": "3.16.0",
7676
"vscode-textmate": "6.0.0",
7777
"yaml": "1.10.2"

src/languages/extensions/configurations/cpptools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2316,7 +2316,7 @@
23162316
"tags": [
23172317
"experimental"
23182318
],
2319-
"description": "Show the Run and Debug play button in the editor title bar for C++ files",
2319+
"description": "Show the Run and Debug play button in the editor title bar for C++ files.",
23202320
"scope": 1
23212321
}
23222322
}

src/languages/extensions/configurations/dart.json

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[
22
{
33
"title": "Analyzer",
4+
"order": 1,
45
"properties": {
56
"dart.additionalAnalyzerFileExtensions": {
67
"type": "array",
@@ -99,6 +100,7 @@
99100
},
100101
{
101102
"title": "DevTools",
103+
"order": 1,
102104
"properties": {
103105
"dart.updateDevTools": {
104106
"type": "boolean",
@@ -180,6 +182,7 @@
180182
},
181183
{
182184
"title": "Editor",
185+
"order": 1,
183186
"properties": {
184187
"dart.analysisServerFolding": {
185188
"type": "boolean",
@@ -321,6 +324,7 @@
321324
},
322325
{
323326
"title": "Flutter",
327+
"order": 1,
324328
"properties": {
325329
"dart.flutterAdbConnectOnChromeOs": {
326330
"type": "boolean",
@@ -504,12 +508,6 @@
504508
"markdownDescription": "When to show the Flutter headless web-server device. This requires using the Dart Debug extension for Chrome and is usually only used for remote environments where Chrome is not available such as browser/cloud-based IDEs (requires restart).",
505509
"scope": 3
506510
},
507-
"dart.flutterStructuredErrors": {
508-
"type": "boolean",
509-
"default": true,
510-
"markdownDescription": "Whether to use Flutter's [structured error support](https://medium.com/flutter/improving-flutters-error-messages-e098513cecf9) for improved error display.",
511-
"scope": 4
512-
},
513511
"dart.flutterTestAdditionalArgs": {
514512
"type": "array",
515513
"default": [],
@@ -544,6 +542,7 @@
544542
},
545543
{
546544
"title": "Logging",
545+
"order": 1,
547546
"properties": {
548547
"dart.analyzerInstrumentationLogFile": {
549548
"type": [
@@ -654,6 +653,7 @@
654653
},
655654
{
656655
"title": "Pub",
656+
"order": 1,
657657
"properties": {
658658
"dart.promptToGetPackages": {
659659
"type": "boolean",
@@ -680,6 +680,7 @@
680680
},
681681
{
682682
"title": "Run and Debug",
683+
"order": 1,
683684
"properties": {
684685
"dart.buildRunnerAdditionalArgs": {
685686
"type": "array",
@@ -779,7 +780,7 @@
779780
"Suppress test timeouts both when Running and Debugging"
780781
],
781782
"default": "never",
782-
"markdownDescription": "Whether to suppress test timeouts when running/debugging tests. This currently works by increasing the default timeout to 1d but will not affect tests that have explicit (non-factor) timeouts set with @timeout.",
783+
"markdownDescription": "Whether to suppress test timeouts when running/debugging tests. To work properly this requires package:test version 1.20.1 or newer. For older versions, the default timeout will be increased to 1d but this will not affect tests that have explicit (non-factor) timeouts set with @timeout.",
783784
"scope": 4
784785
},
785786
"dart.cliAdditionalArgs": {
@@ -813,6 +814,7 @@
813814
},
814815
{
815816
"title": "SDK",
817+
"order": 1,
816818
"properties": {
817819
"dart.checkForSdkUpdates": {
818820
"type": "boolean",
@@ -866,6 +868,7 @@
866868
},
867869
{
868870
"title": "Testing",
871+
"order": 1,
869872
"properties": {
870873
"dart.allowTestsOutsideTestFolder": {
871874
"type": "boolean",
@@ -897,12 +900,12 @@
897900
},
898901
{
899902
"title": "Other",
900-
"order": 9,
903+
"order": 2,
901904
"properties": {
902-
"dart.allowAnalytics": {
903-
"type": "boolean",
904-
"default": true,
905-
"description": "Whether to send analytics such as startup timings, frequency of use of features and analysis server crashes.",
905+
"dart.projectSearchDepth": {
906+
"type": "number",
907+
"default": 3,
908+
"description": "How many levels (including the workspace roots) down the workspace to search for Dart/Flutter projects. Increasing this number may help detect Flutter projects that are deeply nested in your workspace but slow down all operations that search for projects, including extension activation.",
906909
"scope": 3
907910
},
908911
"dart.env": {
@@ -915,12 +918,12 @@
915918
},
916919
{
917920
"title": "Experimental",
918-
"order": 10,
921+
"order": 3,
919922
"properties": {
920923
"dart.enableServerSnippets": {
921924
"type": "boolean",
922925
"default": false,
923-
"markdownDescription": "This setting is currently unused and should be left set to 'false'. It will be updated and enabled by default in the future.",
926+
"markdownDescription": "Whether to enable using code snippets from the Dart Analysis Server and disable the snippets included in the extension. If the version of the Dart/Flutter SDK you're using does not support server snippets, this will result in no snippets being available.",
924927
"scope": 3
925928
},
926929
"dart.normalizeFileCasing": {
@@ -958,6 +961,12 @@
958961
"default": false,
959962
"markdownDescription": "Whether to perform hot reload on save based on a filesystem watcher for Dart files rather than using VS Code's `onDidSave` event. This allows reloads to trigger when external tools modify Dart source files.",
960963
"scope": 3
964+
},
965+
"dart.previewSdkDaps": {
966+
"type": "boolean",
967+
"default": false,
968+
"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.",
969+
"scope": 3
961970
}
962971
}
963972
}

src/languages/extensions/configurations/java.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
],
3030
"default": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m",
3131
"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",
32-
"scope": 3
32+
"scope": 6
3333
},
3434
"java.errors.incompleteClasspath.severity": {
3535
"type": [
@@ -562,7 +562,7 @@
562562
"additionalProperties": false
563563
},
564564
"default": [],
565-
"scope": 2
565+
"scope": 6
566566
},
567567
"java.server.launchMode": {
568568
"type": "string",

src/languages/extensions/configurations/lua.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@
992992
"type": "string"
993993
},
994994
"unknown-diag-code": {
995-
"default": "Waiting",
995+
"default": "Warning",
996996
"description": "%config.diagnostics.unknown-diag-code%",
997997
"enum": [
998998
"Error",

src/languages/extensions/configurations/omnisharp.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,12 @@
448448
"description": "(EXPERIMENTAL) Enables support for resolving completion edits asynchronously. This can speed up time to show the completion list, particularly override and partial method completion lists, at the cost of slight delays after inserting a completion item. Most completion items will have no noticeable impact with this feature, but typing immediately after inserting an override or partial method completion, before the insert is completed, can have unpredictable results.",
449449
"scope": 3
450450
},
451+
"omnisharp.analyzeOpenDocumentsOnly": {
452+
"type": "boolean",
453+
"default": false,
454+
"description": "Only run analyzers against open files when 'enableRoslynAnalyzers' is true",
455+
"scope": 3
456+
},
451457
"omnisharp.testRunSettings": {
452458
"type": [
453459
"string",

src/languages/extensions/configurations/scalameta.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"properties": {
55
"metals.serverVersion": {
66
"type": "string",
7-
"default": "0.11.1+170-7320cac2-SNAPSHOT",
8-
"markdownDescription": "The version of the Metals server artifact. Requires reloading the window.\n\n**Change only if you know what you're doing**",
7+
"default": "0.11.2+62-3a7e098d-SNAPSHOT",
8+
"markdownDescription": "The version of the Metals server artifact. Requires reloading the window. \n\n**VS Code extension version is guaranteed to work only with the default version, change if you know what you're doing**",
99
"scope": 3
1010
},
1111
"metals.serverProperties": {
@@ -156,7 +156,8 @@
156156
"2.12.9",
157157
"2.12.8",
158158
"2.11.12",
159-
"3.1.1-RC1",
159+
"3.1.2-RC2",
160+
"3.1.1",
160161
"3.1.0",
161162
"3.0.2",
162163
"3.0.1",

0 commit comments

Comments
 (0)