@codingame/monaco-editor-wrapper 1.3.0 → 1.4.3

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.
Files changed (51) hide show
  1. package/dist/JavaScript.tmLanguage.js +22 -1
  2. package/dist/JavaScriptReact.tmLanguage.js +22 -1
  3. package/dist/TypeScript.tmLanguage.js +22 -1
  4. package/dist/TypeScriptReact.tmLanguage.js +22 -1
  5. package/dist/angular.js +56 -0
  6. package/dist/buildtarget.js +53 -0
  7. package/dist/clojure.tmLanguage.js +11 -15
  8. package/dist/cobol2.js +80 -0
  9. package/dist/cpptools.js +2320 -0
  10. package/dist/csharp.tmLanguage.js +5 -5
  11. package/dist/d2.js +2 -66
  12. package/dist/d3.js +526 -0
  13. package/dist/dart3.js +966 -0
  14. package/dist/dcf.js +3 -3
  15. package/dist/elixir3.js +40 -0
  16. package/dist/erlang2.js +92 -0
  17. package/dist/features/extensionConfigurations.d.ts +1 -0
  18. package/dist/features/extensionConfigurations.js +79 -9162
  19. package/dist/fsharp.tmLanguage.js +10 -1
  20. package/dist/haskell2.js +16 -0
  21. package/dist/java2.js +704 -0
  22. package/dist/javascript.js +83 -2
  23. package/dist/javascriptreact.js +83 -2
  24. package/dist/jsx-tags.js +51 -2
  25. package/dist/jvm-bytecode-verbose.js +1231 -0
  26. package/dist/jvm-bytecode.js +565 -0
  27. package/dist/languages/extensions/extensionConfigurationLoader.d.ts +3 -0
  28. package/dist/languages/extensions/grammarLoader.d.ts +2 -101920
  29. package/dist/languages/extensions/languageConfigurationLoader.d.ts +3 -0
  30. package/dist/languages/extensions/snippetLoader.d.ts +3 -5606
  31. package/dist/lua2.js +1511 -0
  32. package/dist/main.js +154 -98
  33. package/dist/ocaml3.js +145 -0
  34. package/dist/omnisharp.js +522 -0
  35. package/dist/pascal2.js +26 -0
  36. package/dist/postgresql.js +75 -0
  37. package/dist/rmd.js +8 -1
  38. package/dist/scalameta.js +177 -0
  39. package/dist/solargraph.js +192 -0
  40. package/dist/sql.js +9 -2
  41. package/dist/tasty.js +72 -0
  42. package/dist/typescript-language-features.js +998 -0
  43. package/dist/typescript.js +83 -2
  44. package/dist/typescriptreact.js +83 -2
  45. package/dist/verilog2.js +94 -0
  46. package/dist/vscode-R.js +519 -0
  47. package/dist/vscode-groovy.js +28 -0
  48. package/dist/vscode-python.js +677 -0
  49. package/package.json +13 -12
  50. package/stats.html +205 -795
  51. package/dist/languages/extensions/configurationLoader.d.ts +0 -1318
package/dist/dart3.js ADDED
@@ -0,0 +1,966 @@
1
+ var dart = [
2
+ {
3
+ "title": "Analyzer",
4
+ "properties": {
5
+ "dart.additionalAnalyzerFileExtensions": {
6
+ "type": "array",
7
+ "default": [],
8
+ "description": "Additional file extensions that should be analyzed (usually used in combination with analyzer plugins).",
9
+ "items": {
10
+ "type": "string"
11
+ },
12
+ "scope": 3
13
+ },
14
+ "dart.analysisExcludedFolders": {
15
+ "type": "array",
16
+ "default": [],
17
+ "description": "An array of paths to be excluded from Dart analysis. This option should usually be set at the Workspace level. Excluded folders will also be ignored when detecting project types.",
18
+ "items": {
19
+ "type": "string"
20
+ },
21
+ "scope": 4
22
+ },
23
+ "dart.analyzeAngularTemplates": {
24
+ "type": "boolean",
25
+ "default": true,
26
+ "markdownDescription": "Whether to enable analysis for AngularDart templates (requires the Angular analyzer plugin to be enabled in `analysis_options.yaml`).",
27
+ "scope": 3
28
+ },
29
+ "dart.analyzerAdditionalArgs": {
30
+ "type": "array",
31
+ "default": [],
32
+ "description": "Additional arguments to pass to the Dart analysis server.",
33
+ "scope": 3,
34
+ "items": {
35
+ "type": "string"
36
+ }
37
+ },
38
+ "dart.analyzerDiagnosticsPort": {
39
+ "type": [
40
+ "null",
41
+ "number"
42
+ ],
43
+ "default": null,
44
+ "description": "The port number to be used for the Dart analyzer diagnostic server.",
45
+ "scope": 3
46
+ },
47
+ "dart.analyzerPath": {
48
+ "type": [
49
+ "null",
50
+ "string"
51
+ ],
52
+ "default": null,
53
+ "description": "The path to a custom Dart analysis server.",
54
+ "scope": 6
55
+ },
56
+ "dart.analyzerSshHost": {
57
+ "type": [
58
+ "null",
59
+ "string"
60
+ ],
61
+ "default": null,
62
+ "description": "An SSH host to run the analysis server.\nThis can be useful when modifying code on a remote machine using SSHFS.",
63
+ "scope": 3
64
+ },
65
+ "dart.analyzerVmServicePort": {
66
+ "type": [
67
+ "null",
68
+ "number"
69
+ ],
70
+ "default": null,
71
+ "description": "The port number to be used for the Dart analysis server VM service.",
72
+ "scope": 3
73
+ },
74
+ "dart.notifyAnalyzerErrors": {
75
+ "type": "boolean",
76
+ "default": true,
77
+ "description": "Whether to show a notification the first few times an analysis server exception occurs.",
78
+ "scope": 3
79
+ },
80
+ "dart.onlyAnalyzeProjectsWithOpenFiles": {
81
+ "type": "boolean",
82
+ "default": false,
83
+ "description": "Whether to ignore workspace folders and perform analysis based on the open files, as if no workspace was open at all. This allows opening large folders without causing them to be completely analyzed.",
84
+ "scope": 3
85
+ },
86
+ "dart.showTodos": {
87
+ "type": "boolean",
88
+ "default": true,
89
+ "description": "Whether to show TODOs in the Problems list.",
90
+ "scope": 3
91
+ },
92
+ "dart.useLsp": {
93
+ "type": "boolean",
94
+ "default": true,
95
+ "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.",
96
+ "scope": 3
97
+ }
98
+ }
99
+ },
100
+ {
101
+ "title": "DevTools",
102
+ "properties": {
103
+ "dart.updateDevTools": {
104
+ "type": "boolean",
105
+ "default": true,
106
+ "description": "Whether to update DevTools if you are not using the latest version. This only applies to SDKs prior to Dart v2.15, since DevTools is included in the SDK since v2.15.",
107
+ "scope": 3
108
+ },
109
+ "dart.devToolsBrowser": {
110
+ "enum": [
111
+ "chrome",
112
+ "default"
113
+ ],
114
+ "enumDescriptions": [
115
+ "Locate and launch Google Chrome from your system",
116
+ "Use your systems default web browser"
117
+ ],
118
+ "default": "chrome",
119
+ "description": "Whether to launch external DevTools windows using Chrome or the system default browser.",
120
+ "scope": 3
121
+ },
122
+ "dart.devToolsPort": {
123
+ "type": [
124
+ "null",
125
+ "number"
126
+ ],
127
+ "default": null,
128
+ "description": "The port number to be used for the Dart DevTools.",
129
+ "scope": 3
130
+ },
131
+ "dart.devToolsReuseWindows": {
132
+ "type": "boolean",
133
+ "default": true,
134
+ "description": "Whether to try to reuse existing DevTools windows instead of launching new ones. Only works for instances of DevTools launched by the DevTools server on the local machine.",
135
+ "scope": 3
136
+ },
137
+ "dart.devToolsTheme": {
138
+ "enum": [
139
+ "dark",
140
+ "light"
141
+ ],
142
+ "default": "dark",
143
+ "description": "The theme to use for Dart DevTools.",
144
+ "scope": 3
145
+ },
146
+ "dart.embedDevTools": {
147
+ "type": "boolean",
148
+ "default": true,
149
+ "markdownDescription": "Whether to load [Dart DevTools](https://dart.dev/tools/dart-devtools) embedded inside VS Code.",
150
+ "scope": 3
151
+ },
152
+ "dart.openDevTools": {
153
+ "enum": [
154
+ "never",
155
+ "flutter",
156
+ "always"
157
+ ],
158
+ "enumDescriptions": [
159
+ "Do not automatically launch DevTools when starting a debug session",
160
+ "Automatically launch DevTools when starting a Flutter debug session",
161
+ "Automatically launch DevTools when starting any debug session"
162
+ ],
163
+ "default": "never",
164
+ "description": "Whether to automatically open DevTools at the start of a debug session. If embedded DevTools is enabled, this will launch the Widget Inspector embedded for Flutter projects, or launch DevTools externally in a browser for Dart projects.",
165
+ "scope": 3
166
+ },
167
+ "dart.shareDevToolsWithFlutter": {
168
+ "type": "boolean",
169
+ "default": true,
170
+ "markdownDescription": "Whether to eagerly run DevTools for Flutter workspaces and share the spawned server with `flutter run`.",
171
+ "scope": 3
172
+ },
173
+ "dart.showInspectorNotificationsForWidgetErrors": {
174
+ "type": "boolean",
175
+ "default": true,
176
+ "markdownDescription": "Whether to show notifications for widget errors that offer Inspect Widget links. This requires that the `#dart.shareDevToolsWithFlutter#` setting is also enabled.",
177
+ "scope": 3
178
+ }
179
+ }
180
+ },
181
+ {
182
+ "title": "Editor",
183
+ "properties": {
184
+ "dart.analysisServerFolding": {
185
+ "type": "boolean",
186
+ "default": true,
187
+ "description": "Whether to use folding data from the Dart analysis server instead of the built-in VS Code indent-based folding.",
188
+ "scope": 3
189
+ },
190
+ "dart.autoImportCompletions": {
191
+ "type": "boolean",
192
+ "default": true,
193
+ "description": "Whether to include symbols that have not been imported in the code completion list and automatically insert the required import when selecting them (requires restart).",
194
+ "scope": 3
195
+ },
196
+ "dart.automaticCommentSlashes": {
197
+ "enum": [
198
+ "none",
199
+ "tripleSlash",
200
+ "all"
201
+ ],
202
+ "default": "tripleSlash",
203
+ "markdownDescription": "Determines when to insert comment slashes when pressing `<enter>` in the editor (requires restart).\n\nWhen using `tripleSlash`, double-slashes will still be included when breaking existing double-slash comments across additional lines.",
204
+ "enumDescriptions": [
205
+ "Never insert slashes automatically",
206
+ "Insert `///` when pressing `<enter>` at the end of a triple-slash comment",
207
+ "Insert `///` when pressing `<enter>` at the end of a triple-slash comment and also `//` when pressing `<enter>` at the end of a double-slash comment"
208
+ ],
209
+ "scope": 3
210
+ },
211
+ "dart.closingLabels": {
212
+ "type": "boolean",
213
+ "default": true,
214
+ "description": "Whether to show annotations against constructor, method invocations and lists that span multiple lines.",
215
+ "scope": 3
216
+ },
217
+ "dart.completeFunctionCalls": {
218
+ "type": "boolean",
219
+ "default": true,
220
+ "markdownDescription": "Whether to insert parentheses and placeholders for positional and required arguments during code completions when using LSP. This feature is automatically disabled if commit characters are enabled.",
221
+ "scope": 4
222
+ },
223
+ "dart.doNotFormat": {
224
+ "type": "array",
225
+ "default": [],
226
+ "markdownDescription": "An array of glob patterns that should be excluded for formatting. The pattern is matched against the absolute path of the file. Use `**/test/**` to skip formatting for all test directories.",
227
+ "items": {
228
+ "type": "string"
229
+ },
230
+ "scope": 4
231
+ },
232
+ "dart.enableCompletionCommitCharacters": {
233
+ "type": "boolean",
234
+ "default": false,
235
+ "markdownDescription": "Whether to automatically commit the selected completion item when pressing certain keys such as . , ( and [. This setting does not currently apply to LSP, see `#dart.previewCommitCharacters#`.",
236
+ "scope": 4
237
+ },
238
+ "dart.enableSdkFormatter": {
239
+ "type": "boolean",
240
+ "default": true,
241
+ "markdownDescription": "Whether to enable the [dart_style](https://pub.dev/packages/dart_style) formatter for Dart code.",
242
+ "scope": 3
243
+ },
244
+ "dart.enableSnippets": {
245
+ "type": "boolean",
246
+ "default": true,
247
+ "description": "Whether to include Dart and Flutter snippets in code completion.",
248
+ "scope": 3
249
+ },
250
+ "dart.insertArgumentPlaceholders": {
251
+ "type": "boolean",
252
+ "default": true,
253
+ "markdownDescription": "Whether to insert argument placeholders during code completions. This feature is automatically disabled when `enableCompletionCommitCharacters` is enabled.",
254
+ "scope": 4
255
+ },
256
+ "dart.lineLength": {
257
+ "type": "integer",
258
+ "default": 80,
259
+ "description": "The maximum length of a line of code. This is used by the document formatter.",
260
+ "scope": 4
261
+ },
262
+ "dart.lspSnippetTextEdits": {
263
+ "type": "boolean",
264
+ "default": true,
265
+ "markdownDescription": "Whether to enable [Snippet support in LSP TextEdits](https://github.com/rust-analyzer/rust-analyzer/blob/979e788957ced1957ee9ac1da70fb97abf9fe2b1/docs/dev/lsp-extensions.md#snippet-textedit).",
266
+ "scope": 3
267
+ },
268
+ "dart.renameFilesWithClasses": {
269
+ "default": "never",
270
+ "enum": [
271
+ "never",
272
+ "prompt",
273
+ "always"
274
+ ],
275
+ "markdownDescription": "Whether to rename files when renaming classes with matching names (for example renaming 'class Person' inside 'person.dart'). If set to 'prompt', will ask each time before renaming. If set to 'always', the file will automatically be renamed. This setting requires using LSP and a Dart SDK of at least v2.15.",
276
+ "scope": 3
277
+ },
278
+ "dart.showDartPadSampleCodeLens": {
279
+ "type": "boolean",
280
+ "default": true,
281
+ "description": "Whether to show CodeLens actions in the editor for opening online DartPad samples.",
282
+ "scope": 3
283
+ },
284
+ "dart.showIgnoreQuickFixes": {
285
+ "type": "boolean",
286
+ "default": true,
287
+ "description": "Whether to show quick fixes for ignoring hints and lints.",
288
+ "scope": 3
289
+ },
290
+ "dart.showMainCodeLens": {
291
+ "type": "boolean",
292
+ "default": true,
293
+ "description": "Whether to show CodeLens actions in the editor for quick running / debugging scripts with main functions.",
294
+ "scope": 3
295
+ },
296
+ "dart.showTestCodeLens": {
297
+ "type": "boolean",
298
+ "default": true,
299
+ "description": "Whether to show CodeLens actions in the editor for quick running / debugging tests.",
300
+ "scope": 3
301
+ },
302
+ "dart.updateImportsOnRename": {
303
+ "type": "boolean",
304
+ "default": true,
305
+ "description": "Whether to automatically update imports when moving or renaming files. Currently only supports single file moves / renames.",
306
+ "scope": 3
307
+ },
308
+ "dart.warnWhenEditingFilesOutsideWorkspace": {
309
+ "type": "boolean",
310
+ "default": true,
311
+ "description": "Whether to show a warning when modifying files outside of the workspace.",
312
+ "scope": 3
313
+ },
314
+ "dart.warnWhenEditingFilesInPubCache": {
315
+ "type": "boolean",
316
+ "default": true,
317
+ "markdownDescription": "Whether to show a warning when modifying files in the [system package cache](https://dart.dev/tools/pub/glossary#system-cache) directory.",
318
+ "scope": 3
319
+ }
320
+ }
321
+ },
322
+ {
323
+ "title": "Flutter",
324
+ "properties": {
325
+ "dart.flutterAdbConnectOnChromeOs": {
326
+ "type": "boolean",
327
+ "default": false,
328
+ "markdownDescription": "Whether to automatically run `adb connect 100.115.92.2:5555` when spawning the Flutter daemon when running on Chrome OS.",
329
+ "scope": 3
330
+ },
331
+ "dart.flutterAdditionalArgs": {
332
+ "type": "array",
333
+ "default": [],
334
+ "markdownDescription": "Additional args to pass to all `flutter` commands including `flutter daemon`. Do not use this to pass arguments to your Flutter app, use the `args` field in a `launch.json` or the `#dart.flutterRunAdditionalArgs#` setting.",
335
+ "scope": 4,
336
+ "items": {
337
+ "type": "string"
338
+ }
339
+ },
340
+ "dart.flutterAttachAdditionalArgs": {
341
+ "type": "array",
342
+ "default": [],
343
+ "markdownDescription": "Additional args to pass to the `flutter attach` command. Using the `args`/`toolArgs` fields in `launch.json` is usually better than this setting as this setting will apply to _all_ projects.",
344
+ "scope": 4,
345
+ "items": {
346
+ "type": "string"
347
+ }
348
+ },
349
+ "dart.flutterCreateAndroidLanguage": {
350
+ "enum": [
351
+ "java",
352
+ "kotlin"
353
+ ],
354
+ "default": "kotlin",
355
+ "description": "The programming language to use for Android apps when creating new projects using the 'Flutter: New Project' command.",
356
+ "scope": 3
357
+ },
358
+ "dart.flutterCreateIOSLanguage": {
359
+ "enum": [
360
+ "objc",
361
+ "swift"
362
+ ],
363
+ "default": "swift",
364
+ "description": "The programming language to use for iOS apps when creating new projects using the 'Flutter: New Project' command.",
365
+ "scope": 3
366
+ },
367
+ "dart.flutterCreateOffline": {
368
+ "type": "boolean",
369
+ "default": false,
370
+ "description": "Whether to use offline mode when creating new projects with the 'Flutter: New Project' command.",
371
+ "scope": 3
372
+ },
373
+ "dart.flutterCreateOrganization": {
374
+ "type": [
375
+ "null",
376
+ "string"
377
+ ],
378
+ "default": null,
379
+ "markdownDescription": "The organization responsible for your new Flutter project, in reverse domain name notation (e.g. `com.google`). This string is used in Java package names and as prefix in the iOS bundle identifier when creating new projects using the 'Flutter: New Project' command.",
380
+ "scope": 3
381
+ },
382
+ "dart.flutterCustomEmulators": {
383
+ "type": "array",
384
+ "default": [],
385
+ "description": "Custom emulators to show in the emulator list for easier launching. If IDs match existing emulators returned by Flutter, the custom emulators will override them.",
386
+ "items": {
387
+ "type": "object",
388
+ "properties": {
389
+ "id": {
390
+ "type": "string"
391
+ },
392
+ "name": {
393
+ "type": "string"
394
+ },
395
+ "executable": {
396
+ "type": "string"
397
+ },
398
+ "args": {
399
+ "type": "array",
400
+ "items": {
401
+ "type": "string"
402
+ }
403
+ },
404
+ "env": {}
405
+ }
406
+ },
407
+ "scope": 3
408
+ },
409
+ "dart.flutterGutterIcons": {
410
+ "type": "boolean",
411
+ "default": true,
412
+ "description": "Whether to show Flutter icons and colors in the editor gutter.",
413
+ "scope": 3
414
+ },
415
+ "dart.flutterHotReloadOnSave": {
416
+ "enum": [
417
+ "never",
418
+ "always",
419
+ "manual"
420
+ ],
421
+ "enumDescriptions": [
422
+ "Do not reload when saving",
423
+ "Reload for all saves, manual or automatic",
424
+ "Only reload for manual saves (requires pressing Save explicitly if using autosave)"
425
+ ],
426
+ "default": "manual",
427
+ "markdownDescription": "Whether to automatically send a Hot Reload request to Flutter apps during a debug session when saving files. Dart apps are controlled by the hotReloadOnSave setting.",
428
+ "scope": 3
429
+ },
430
+ "dart.hotReloadOnSave": {
431
+ "enum": [
432
+ "never",
433
+ "always",
434
+ "manual"
435
+ ],
436
+ "enumDescriptions": [
437
+ "Do not reload when saving",
438
+ "Reload for all saves, manual or automatic",
439
+ "Only reload for manual saves (requires pressing Save explicitly if using autosave)"
440
+ ],
441
+ "default": "never",
442
+ "markdownDescription": "Whether to automatically send a Hot Reload request to Dart apps during a debug session when saving files. Flutter apps are controlled by the flutterHotReloadOnSave setting.",
443
+ "scope": 3
444
+ },
445
+ "dart.flutterHotRestartOnSave": {
446
+ "type": "boolean",
447
+ "default": true,
448
+ "description": "Whether to automatically send a Hot Restart request during a debug session when saving files if Hot Reload is not available but Hot Restart is.",
449
+ "scope": 3
450
+ },
451
+ "dart.flutterOutline": {
452
+ "type": "boolean",
453
+ "default": true,
454
+ "description": "Whether to show the Flutter Outline tree in the sidebar.",
455
+ "scope": 3
456
+ },
457
+ "dart.flutterRunAdditionalArgs": {
458
+ "type": "array",
459
+ "default": [],
460
+ "markdownDescription": "Additional args to pass to the `flutter run` command. Using the `args`/`toolArgs` fields in `launch.json` is usually better than this setting as this setting will apply to _all_ projects.",
461
+ "scope": 4,
462
+ "items": {
463
+ "type": "string"
464
+ }
465
+ },
466
+ "dart.flutterScreenshotPath": {
467
+ "type": [
468
+ "null",
469
+ "string"
470
+ ],
471
+ "default": null,
472
+ "description": "The path to a directory to save Flutter screenshots.",
473
+ "scope": 6
474
+ },
475
+ "dart.flutterSelectDeviceWhenConnected": {
476
+ "type": "boolean",
477
+ "default": true,
478
+ "description": "Whether to set newly connected devices as the current device in Flutter projects.",
479
+ "scope": 3
480
+ },
481
+ "dart.flutterShowEmulators": {
482
+ "enum": [
483
+ "local",
484
+ "always"
485
+ ],
486
+ "enumDescriptions": [
487
+ "Only show for local workspaces",
488
+ "Always show, even for remote sessions"
489
+ ],
490
+ "default": "local",
491
+ "markdownDescription": "When to show the Flutter emulators. These are usually hidden for remote workspaces because it is usually not possible to see or interact with emulators in a remote session. If you are using remoting/containers in a way that you can interact with launched emulator processes, you may wish to set this to 'always'.",
492
+ "scope": 3
493
+ },
494
+ "dart.flutterShowWebServerDevice": {
495
+ "enum": [
496
+ "remote",
497
+ "always"
498
+ ],
499
+ "enumDescriptions": [
500
+ "Only show for remote workspaces (includes browser-based workspaces)",
501
+ "Always show, even for local sessions"
502
+ ],
503
+ "default": "remote",
504
+ "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).",
505
+ "scope": 3
506
+ },
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
+ },
513
+ "dart.flutterTestAdditionalArgs": {
514
+ "type": "array",
515
+ "default": [],
516
+ "markdownDescription": "Additional args to pass to the `flutter test` command. Using the `args`/`toolArgs` fields in `launch.json` is usually better than this setting as this setting will apply to _all_ projects.",
517
+ "scope": 4,
518
+ "items": {
519
+ "type": "string"
520
+ }
521
+ },
522
+ "dart.flutterTrackWidgetCreation": {
523
+ "type": "boolean",
524
+ "default": true,
525
+ "markdownDescription": "Whether to pass `--track-widget-creation` to Flutter apps (required to support 'Inspect Widget'). This setting is always ignored when running in Profile or Release mode.",
526
+ "scope": 4
527
+ },
528
+ "dart.flutterWebRenderer": {
529
+ "enum": [
530
+ "auto",
531
+ "html",
532
+ "canvaskit"
533
+ ],
534
+ "enumDescriptions": [
535
+ "Allow Flutter to pick the best renderer based on the users device",
536
+ "Always use the HTML renderer",
537
+ "Always use the CanvasKit renderer"
538
+ ],
539
+ "default": "auto",
540
+ "markdownDescription": "Sets the [Web renderer](https://flutter.dev/docs/development/tools/web-renderers) used for Flutter web apps.",
541
+ "scope": 3
542
+ }
543
+ }
544
+ },
545
+ {
546
+ "title": "Logging",
547
+ "properties": {
548
+ "dart.analyzerInstrumentationLogFile": {
549
+ "type": [
550
+ "null",
551
+ "string"
552
+ ],
553
+ "default": null,
554
+ "description": "The path to a log file for very detailed logging in the Dart analysis server that may be useful when trying to diagnose analysis server issues.",
555
+ "scope": 6
556
+ },
557
+ "dart.analyzerLogFile": {
558
+ "type": [
559
+ "null",
560
+ "string"
561
+ ],
562
+ "default": null,
563
+ "description": "The path to a log file for communication between Dart Code and the analysis server.",
564
+ "scope": 6
565
+ },
566
+ "dart.dapLogFile": {
567
+ "type": [
568
+ "null",
569
+ "string"
570
+ ],
571
+ "default": null,
572
+ "markdownDescription": "The path to a log file for communication with the DAP debug adapters. This is useful when trying to diagnose issues with debugging such as missed breakpoints.",
573
+ "scope": 6
574
+ },
575
+ "dart.devToolsLogFile": {
576
+ "type": [
577
+ "null",
578
+ "string"
579
+ ],
580
+ "default": null,
581
+ "description": "The path to a low-traffic log file for the Dart DevTools service.",
582
+ "scope": 6
583
+ },
584
+ "dart.extensionLogFile": {
585
+ "type": [
586
+ "null",
587
+ "string"
588
+ ],
589
+ "default": null,
590
+ "description": "The path to a low-traffic log file for basic extension and editor issues.",
591
+ "scope": 6
592
+ },
593
+ "dart.flutterDaemonLogFile": {
594
+ "type": [
595
+ "null",
596
+ "string"
597
+ ],
598
+ "default": null,
599
+ "markdownDescription": "The path to a log file for the `flutter daemon` service, which provides information about connected devices to show in the status bar.",
600
+ "scope": 6
601
+ },
602
+ "dart.flutterRunLogFile": {
603
+ "type": [
604
+ "null",
605
+ "string"
606
+ ],
607
+ "default": null,
608
+ "markdownDescription": "The path to a log file for `flutter run`, which is used to launch Flutter apps from VS Code. This is useful when trying to diagnose issues with apps launching (or failing to) on simulators and devices. Use `${name}` in the log file name to prevent concurrent debug sessions overwriting each others logs.",
609
+ "scope": 6
610
+ },
611
+ "dart.flutterTestLogFile": {
612
+ "type": [
613
+ "null",
614
+ "string"
615
+ ],
616
+ "default": null,
617
+ "markdownDescription": "The path to a log file for `flutter test`, which is used to run unit tests from VS Code. This is useful when trying to diagnose issues with unit test executions. Use `${name}` in the log file name to prevent concurrent debug sessions overwriting each others logs.",
618
+ "scope": 6
619
+ },
620
+ "dart.maxLogLineLength": {
621
+ "type": "number",
622
+ "default": 2000,
623
+ "description": "The maximum length of a line in the log file. Lines longer than this will be truncated and suffixed with an ellipsis.",
624
+ "scope": 3
625
+ },
626
+ "dart.dartTestLogFile": {
627
+ "type": [
628
+ "null",
629
+ "string"
630
+ ],
631
+ "default": null,
632
+ "markdownDescription": "The path to a log file for Dart test runs. This is useful when trying to diagnose issues with unit test executions. Use `${name}` in the log file name to prevent concurrent debug sessions overwriting each others logs.",
633
+ "scope": 6
634
+ },
635
+ "dart.vmServiceLogFile": {
636
+ "type": [
637
+ "null",
638
+ "string"
639
+ ],
640
+ "default": null,
641
+ "markdownDescription": "The path to a log file for communication between Dart Code and the VM service. This is useful when trying to diagnose issues with debugging such as missed breakpoints. Use `${name}` in the log file name to prevent concurrent debug sessions overwriting each others logs.",
642
+ "scope": 6
643
+ },
644
+ "dart.webDaemonLogFile": {
645
+ "type": [
646
+ "null",
647
+ "string"
648
+ ],
649
+ "default": null,
650
+ "markdownDescription": "The path to a log file for communication between Dart Code and the webdev daemon. This is useful when trying to diagnose issues with launching web apps. Use `${name`} in the log file name to prevent concurrent debug sessions overwriting each others logs.",
651
+ "scope": 6
652
+ }
653
+ }
654
+ },
655
+ {
656
+ "title": "Pub",
657
+ "properties": {
658
+ "dart.promptToGetPackages": {
659
+ "type": "boolean",
660
+ "default": true,
661
+ "description": "Whether to prompt to get packages when opening a project with out of date packages.",
662
+ "scope": 4
663
+ },
664
+ "dart.pubAdditionalArgs": {
665
+ "type": "array",
666
+ "default": [],
667
+ "markdownDescription": "Additional args to pass to all `pub` commands.",
668
+ "scope": 4,
669
+ "items": {
670
+ "type": "string"
671
+ }
672
+ },
673
+ "dart.runPubGetOnPubspecChanges": {
674
+ "type": "boolean",
675
+ "default": true,
676
+ "markdownDescription": "Whether to automatically run `pub get` whenever `pubspec.yaml` is saved.",
677
+ "scope": 4
678
+ }
679
+ }
680
+ },
681
+ {
682
+ "title": "Run and Debug",
683
+ "properties": {
684
+ "dart.buildRunnerAdditionalArgs": {
685
+ "type": "array",
686
+ "default": [],
687
+ "markdownDescription": "Additional args to pass to the `build_runner` when building/watching/serving.",
688
+ "scope": 3,
689
+ "items": {
690
+ "type": "string"
691
+ }
692
+ },
693
+ "dart.cliConsole": {
694
+ "enum": [
695
+ "debugConsole",
696
+ "terminal",
697
+ "externalTerminal"
698
+ ],
699
+ "default": "debugConsole",
700
+ "description": "Whether to run Dart CLI apps in the Debug Console or a terminal. The Debug Console has more functionality because the process is controlled by the debug adapter, but is unable to accept input from the user via stdin.",
701
+ "enumDescriptions": [
702
+ "Run in the Debug Console pane, using the input as a REPL to evaluate expressions",
703
+ "Run in the VS Code integrated terminal where input will be sent to stdin",
704
+ "Run in an external terminal where input will be sent to stdin"
705
+ ],
706
+ "scope": 3
707
+ },
708
+ "dart.debugExtensionBackendProtocol": {
709
+ "enum": [
710
+ "sse",
711
+ "ws"
712
+ ],
713
+ "enumDescriptions": [
714
+ "Server-Sent Events",
715
+ "WebSockets"
716
+ ],
717
+ "default": "ws",
718
+ "description": "The protocol to use for the Dart Debug Extension backend service and injected client. Using WebSockets can improve performance but may fail when connecting through some proxy servers.",
719
+ "scope": 3
720
+ },
721
+ "dart.debugExternalPackageLibraries": {
722
+ "type": "boolean",
723
+ "default": false,
724
+ "markdownDescription": "Whether to mark external pub package libraries (including `package:flutter`) as debuggable, enabling stepping into them while debugging.",
725
+ "scope": 3
726
+ },
727
+ "dart.evaluateGettersInDebugViews": {
728
+ "type": "boolean",
729
+ "default": true,
730
+ "description": "Whether to evaluate getters in order to display them in debug views (such as the Variables, Watch and Hovers views).",
731
+ "scope": 4
732
+ },
733
+ "dart.evaluateToStringInDebugViews": {
734
+ "type": "boolean",
735
+ "default": true,
736
+ "description": "Whether to call toString() on objects when rendering them in debug views (such as the Variables, Watch and Hovers views). Only applies to views of 100 or fewer values for performance reasons.",
737
+ "scope": 3
738
+ },
739
+ "dart.hotReloadProgress": {
740
+ "enum": [
741
+ "notification",
742
+ "statusBar"
743
+ ],
744
+ "enumDescriptions": [
745
+ "Hot reload progress will be shown in a toast notification",
746
+ "Hot reload progress will be shown only in the status bar"
747
+ ],
748
+ "default": "notification",
749
+ "description": "Determines how to display Hot Restart and Hot Reload progress.",
750
+ "scope": 3
751
+ },
752
+ "dart.promptToRunIfErrors": {
753
+ "type": "boolean",
754
+ "default": true,
755
+ "description": "Whether to prompt before running if there are errors in your project. Test scripts will be excluded from the check unless they're the script being run.",
756
+ "scope": 3
757
+ },
758
+ "dart.showDartDeveloperLogs": {
759
+ "type": "boolean",
760
+ "default": true,
761
+ "markdownDescription": "Whether to show logs from the `dart:developer` `log()` function in the debug console.",
762
+ "scope": 4
763
+ },
764
+ "dart.showDevToolsDebugToolBarButtons": {
765
+ "type": "boolean",
766
+ "default": true,
767
+ "description": "Whether to show DevTools buttons in the floating Debug toolbar.",
768
+ "scope": 3
769
+ },
770
+ "dart.suppressTestTimeouts": {
771
+ "enum": [
772
+ "never",
773
+ "debug",
774
+ "always"
775
+ ],
776
+ "enumDescriptions": [
777
+ "Do not suppress test timeouts",
778
+ "Suppress test timeouts when Debugging",
779
+ "Suppress test timeouts both when Running and Debugging"
780
+ ],
781
+ "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
+ "scope": 4
784
+ },
785
+ "dart.cliAdditionalArgs": {
786
+ "type": "array",
787
+ "default": [],
788
+ "markdownDescription": "Additional args to pass to the `dart` command when running CLI scripts. Using the `args`/`toolArgs` fields in `launch.json` is usually better than this setting as this setting will apply to _all_ projects.",
789
+ "scope": 4,
790
+ "items": {
791
+ "type": "string"
792
+ }
793
+ },
794
+ "dart.testAdditionalArgs": {
795
+ "type": "array",
796
+ "default": [],
797
+ "markdownDescription": "Additional args to pass to the `dart test` command. Using the `args`/`toolArgs` fields in `launch.json` is usually better than this setting as this setting will apply to _all_ projects.",
798
+ "scope": 4,
799
+ "items": {
800
+ "type": "string"
801
+ }
802
+ },
803
+ "dart.vmAdditionalArgs": {
804
+ "type": "array",
805
+ "default": [],
806
+ "description": "Additional args to pass to the Dart VM when running/debugging command line apps or Dart test scripts.",
807
+ "scope": 4,
808
+ "items": {
809
+ "type": "string"
810
+ }
811
+ }
812
+ }
813
+ },
814
+ {
815
+ "title": "SDK",
816
+ "properties": {
817
+ "dart.checkForSdkUpdates": {
818
+ "type": "boolean",
819
+ "default": true,
820
+ "description": "Whether to check you are using the latest version of the Dart SDK at startup.",
821
+ "scope": 3
822
+ },
823
+ "dart.sdkPath": {
824
+ "type": [
825
+ "null",
826
+ "string"
827
+ ],
828
+ "default": null,
829
+ "markdownDescription": "The location of the Dart SDK to use for analyzing and executing code. If blank, Dart Code will attempt to find it from the `PATH` environment variable. When editing a Flutter project, the version of Dart included in the Flutter SDK is used in preference.",
830
+ "scope": 6
831
+ },
832
+ "dart.sdkPaths": {
833
+ "type": "array",
834
+ "default": [],
835
+ "description": "An array of paths that either directly point to a Dart SDK or the parent directory of multiple Dart SDKs. When set, the version number in the status bar can be used to quickly switch between SDKs.",
836
+ "items": {
837
+ "type": "string"
838
+ },
839
+ "scope": 6
840
+ },
841
+ "dart.debugSdkLibraries": {
842
+ "type": "boolean",
843
+ "default": false,
844
+ "markdownDescription": "Whether to mark Dart SDK libraries (`dart:*`) as debuggable, enabling stepping into them while debugging.",
845
+ "scope": 3
846
+ },
847
+ "dart.flutterSdkPath": {
848
+ "type": [
849
+ "null",
850
+ "string"
851
+ ],
852
+ "default": null,
853
+ "markdownDescription": "The location of the Flutter SDK to use. If blank, Dart Code will attempt to find it from the project directory, `FLUTTER_ROOT` environment variable and the `PATH` environment variable.",
854
+ "scope": 6
855
+ },
856
+ "dart.flutterSdkPaths": {
857
+ "type": "array",
858
+ "default": [],
859
+ "description": "An array of paths that either directly point to a Flutter SDK or the parent directory of multiple Flutter SDKs. When set, the version number in the status bar can be used to quickly switch between SDKs.",
860
+ "items": {
861
+ "type": "string"
862
+ },
863
+ "scope": 6
864
+ }
865
+ }
866
+ },
867
+ {
868
+ "title": "Testing",
869
+ "properties": {
870
+ "dart.allowTestsOutsideTestFolder": {
871
+ "type": "boolean",
872
+ "default": false,
873
+ "markdownDescription": "Whether to consider files ending `_test.dart` that are outside of the test directory as tests. This should be enabled if you put tests inside the `lib` directory of your Flutter app so they will be run with `flutter test` and not `flutter run`.",
874
+ "scope": 3
875
+ },
876
+ "dart.openTestView": {
877
+ "type": "array",
878
+ "items": {
879
+ "enum": [
880
+ "testRunStart",
881
+ "testFailure"
882
+ ]
883
+ },
884
+ "default": [
885
+ "testRunStart"
886
+ ],
887
+ "description": "When to automatically switch focus to the test list (array to support multiple values).",
888
+ "scope": 3
889
+ },
890
+ "dart.showSkippedTests": {
891
+ "type": "boolean",
892
+ "default": true,
893
+ "markdownDescription": "Whether to show skipped tests in the test tree.",
894
+ "scope": 3
895
+ }
896
+ }
897
+ },
898
+ {
899
+ "title": "Other",
900
+ "order": 9,
901
+ "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.",
906
+ "scope": 3
907
+ },
908
+ "dart.env": {
909
+ "type": "object",
910
+ "default": {},
911
+ "description": "Additional environment variables to be added to all Dart/Flutter processes spawned by the Dart and Flutter extensions.",
912
+ "scope": 3
913
+ }
914
+ }
915
+ },
916
+ {
917
+ "title": "Experimental",
918
+ "order": 10,
919
+ "properties": {
920
+ "dart.enableServerSnippets": {
921
+ "type": "boolean",
922
+ "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.",
924
+ "scope": 3
925
+ },
926
+ "dart.normalizeFileCasing": {
927
+ "type": "boolean",
928
+ "default": false,
929
+ "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.",
930
+ "scope": 3
931
+ },
932
+ "dart.previewBazelWorkspaceCustomScripts": {
933
+ "type": "boolean",
934
+ "default": false,
935
+ "markdownDescription": "EXPERIMENTAL: Whether to look for custom script definitions at `dart/config/intellij-plugins/flutter.json` in Bazel workspaces. Currently supported for macOS and Linux only.",
936
+ "scope": 3
937
+ },
938
+ "dart.previewCommitCharacters": {
939
+ "type": "boolean",
940
+ "default": false,
941
+ "description": "EXPERIMENTAL: Whether to enable commit characters for the LSP server. In a future release, the dart.enableCompletionCommitCharacters setting will also apply to LSP.",
942
+ "scope": 3
943
+ },
944
+ "dart.previewFlutterUiGuides": {
945
+ "type": "boolean",
946
+ "default": false,
947
+ "markdownDescription": "EXPERIMENTAL: Whether to enable the [Flutter UI Guides preview](https://dartcode.org/releases/v3-1/#preview-flutter-ui-guides).",
948
+ "scope": 3
949
+ },
950
+ "dart.previewFlutterUiGuidesCustomTracking": {
951
+ "type": "boolean",
952
+ "default": false,
953
+ "description": "EXPERIMENTAL: Whether to enable custom tracking of Flutter UI guidelines (to hide some latency of waiting for the next Flutter Outline).",
954
+ "scope": 3
955
+ },
956
+ "dart.previewHotReloadOnSaveWatcher": {
957
+ "type": "boolean",
958
+ "default": false,
959
+ "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.",
960
+ "scope": 3
961
+ }
962
+ }
963
+ }
964
+ ];
965
+
966
+ export { dart as default };