@codingame/monaco-vscode-csharp-default-extension 1.81.8-next.3 → 1.82.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  "If you want to provide a fix or improvement, please create a pull request against the original repository.",
5
5
  "Once accepted there, we are happy to receive an update request."
6
6
  ],
7
- "version": "https://github.com/dotnet/csharp-tmLanguage/commit/878aefe73f942ac68dc4a46a0f154661bcb9eff4",
7
+ "version": "https://github.com/dotnet/csharp-tmLanguage/commit/772323937fedd65c6dc1c8ce6ea41d97415ed7d1",
8
8
  "name": "C#",
9
9
  "scopeName": "source.cs",
10
10
  "patterns": [
@@ -286,6 +286,9 @@
286
286
  {
287
287
  "include": "#nameof-expression"
288
288
  },
289
+ {
290
+ "include": "#default-literal-expression"
291
+ },
289
292
  {
290
293
  "include": "#throw-expression"
291
294
  },
@@ -298,6 +301,9 @@
298
301
  {
299
302
  "include": "#verbatim-interpolated-string"
300
303
  },
304
+ {
305
+ "include": "#type-builtin"
306
+ },
301
307
  {
302
308
  "include": "#this-or-base-expression"
303
309
  },
@@ -2733,6 +2739,14 @@
2733
2739
  }
2734
2740
  ]
2735
2741
  },
2742
+ "default-literal-expression": {
2743
+ "match": "(?<!\\.)\\b(default)\\b",
2744
+ "captures": {
2745
+ "1": {
2746
+ "name": "keyword.other.default.cs"
2747
+ }
2748
+ }
2749
+ },
2736
2750
  "throw-expression": {
2737
2751
  "match": "(?<!\\.)\\b(throw)\\b",
2738
2752
  "captures": {
@@ -3673,7 +3687,7 @@
3673
3687
  ]
3674
3688
  },
3675
3689
  "object-creation-expression-with-parameters": {
3676
- "begin": "(?x)\n(new)\\s+\n(?<type_name>\n (?:\n (?:\n (?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\s*\\:\\:\\s*)? # alias-qualification\n (?<name_and_type_args> # identifier + type arguments (if any)\n \\g<identifier>\\s*\n (?<type_args>\\s*<(?:[^<>]|\\g<type_args>)+>\\s*)?\n )\n (?:\\s*\\.\\s*\\g<name_and_type_args>)* | # Are there any more names being dotted into?\n (?<tuple>\\s*\\((?:[^\\(\\)]|\\g<tuple>)+\\))\n )\n (?:\\s*\\?\\s*)? # nullable suffix?\n (?:\\s* # array suffix?\n \\[\n (?:\\s*,\\s*)* # commata for multi-dimensional arrays\n \\]\n \\s*\n (?:\\?)? # arrays can be nullable reference types\n \\s*\n )*\n )\n)\\s*\n(?=\\()",
3690
+ "begin": "(?x)\n(new)(?:\\s+\n(?<type_name>\n (?:\n (?:\n (?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\s*\\:\\:\\s*)? # alias-qualification\n (?<name_and_type_args> # identifier + type arguments (if any)\n \\g<identifier>\\s*\n (?<type_args>\\s*<(?:[^<>]|\\g<type_args>)+>\\s*)?\n )\n (?:\\s*\\.\\s*\\g<name_and_type_args>)* | # Are there any more names being dotted into?\n (?<tuple>\\s*\\((?:[^\\(\\)]|\\g<tuple>)+\\))\n )\n (?:\\s*\\?\\s*)? # nullable suffix?\n (?:\\s* # array suffix?\n \\[\n (?:\\s*,\\s*)* # commata for multi-dimensional arrays\n \\]\n \\s*\n (?:\\?)? # arrays can be nullable reference types\n \\s*\n )*\n )\n))?\\s*\n(?=\\()",
3677
3691
  "beginCaptures": {
3678
3692
  "1": {
3679
3693
  "name": "keyword.other.new.cs"
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const whenReady: () => Promise<void>
2
+ export { whenReady }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-csharp-default-extension",
3
- "version": "1.81.8-next.3",
3
+ "version": "1.82.1",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -9,14 +9,15 @@
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/CodinGame/monaco-vscode-api"
12
+ "url": "git+https://github.com/CodinGame/monaco-vscode-api.git"
13
13
  },
14
14
  "type": "module",
15
15
  "private": false,
16
16
  "description": "Default VSCode extension designed to be used with @codingame/monaco-vscode-api",
17
17
  "main": "index.js",
18
18
  "module": "index.js",
19
+ "types": "index.d.ts",
19
20
  "dependencies": {
20
- "vscode": "npm:@codingame/monaco-vscode-api@1.81.8-next.3"
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.82.1"
21
22
  }
22
23
  }