@codingame/monaco-editor-wrapper 1.2.0 → 1.4.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.
- package/dist/Groovy2.js +28 -0
- package/dist/JavaScript.tmLanguage.js +22 -1
- package/dist/JavaScriptReact.tmLanguage.js +22 -1
- package/dist/TypeScript.tmLanguage.js +22 -1
- package/dist/TypeScriptReact.tmLanguage.js +22 -1
- package/dist/angular.js +56 -0
- package/dist/buildtarget.js +53 -0
- package/dist/clojure.tmLanguage.js +11 -15
- package/dist/cobol2.js +80 -0
- package/dist/cpptools.js +2320 -0
- package/dist/csharp.tmLanguage.js +5 -5
- package/dist/css.worker.js +1 -1
- package/dist/d2.js +2 -66
- package/dist/d3.js +526 -0
- package/dist/dart3.js +966 -0
- package/dist/dcf.js +3 -3
- package/dist/elixir3.js +40 -0
- package/dist/erlang2.js +92 -0
- package/dist/{cssContribution.js → features/cssContribution.js} +2 -2
- package/dist/features/extensionConfigurations.d.ts +1 -0
- package/dist/features/extensionConfigurations.js +145 -0
- package/dist/{htmlContribution.js → features/htmlContribution.js} +2 -2
- package/dist/{jsonContribution.js → features/jsonContribution.js} +3 -3
- package/dist/features/mutualizedExtensionConfigurations.d.ts +1 -0
- package/dist/{extensionConfigurations.js → features/mutualizedExtensionConfigurations.js} +1931 -6302
- package/dist/features/typescriptContribution.d.ts +4 -0
- package/dist/{typescriptContribution.js → features/typescriptContribution.js} +31 -3
- package/dist/fsharp.tmLanguage.js +10 -1
- package/dist/haskell2.js +16 -0
- package/dist/html.worker.js +1 -1
- package/dist/java2.js +704 -0
- package/dist/javascript.js +83 -2
- package/dist/javascriptreact.js +83 -2
- package/dist/json.worker.js +1 -1
- package/dist/jsx-tags.js +51 -2
- package/dist/jvm-bytecode-verbose.js +1231 -0
- package/dist/jvm-bytecode.js +565 -0
- package/dist/languages/extensions/configurationLoader.d.ts +7 -1
- package/dist/languages/extensions/extensionConfigurationLoader.d.ts +3 -0
- package/dist/languages/extensions/grammarLoader.d.ts +2 -101920
- package/dist/languages/extensions/languageConfigurationLoader.d.ts +3 -0
- package/dist/languages/extensions/snippetLoader.d.ts +3 -5606
- package/dist/lua2.js +1511 -0
- package/dist/main.js +155 -98
- package/dist/ocaml3.js +145 -0
- package/dist/omnisharp.js +522 -0
- package/dist/pascal2.js +26 -0
- package/dist/postgresql.js +75 -0
- package/dist/rmd.js +8 -1
- package/dist/scalameta.js +177 -0
- package/dist/solargraph.js +192 -0
- package/dist/sql.js +9 -2
- package/dist/tasty.js +72 -0
- package/dist/ts.worker.js +1 -1
- package/dist/typescript-language-features.js +998 -0
- package/dist/typescript.js +83 -2
- package/dist/typescriptreact.js +83 -2
- package/dist/verilog2.js +94 -0
- package/dist/vscode-R.js +519 -0
- package/dist/vscode-groovy.js +28 -0
- package/dist/vscode-python.js +677 -0
- package/dist/worker.js +1 -1
- package/package.json +12 -11
- package/stats.html +205 -795
- package/dist/SQL.plist.js +0 -482
- package/dist/html (eex).js +0 -31
- package/dist/pgsql-sql.js +0 -21
- package/dist/r.tmLanguage.js +0 -551
package/dist/main.js
CHANGED
|
@@ -813,6 +813,22 @@ var rawGrammars = [
|
|
|
813
813
|
"language": "scala",
|
|
814
814
|
"scopeName": "source.scala"
|
|
815
815
|
},
|
|
816
|
+
{
|
|
817
|
+
"language": "javap-verbose",
|
|
818
|
+
"scopeName": "source.jvm-bytecode-verbose"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"language": "javap",
|
|
822
|
+
"scopeName": "source.jvm-bytecode"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"language": "tasty",
|
|
826
|
+
"scopeName": "source.tasty"
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"language": "buildtarget",
|
|
830
|
+
"scopeName": "source.buildtarget"
|
|
831
|
+
},
|
|
816
832
|
{
|
|
817
833
|
"language": "COBOL",
|
|
818
834
|
"scopeName": "source.cobol",
|
|
@@ -991,7 +1007,7 @@ var rawGrammars = [
|
|
|
991
1007
|
// Generated file, do not modify
|
|
992
1008
|
|
|
993
1009
|
/* eslint-disable */
|
|
994
|
-
|
|
1010
|
+
const loader$2 = {
|
|
995
1011
|
'source.clojure': async () => (await import(
|
|
996
1012
|
/* webpackChunkName: "grammar-source-clojure" */
|
|
997
1013
|
'./clojure.tmLanguage.js').then(module => module)).default,
|
|
@@ -1223,6 +1239,18 @@ var grammarLoader = {
|
|
|
1223
1239
|
'source.scala': async () => (await import(
|
|
1224
1240
|
/* webpackChunkName: "grammar-source-scala" */
|
|
1225
1241
|
'./Scala.tmLanguage.js').then(module => module)).default,
|
|
1242
|
+
'source.jvm-bytecode-verbose': async () => (await import(
|
|
1243
|
+
/* webpackChunkName: "grammar-source-jvm-bytecode-verbose" */
|
|
1244
|
+
'./jvm-bytecode-verbose.js').then(module => module)).default,
|
|
1245
|
+
'source.jvm-bytecode': async () => (await import(
|
|
1246
|
+
/* webpackChunkName: "grammar-source-jvm-bytecode" */
|
|
1247
|
+
'./jvm-bytecode.js').then(module => module)).default,
|
|
1248
|
+
'source.tasty': async () => (await import(
|
|
1249
|
+
/* webpackChunkName: "grammar-source-tasty" */
|
|
1250
|
+
'./tasty.js').then(module => module)).default,
|
|
1251
|
+
'source.buildtarget': async () => (await import(
|
|
1252
|
+
/* webpackChunkName: "grammar-source-buildtarget" */
|
|
1253
|
+
'./buildtarget.js').then(module => module)).default,
|
|
1226
1254
|
'source.cobol': async () => (await import(
|
|
1227
1255
|
/* webpackChunkName: "grammar-source-cobol" */
|
|
1228
1256
|
'./COBOL.tmLanguage.js').then(module => module)).default,
|
|
@@ -1318,6 +1346,11 @@ var configurationDefaults = {
|
|
|
1318
1346
|
"files.watcherExclude": {
|
|
1319
1347
|
"**/.dart_tool": true
|
|
1320
1348
|
},
|
|
1349
|
+
"[scala]": {
|
|
1350
|
+
"editor.suggestSelection": "first",
|
|
1351
|
+
"editor.formatOnPaste": true,
|
|
1352
|
+
"editor.formatOnType": true
|
|
1353
|
+
},
|
|
1321
1354
|
"[COBOL]": {
|
|
1322
1355
|
"editor.renderIndentGuides": false,
|
|
1323
1356
|
"editor.rulers": [
|
|
@@ -1749,9 +1782,6 @@ var semanticTokenScopes = [
|
|
|
1749
1782
|
"keyword.control": [
|
|
1750
1783
|
"keyword.control"
|
|
1751
1784
|
],
|
|
1752
|
-
"property.declaration": [
|
|
1753
|
-
"entity.name.function.member"
|
|
1754
|
-
],
|
|
1755
1785
|
"string.escape": [
|
|
1756
1786
|
"constant.character.escape"
|
|
1757
1787
|
],
|
|
@@ -2484,7 +2514,7 @@ function createGrammarFactory() {
|
|
|
2484
2514
|
const parsedGrammars = rawGrammars.map(grammar => _objectSpread2(_objectSpread2({}, monaco.extra.parseTextMateGrammar(grammar, modeService)), {}, {
|
|
2485
2515
|
location: monaco.Uri.file(grammar.scopeName + '.json')
|
|
2486
2516
|
}));
|
|
2487
|
-
return new CGTMGrammarFactory(parsedGrammars,
|
|
2517
|
+
return new CGTMGrammarFactory(parsedGrammars, loader$2, onigFile);
|
|
2488
2518
|
}
|
|
2489
2519
|
|
|
2490
2520
|
let textMateGrammarFactory = null;
|
|
@@ -3472,6 +3502,40 @@ var textMateLanguages = [
|
|
|
3472
3502
|
".sc"
|
|
3473
3503
|
]
|
|
3474
3504
|
},
|
|
3505
|
+
{
|
|
3506
|
+
"id": "javap-verbose",
|
|
3507
|
+
"extensions": [
|
|
3508
|
+
".javap-verbose"
|
|
3509
|
+
]
|
|
3510
|
+
},
|
|
3511
|
+
{
|
|
3512
|
+
"id": "javap",
|
|
3513
|
+
"extensions": [
|
|
3514
|
+
".javap"
|
|
3515
|
+
]
|
|
3516
|
+
},
|
|
3517
|
+
{
|
|
3518
|
+
"id": "java",
|
|
3519
|
+
"extensions": [
|
|
3520
|
+
".cfr"
|
|
3521
|
+
]
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"id": "tasty",
|
|
3525
|
+
"aliases": [
|
|
3526
|
+
"TASTy",
|
|
3527
|
+
"tasty"
|
|
3528
|
+
],
|
|
3529
|
+
"extensions": [
|
|
3530
|
+
".tasty-decoded"
|
|
3531
|
+
]
|
|
3532
|
+
},
|
|
3533
|
+
{
|
|
3534
|
+
"id": "buildtarget",
|
|
3535
|
+
"extensions": [
|
|
3536
|
+
".metals-buildtarget"
|
|
3537
|
+
]
|
|
3538
|
+
},
|
|
3475
3539
|
{
|
|
3476
3540
|
"id": "COBOL",
|
|
3477
3541
|
"extensions": [
|
|
@@ -3739,7 +3803,8 @@ var textMateLanguages = [
|
|
|
3739
3803
|
"R DCF"
|
|
3740
3804
|
],
|
|
3741
3805
|
"filenames": [
|
|
3742
|
-
"DESCRIPTION"
|
|
3806
|
+
"DESCRIPTION",
|
|
3807
|
+
".lintr"
|
|
3743
3808
|
]
|
|
3744
3809
|
},
|
|
3745
3810
|
{
|
|
@@ -3861,235 +3926,235 @@ const languageLoader = {
|
|
|
3861
3926
|
// Generated file, do not modify
|
|
3862
3927
|
|
|
3863
3928
|
/* eslint-disable */
|
|
3864
|
-
|
|
3929
|
+
const loader$1 = {
|
|
3865
3930
|
'clojure': async () => (await import(
|
|
3866
|
-
/* webpackChunkName: "configuration-clojure" */
|
|
3931
|
+
/* webpackChunkName: "language-configuration-clojure" */
|
|
3867
3932
|
'./clojure.js').then(module => module)).default,
|
|
3868
3933
|
'coffeescript': async () => (await import(
|
|
3869
|
-
/* webpackChunkName: "configuration-coffeescript" */
|
|
3934
|
+
/* webpackChunkName: "language-configuration-coffeescript" */
|
|
3870
3935
|
'./coffeescript.js').then(module => module)).default,
|
|
3871
3936
|
'c': async () => (await import(
|
|
3872
|
-
/* webpackChunkName: "configuration-c" */
|
|
3937
|
+
/* webpackChunkName: "language-configuration-c" */
|
|
3873
3938
|
'./c.js').then(module => module)).default,
|
|
3874
3939
|
'cpp': async () => (await import(
|
|
3875
|
-
/* webpackChunkName: "configuration-cpp" */
|
|
3940
|
+
/* webpackChunkName: "language-configuration-cpp" */
|
|
3876
3941
|
'./cpp.js').then(module => module)).default,
|
|
3877
3942
|
'cuda-cpp': async () => (await import(
|
|
3878
|
-
/* webpackChunkName: "configuration-cuda-cpp" */
|
|
3943
|
+
/* webpackChunkName: "language-configuration-cuda-cpp" */
|
|
3879
3944
|
'./cuda-cpp.js').then(module => module)).default,
|
|
3880
3945
|
'csharp': async () => (await import(
|
|
3881
|
-
/* webpackChunkName: "configuration-csharp" */
|
|
3946
|
+
/* webpackChunkName: "language-configuration-csharp" */
|
|
3882
3947
|
'./csharp.js').then(module => module)).default,
|
|
3883
3948
|
'css': async () => (await import(
|
|
3884
|
-
/* webpackChunkName: "configuration-css" */
|
|
3949
|
+
/* webpackChunkName: "language-configuration-css" */
|
|
3885
3950
|
'./css.js').then(module => module)).default,
|
|
3886
3951
|
'fsharp': async () => (await import(
|
|
3887
|
-
/* webpackChunkName: "configuration-fsharp" */
|
|
3952
|
+
/* webpackChunkName: "language-configuration-fsharp" */
|
|
3888
3953
|
'./fsharp.js').then(module => module)).default,
|
|
3889
3954
|
'go': async () => (await import(
|
|
3890
|
-
/* webpackChunkName: "configuration-go" */
|
|
3955
|
+
/* webpackChunkName: "language-configuration-go" */
|
|
3891
3956
|
'./go.js').then(module => module)).default,
|
|
3892
3957
|
'groovy': async () => (await import(
|
|
3893
|
-
/* webpackChunkName: "configuration-groovy" */
|
|
3958
|
+
/* webpackChunkName: "language-configuration-groovy" */
|
|
3894
3959
|
'./groovy.js').then(module => module)).default,
|
|
3895
3960
|
'html': async () => (await import(
|
|
3896
|
-
/* webpackChunkName: "configuration-html" */
|
|
3961
|
+
/* webpackChunkName: "language-configuration-html" */
|
|
3897
3962
|
'./html.js').then(module => module)).default,
|
|
3898
3963
|
'java': async () => (await import(
|
|
3899
|
-
/* webpackChunkName: "configuration-java" */
|
|
3964
|
+
/* webpackChunkName: "language-configuration-java" */
|
|
3900
3965
|
'./java.js').then(module => module)).default,
|
|
3901
3966
|
'javascriptreact': async () => (await import(
|
|
3902
|
-
/* webpackChunkName: "configuration-javascriptreact" */
|
|
3967
|
+
/* webpackChunkName: "language-configuration-javascriptreact" */
|
|
3903
3968
|
'./javascriptreact.js').then(module => module)).default,
|
|
3904
3969
|
'javascript': async () => (await import(
|
|
3905
|
-
/* webpackChunkName: "configuration-javascript" */
|
|
3970
|
+
/* webpackChunkName: "language-configuration-javascript" */
|
|
3906
3971
|
'./javascript.js').then(module => module)).default,
|
|
3907
3972
|
'jsx-tags': async () => (await import(
|
|
3908
|
-
/* webpackChunkName: "configuration-jsx-tags" */
|
|
3973
|
+
/* webpackChunkName: "language-configuration-jsx-tags" */
|
|
3909
3974
|
'./jsx-tags.js').then(module => module)).default,
|
|
3910
3975
|
'json': async () => (await import(
|
|
3911
|
-
/* webpackChunkName: "configuration-json" */
|
|
3976
|
+
/* webpackChunkName: "language-configuration-json" */
|
|
3912
3977
|
'./json.js').then(module => module)).default,
|
|
3913
3978
|
'jsonc': async () => (await import(
|
|
3914
|
-
/* webpackChunkName: "configuration-jsonc" */
|
|
3979
|
+
/* webpackChunkName: "language-configuration-jsonc" */
|
|
3915
3980
|
'./jsonc.js').then(module => module)).default,
|
|
3916
3981
|
'lua': async () => (await import(
|
|
3917
|
-
/* webpackChunkName: "configuration-lua" */
|
|
3982
|
+
/* webpackChunkName: "language-configuration-lua" */
|
|
3918
3983
|
'./lua.js').then(module => module)).default,
|
|
3919
3984
|
'markdown': async () => (await import(
|
|
3920
|
-
/* webpackChunkName: "configuration-markdown" */
|
|
3985
|
+
/* webpackChunkName: "language-configuration-markdown" */
|
|
3921
3986
|
'./markdown.js').then(module => module)).default,
|
|
3922
3987
|
'objective-c': async () => (await import(
|
|
3923
|
-
/* webpackChunkName: "configuration-objective-c" */
|
|
3988
|
+
/* webpackChunkName: "language-configuration-objective-c" */
|
|
3924
3989
|
'./objective-c.js').then(module => module)).default,
|
|
3925
3990
|
'objective-cpp': async () => (await import(
|
|
3926
|
-
/* webpackChunkName: "configuration-objective-cpp" */
|
|
3991
|
+
/* webpackChunkName: "language-configuration-objective-cpp" */
|
|
3927
3992
|
'./objective-cpp.js').then(module => module)).default,
|
|
3928
3993
|
'perl': async () => (await import(
|
|
3929
|
-
/* webpackChunkName: "configuration-perl" */
|
|
3994
|
+
/* webpackChunkName: "language-configuration-perl" */
|
|
3930
3995
|
'./perl.js').then(module => module)).default,
|
|
3931
3996
|
'perl6': async () => (await import(
|
|
3932
|
-
/* webpackChunkName: "configuration-perl6" */
|
|
3997
|
+
/* webpackChunkName: "language-configuration-perl6" */
|
|
3933
3998
|
'./perl6.js').then(module => module)).default,
|
|
3934
3999
|
'php': async () => (await import(
|
|
3935
|
-
/* webpackChunkName: "configuration-php" */
|
|
4000
|
+
/* webpackChunkName: "language-configuration-php" */
|
|
3936
4001
|
'./php.js').then(module => module)).default,
|
|
3937
4002
|
'powershell': async () => (await import(
|
|
3938
|
-
/* webpackChunkName: "configuration-powershell" */
|
|
4003
|
+
/* webpackChunkName: "language-configuration-powershell" */
|
|
3939
4004
|
'./powershell.js').then(module => module)).default,
|
|
3940
4005
|
'python': async () => (await import(
|
|
3941
|
-
/* webpackChunkName: "configuration-python" */
|
|
4006
|
+
/* webpackChunkName: "language-configuration-python" */
|
|
3942
4007
|
'./python.js').then(module => module)).default,
|
|
3943
4008
|
'r': async () => (await import(
|
|
3944
|
-
/* webpackChunkName: "configuration-r" */
|
|
4009
|
+
/* webpackChunkName: "language-configuration-r" */
|
|
3945
4010
|
'./r.js').then(module => module)).default,
|
|
3946
4011
|
'ruby': async () => (await import(
|
|
3947
|
-
/* webpackChunkName: "configuration-ruby" */
|
|
4012
|
+
/* webpackChunkName: "language-configuration-ruby" */
|
|
3948
4013
|
'./ruby.js').then(module => module)).default,
|
|
3949
4014
|
'rust': async () => (await import(
|
|
3950
|
-
/* webpackChunkName: "configuration-rust" */
|
|
4015
|
+
/* webpackChunkName: "language-configuration-rust" */
|
|
3951
4016
|
'./rust.js').then(module => module)).default,
|
|
3952
4017
|
'scss': async () => (await import(
|
|
3953
|
-
/* webpackChunkName: "configuration-scss" */
|
|
4018
|
+
/* webpackChunkName: "language-configuration-scss" */
|
|
3954
4019
|
'./scss.js').then(module => module)).default,
|
|
3955
4020
|
'shellscript': async () => (await import(
|
|
3956
|
-
/* webpackChunkName: "configuration-shellscript" */
|
|
4021
|
+
/* webpackChunkName: "language-configuration-shellscript" */
|
|
3957
4022
|
'./shellscript.js').then(module => module)).default,
|
|
3958
4023
|
'sql': async () => (await import(
|
|
3959
|
-
/* webpackChunkName: "configuration-sql" */
|
|
4024
|
+
/* webpackChunkName: "language-configuration-sql" */
|
|
3960
4025
|
'./sql.js').then(module => module)).default,
|
|
3961
4026
|
'swift': async () => (await import(
|
|
3962
|
-
/* webpackChunkName: "configuration-swift" */
|
|
4027
|
+
/* webpackChunkName: "language-configuration-swift" */
|
|
3963
4028
|
'./swift.js').then(module => module)).default,
|
|
3964
4029
|
'typescript': async () => (await import(
|
|
3965
|
-
/* webpackChunkName: "configuration-typescript" */
|
|
4030
|
+
/* webpackChunkName: "language-configuration-typescript" */
|
|
3966
4031
|
'./typescript.js').then(module => module)).default,
|
|
3967
4032
|
'typescriptreact': async () => (await import(
|
|
3968
|
-
/* webpackChunkName: "configuration-typescriptreact" */
|
|
4033
|
+
/* webpackChunkName: "language-configuration-typescriptreact" */
|
|
3969
4034
|
'./typescriptreact.js').then(module => module)).default,
|
|
3970
4035
|
'vb': async () => (await import(
|
|
3971
|
-
/* webpackChunkName: "configuration-vb" */
|
|
4036
|
+
/* webpackChunkName: "language-configuration-vb" */
|
|
3972
4037
|
'./vb.js').then(module => module)).default,
|
|
3973
4038
|
'xml': async () => (await import(
|
|
3974
|
-
/* webpackChunkName: "configuration-xml" */
|
|
4039
|
+
/* webpackChunkName: "language-configuration-xml" */
|
|
3975
4040
|
'./xml.js').then(module => module)).default,
|
|
3976
4041
|
'xsl': async () => (await import(
|
|
3977
|
-
/* webpackChunkName: "configuration-xsl" */
|
|
4042
|
+
/* webpackChunkName: "language-configuration-xsl" */
|
|
3978
4043
|
'./xsl.js').then(module => module)).default,
|
|
3979
4044
|
'dockercompose': async () => (await import(
|
|
3980
|
-
/* webpackChunkName: "configuration-dockercompose" */
|
|
4045
|
+
/* webpackChunkName: "language-configuration-dockercompose" */
|
|
3981
4046
|
'./dockercompose.js').then(module => module)).default,
|
|
3982
4047
|
'yaml': async () => (await import(
|
|
3983
|
-
/* webpackChunkName: "configuration-yaml" */
|
|
4048
|
+
/* webpackChunkName: "language-configuration-yaml" */
|
|
3984
4049
|
'./yaml.js').then(module => module)).default,
|
|
3985
4050
|
'd': async () => (await import(
|
|
3986
|
-
/* webpackChunkName: "configuration-d" */
|
|
4051
|
+
/* webpackChunkName: "language-configuration-d" */
|
|
3987
4052
|
'./d.js').then(module => module)).default,
|
|
3988
4053
|
'dpp': async () => (await import(
|
|
3989
|
-
/* webpackChunkName: "configuration-dpp" */
|
|
4054
|
+
/* webpackChunkName: "language-configuration-dpp" */
|
|
3990
4055
|
'./dpp.js').then(module => module)).default,
|
|
3991
4056
|
'dscript': async () => (await import(
|
|
3992
|
-
/* webpackChunkName: "configuration-dscript" */
|
|
4057
|
+
/* webpackChunkName: "language-configuration-dscript" */
|
|
3993
4058
|
'./dscript.js').then(module => module)).default,
|
|
3994
4059
|
'dml': async () => (await import(
|
|
3995
|
-
/* webpackChunkName: "configuration-dml" */
|
|
4060
|
+
/* webpackChunkName: "language-configuration-dml" */
|
|
3996
4061
|
'./dml.js').then(module => module)).default,
|
|
3997
4062
|
'sdl': async () => (await import(
|
|
3998
|
-
/* webpackChunkName: "configuration-sdl" */
|
|
4063
|
+
/* webpackChunkName: "language-configuration-sdl" */
|
|
3999
4064
|
'./sdl.js').then(module => module)).default,
|
|
4000
4065
|
'diet': async () => (await import(
|
|
4001
|
-
/* webpackChunkName: "configuration-diet" */
|
|
4066
|
+
/* webpackChunkName: "language-configuration-diet" */
|
|
4002
4067
|
'./diet.js').then(module => module)).default,
|
|
4003
4068
|
'dart': async () => (await import(
|
|
4004
|
-
/* webpackChunkName: "configuration-dart" */
|
|
4069
|
+
/* webpackChunkName: "language-configuration-dart" */
|
|
4005
4070
|
'./dart.js').then(module => module)).default,
|
|
4006
4071
|
'haskell': async () => (await import(
|
|
4007
|
-
/* webpackChunkName: "configuration-haskell" */
|
|
4072
|
+
/* webpackChunkName: "language-configuration-haskell" */
|
|
4008
4073
|
'./haskell.js').then(module => module)).default,
|
|
4009
4074
|
'cabal': async () => (await import(
|
|
4010
|
-
/* webpackChunkName: "configuration-cabal" */
|
|
4075
|
+
/* webpackChunkName: "language-configuration-cabal" */
|
|
4011
4076
|
'./cabal.js').then(module => module)).default,
|
|
4012
4077
|
'literate haskell': async () => (await import(
|
|
4013
|
-
/* webpackChunkName: "configuration-literate haskell" */
|
|
4078
|
+
/* webpackChunkName: "language-configuration-literate haskell" */
|
|
4014
4079
|
'./literate haskell.js').then(module => module)).default,
|
|
4015
4080
|
'kotlin': async () => (await import(
|
|
4016
|
-
/* webpackChunkName: "configuration-kotlin" */
|
|
4081
|
+
/* webpackChunkName: "language-configuration-kotlin" */
|
|
4017
4082
|
'./kotlin.js').then(module => module)).default,
|
|
4018
4083
|
'kotlinscript': async () => (await import(
|
|
4019
|
-
/* webpackChunkName: "configuration-kotlinscript" */
|
|
4084
|
+
/* webpackChunkName: "language-configuration-kotlinscript" */
|
|
4020
4085
|
'./kotlinscript.js').then(module => module)).default,
|
|
4021
4086
|
'ocaml': async () => (await import(
|
|
4022
|
-
/* webpackChunkName: "configuration-ocaml" */
|
|
4087
|
+
/* webpackChunkName: "language-configuration-ocaml" */
|
|
4023
4088
|
'./ocaml.js').then(module => module)).default,
|
|
4024
4089
|
'reason': async () => (await import(
|
|
4025
|
-
/* webpackChunkName: "configuration-reason" */
|
|
4090
|
+
/* webpackChunkName: "language-configuration-reason" */
|
|
4026
4091
|
'./reason.js').then(module => module)).default,
|
|
4027
4092
|
'pascal': async () => (await import(
|
|
4028
|
-
/* webpackChunkName: "configuration-pascal" */
|
|
4093
|
+
/* webpackChunkName: "language-configuration-pascal" */
|
|
4029
4094
|
'./pascal.js').then(module => module)).default,
|
|
4030
4095
|
'scala': async () => (await import(
|
|
4031
|
-
/* webpackChunkName: "configuration-scala" */
|
|
4096
|
+
/* webpackChunkName: "language-configuration-scala" */
|
|
4032
4097
|
'./scala.js').then(module => module)).default,
|
|
4033
4098
|
'COBOL': async () => (await import(
|
|
4034
|
-
/* webpackChunkName: "configuration-COBOL" */
|
|
4099
|
+
/* webpackChunkName: "language-configuration-COBOL" */
|
|
4035
4100
|
'./COBOL.js').then(module => module)).default,
|
|
4036
4101
|
'COBOL Copybook': async () => (await import(
|
|
4037
|
-
/* webpackChunkName: "configuration-COBOL Copybook" */
|
|
4102
|
+
/* webpackChunkName: "language-configuration-COBOL Copybook" */
|
|
4038
4103
|
'./COBOL Copybook.js').then(module => module)).default,
|
|
4039
4104
|
'elixir': async () => (await import(
|
|
4040
|
-
/* webpackChunkName: "configuration-elixir" */
|
|
4105
|
+
/* webpackChunkName: "language-configuration-elixir" */
|
|
4041
4106
|
'./elixir.js').then(module => module)).default,
|
|
4042
4107
|
'HTML (Eex)': async () => (await import(
|
|
4043
|
-
/* webpackChunkName: "configuration-HTML (Eex)" */
|
|
4108
|
+
/* webpackChunkName: "language-configuration-HTML (Eex)" */
|
|
4044
4109
|
'./HTML (Eex).js').then(module => module)).default,
|
|
4045
4110
|
'erlang': async () => (await import(
|
|
4046
|
-
/* webpackChunkName: "configuration-erlang" */
|
|
4111
|
+
/* webpackChunkName: "language-configuration-erlang" */
|
|
4047
4112
|
'./erlang.js').then(module => module)).default,
|
|
4048
4113
|
'tcl': async () => (await import(
|
|
4049
|
-
/* webpackChunkName: "configuration-tcl" */
|
|
4114
|
+
/* webpackChunkName: "language-configuration-tcl" */
|
|
4050
4115
|
'./tcl.js').then(module => module)).default,
|
|
4051
4116
|
'verilog': async () => (await import(
|
|
4052
|
-
/* webpackChunkName: "configuration-verilog" */
|
|
4117
|
+
/* webpackChunkName: "language-configuration-verilog" */
|
|
4053
4118
|
'./verilog.js').then(module => module)).default,
|
|
4054
4119
|
'systemverilog': async () => (await import(
|
|
4055
|
-
/* webpackChunkName: "configuration-systemverilog" */
|
|
4120
|
+
/* webpackChunkName: "language-configuration-systemverilog" */
|
|
4056
4121
|
'./systemverilog.js').then(module => module)).default,
|
|
4057
4122
|
'bsv': async () => (await import(
|
|
4058
|
-
/* webpackChunkName: "configuration-bsv" */
|
|
4123
|
+
/* webpackChunkName: "language-configuration-bsv" */
|
|
4059
4124
|
'./bsv.js').then(module => module)).default,
|
|
4060
4125
|
'ucf': async () => (await import(
|
|
4061
|
-
/* webpackChunkName: "configuration-ucf" */
|
|
4126
|
+
/* webpackChunkName: "language-configuration-ucf" */
|
|
4062
4127
|
'./ucf.js').then(module => module)).default,
|
|
4063
4128
|
'sdc': async () => (await import(
|
|
4064
|
-
/* webpackChunkName: "configuration-sdc" */
|
|
4129
|
+
/* webpackChunkName: "language-configuration-sdc" */
|
|
4065
4130
|
'./sdc.js').then(module => module)).default,
|
|
4066
4131
|
'xdc': async () => (await import(
|
|
4067
|
-
/* webpackChunkName: "configuration-xdc" */
|
|
4132
|
+
/* webpackChunkName: "language-configuration-xdc" */
|
|
4068
4133
|
'./xdc.js').then(module => module)).default,
|
|
4069
4134
|
'postgres': async () => (await import(
|
|
4070
|
-
/* webpackChunkName: "configuration-postgres" */
|
|
4135
|
+
/* webpackChunkName: "language-configuration-postgres" */
|
|
4071
4136
|
'./postgres.js').then(module => module)).default,
|
|
4072
4137
|
'aspnetcorerazor': async () => (await import(
|
|
4073
|
-
/* webpackChunkName: "configuration-aspnetcorerazor" */
|
|
4138
|
+
/* webpackChunkName: "language-configuration-aspnetcorerazor" */
|
|
4074
4139
|
'./aspnetcorerazor.js').then(module => module)).default,
|
|
4075
4140
|
'pip-requirements': async () => (await import(
|
|
4076
|
-
/* webpackChunkName: "configuration-pip-requirements" */
|
|
4141
|
+
/* webpackChunkName: "language-configuration-pip-requirements" */
|
|
4077
4142
|
'./pip-requirements.js').then(module => module)).default,
|
|
4078
4143
|
'rd': async () => (await import(
|
|
4079
|
-
/* webpackChunkName: "configuration-rd" */
|
|
4144
|
+
/* webpackChunkName: "language-configuration-rd" */
|
|
4080
4145
|
'./rd.js').then(module => module)).default,
|
|
4081
4146
|
'rmd': async () => (await import(
|
|
4082
|
-
/* webpackChunkName: "configuration-rmd" */
|
|
4147
|
+
/* webpackChunkName: "language-configuration-rmd" */
|
|
4083
4148
|
'./rmd.js').then(module => module)).default,
|
|
4084
4149
|
'debian-control.r': async () => (await import(
|
|
4085
|
-
/* webpackChunkName: "configuration-debian-control.r" */
|
|
4150
|
+
/* webpackChunkName: "language-configuration-debian-control.r" */
|
|
4086
4151
|
'./debian-control.r.js').then(module => module)).default
|
|
4087
4152
|
};
|
|
4088
4153
|
|
|
4089
4154
|
// Generated file, do not modify
|
|
4090
4155
|
|
|
4091
4156
|
/* eslint-disable */
|
|
4092
|
-
|
|
4157
|
+
const loader = {
|
|
4093
4158
|
'coffeescript': async () => (await import(
|
|
4094
4159
|
/* webpackChunkName: "snippet-coffeescript" */
|
|
4095
4160
|
'./coffeescript-coffeescript.js').then(module => module)).default,
|
|
@@ -4189,10 +4254,6 @@ var snippetLoader = {
|
|
|
4189
4254
|
};
|
|
4190
4255
|
|
|
4191
4256
|
class SimpleSnippetService {
|
|
4192
|
-
constructor() {
|
|
4193
|
-
_defineProperty(this, "_serviceBrand", void 0);
|
|
4194
|
-
}
|
|
4195
|
-
|
|
4196
4257
|
isEnabled(snippet) {
|
|
4197
4258
|
return snippet.snippetIdentifier != null || true;
|
|
4198
4259
|
}
|
|
@@ -4203,10 +4264,10 @@ class SimpleSnippetService {
|
|
|
4203
4264
|
|
|
4204
4265
|
async getSnippets(languageId, opt) {
|
|
4205
4266
|
const result = [];
|
|
4206
|
-
const loader =
|
|
4267
|
+
const loader$1 = loader[languageId];
|
|
4207
4268
|
|
|
4208
|
-
if (loader != null) {
|
|
4209
|
-
const rawSnippets = await loader();
|
|
4269
|
+
if (loader$1 != null) {
|
|
4270
|
+
const rawSnippets = await loader$1();
|
|
4210
4271
|
const snippets = Object.entries(rawSnippets).flatMap(_ref => {
|
|
4211
4272
|
let [name, value] = _ref;
|
|
4212
4273
|
return monaco.extra.parseSnippet(name, value, [languageId], 'User Snippet', monaco.extra.SnippetSource.Extension);
|
|
@@ -4242,7 +4303,8 @@ const customAliases = {
|
|
|
4242
4303
|
python: ['datascience-python', 'python3'],
|
|
4243
4304
|
r: ['datascience-r'],
|
|
4244
4305
|
vb: ['vb.net'],
|
|
4245
|
-
|
|
4306
|
+
javascriptreact: ['react'],
|
|
4307
|
+
javascript: ['vue', 'node'],
|
|
4246
4308
|
typescript: ['angular'],
|
|
4247
4309
|
sql: ['mysql'],
|
|
4248
4310
|
postgres: ['postgresql', 'postgres', 'pg', 'postgre']
|
|
@@ -4270,7 +4332,7 @@ modeService.onDidEncounterLanguage(async languageId => {
|
|
|
4270
4332
|
return;
|
|
4271
4333
|
}
|
|
4272
4334
|
|
|
4273
|
-
const loader =
|
|
4335
|
+
const loader = loader$1[languageId];
|
|
4274
4336
|
|
|
4275
4337
|
if (loader != null) {
|
|
4276
4338
|
loader().then(configuration => {
|
|
@@ -5046,8 +5108,6 @@ class MultiEditorStandaloneCodeEditorServiceImpl extends monaco.extra.Standalone
|
|
|
5046
5108
|
constructor(styleSheet, contextKeyService, themeService, modelResolverService) {
|
|
5047
5109
|
super(styleSheet, contextKeyService, themeService);
|
|
5048
5110
|
|
|
5049
|
-
_defineProperty(this, "modelResolverService", void 0);
|
|
5050
|
-
|
|
5051
5111
|
_defineProperty(this, "handlers", []);
|
|
5052
5112
|
|
|
5053
5113
|
this.modelResolverService = modelResolverService;
|
|
@@ -5130,13 +5190,10 @@ class MultiEditorStandaloneCodeEditorServiceImpl extends monaco.extra.Standalone
|
|
|
5130
5190
|
|
|
5131
5191
|
class SimpleResolvedModel {
|
|
5132
5192
|
constructor(model, readonly) {
|
|
5133
|
-
this.model = model;
|
|
5134
|
-
this.readonly = readonly;
|
|
5135
|
-
|
|
5136
|
-
_defineProperty(this, "_onWillDispose", void 0);
|
|
5137
|
-
|
|
5138
5193
|
_defineProperty(this, "disposed", false);
|
|
5139
5194
|
|
|
5195
|
+
this.model = model;
|
|
5196
|
+
this.readonly = readonly;
|
|
5140
5197
|
this._onWillDispose = new monaco.Emitter();
|
|
5141
5198
|
}
|
|
5142
5199
|
|
package/dist/ocaml3.js
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
var ocaml = [
|
|
2
|
+
{
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "Reason configuration",
|
|
5
|
+
"properties": {
|
|
6
|
+
"reason.codelens.unicode": {
|
|
7
|
+
"type": "boolean",
|
|
8
|
+
"default": true,
|
|
9
|
+
"description": "Enable the use of unicode symbols in codelens.",
|
|
10
|
+
"scope": 3
|
|
11
|
+
},
|
|
12
|
+
"reason.codelens.enabled": {
|
|
13
|
+
"type": "boolean",
|
|
14
|
+
"default": false,
|
|
15
|
+
"description": "Specifies whether the code lens is shown.",
|
|
16
|
+
"scope": 3
|
|
17
|
+
},
|
|
18
|
+
"reason.debounce.linter": {
|
|
19
|
+
"oneOf": [
|
|
20
|
+
{
|
|
21
|
+
"type": "integer"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"enum": [
|
|
25
|
+
"Infinity"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"default": 500,
|
|
30
|
+
"description": "How long to idle (in milliseconds) after keypresses before refreshing linter diagnostics. Smaller values refresh diagnostics more quickly.",
|
|
31
|
+
"scope": 3
|
|
32
|
+
},
|
|
33
|
+
"reason.diagnostics.tools": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"enum": [
|
|
37
|
+
"merlin",
|
|
38
|
+
"bsb"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"default": [
|
|
42
|
+
"merlin"
|
|
43
|
+
],
|
|
44
|
+
"maxItems": 2,
|
|
45
|
+
"uniqueItems": true,
|
|
46
|
+
"description": "Specifies which tool or tools will be used to get diagnostics. If you choose both \"merlin\" and \"bsb\", merlin will be used while editing and bsb when saving.",
|
|
47
|
+
"scope": 3
|
|
48
|
+
},
|
|
49
|
+
"reason.format.width": {
|
|
50
|
+
"type": [
|
|
51
|
+
"number",
|
|
52
|
+
null
|
|
53
|
+
],
|
|
54
|
+
"default": null,
|
|
55
|
+
"description": "Set the width of lines when formatting code with refmt",
|
|
56
|
+
"scope": 3
|
|
57
|
+
},
|
|
58
|
+
"reason.path.bsb": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"default": "./node_modules/bs-platform/lib/bsb.exe",
|
|
61
|
+
"description": "The path to the `bsb` binary.",
|
|
62
|
+
"scope": 3
|
|
63
|
+
},
|
|
64
|
+
"reason.path.ocamlfind": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"default": "ocamlfind",
|
|
67
|
+
"description": "The path to the `ocamlfind` binary.",
|
|
68
|
+
"scope": 3
|
|
69
|
+
},
|
|
70
|
+
"reason.path.esy": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"default": "esy",
|
|
73
|
+
"description": "The path to the `esy` binary.",
|
|
74
|
+
"scope": 3
|
|
75
|
+
},
|
|
76
|
+
"reason.path.env": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "env",
|
|
79
|
+
"description": "The path to the `env` command which prints the language server environment for debugging editor issues.",
|
|
80
|
+
"scope": 3
|
|
81
|
+
},
|
|
82
|
+
"reason.path.ocamlmerlin": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"default": "ocamlmerlin",
|
|
85
|
+
"description": "The path to the `ocamlmerlin` binary.",
|
|
86
|
+
"scope": 3
|
|
87
|
+
},
|
|
88
|
+
"reason.path.ocpindent": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"default": "ocp-indent",
|
|
91
|
+
"description": "The path to the `ocp-indent` binary.",
|
|
92
|
+
"scope": 3
|
|
93
|
+
},
|
|
94
|
+
"reason.path.opam": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"default": "opam",
|
|
97
|
+
"description": "The path to the `opam` binary.",
|
|
98
|
+
"scope": 3
|
|
99
|
+
},
|
|
100
|
+
"reason.path.rebuild": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"default": "rebuild",
|
|
103
|
+
"description": "The path to the `rebuild` binary.",
|
|
104
|
+
"scope": 3
|
|
105
|
+
},
|
|
106
|
+
"reason.path.refmt": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"default": "refmt",
|
|
109
|
+
"description": "The path to the `refmt` binary.",
|
|
110
|
+
"scope": 3
|
|
111
|
+
},
|
|
112
|
+
"reason.path.refmterr": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"default": "refmterr",
|
|
115
|
+
"description": "The path to the `refmterr` binary.",
|
|
116
|
+
"scope": 3
|
|
117
|
+
},
|
|
118
|
+
"reason.path.rtop": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"default": "rtop",
|
|
121
|
+
"description": "The path to the `rtop` binary.",
|
|
122
|
+
"scope": 3
|
|
123
|
+
},
|
|
124
|
+
"reason.server.languages": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"items": {
|
|
127
|
+
"enum": [
|
|
128
|
+
"ocaml",
|
|
129
|
+
"reason"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
"default": [
|
|
133
|
+
"ocaml",
|
|
134
|
+
"reason"
|
|
135
|
+
],
|
|
136
|
+
"maxItems": 2,
|
|
137
|
+
"uniqueItems": true,
|
|
138
|
+
"description": "The list of languages enable support for in the language server.",
|
|
139
|
+
"scope": 3
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
];
|
|
144
|
+
|
|
145
|
+
export { ocaml as default };
|