@codingame/monaco-editor-wrapper 1.3.0 → 1.4.0

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 (46) hide show
  1. package/dist/Groovy2.js +28 -0
  2. package/dist/JavaScript.tmLanguage.js +22 -1
  3. package/dist/JavaScriptReact.tmLanguage.js +22 -1
  4. package/dist/TypeScript.tmLanguage.js +22 -1
  5. package/dist/TypeScriptReact.tmLanguage.js +22 -1
  6. package/dist/angular.js +56 -0
  7. package/dist/clojure.tmLanguage.js +11 -15
  8. package/dist/cobol2.js +80 -0
  9. package/dist/cpptools.js +2311 -0
  10. package/dist/csharp.tmLanguage.js +5 -5
  11. package/dist/d2.js +0 -64
  12. package/dist/d3.js +526 -0
  13. package/dist/dart3.js +966 -0
  14. package/dist/elixir3.js +40 -0
  15. package/dist/erlang2.js +92 -0
  16. package/dist/features/extensionConfigurations.d.ts +1 -0
  17. package/dist/features/extensionConfigurations.js +76 -9162
  18. package/dist/features/mutualizedExtensionConfigurations.d.ts +1 -0
  19. package/dist/features/mutualizedExtensionConfigurations.js +4857 -0
  20. package/dist/fsharp.tmLanguage.js +10 -1
  21. package/dist/haskell2.js +16 -0
  22. package/dist/java2.js +704 -0
  23. package/dist/jvm-bytecode-verbose.js +1231 -0
  24. package/dist/jvm-bytecode.js +565 -0
  25. package/dist/languages/extensions/configurationLoader.d.ts +7 -1
  26. package/dist/languages/extensions/extensionConfigurationLoader.d.ts +3 -0
  27. package/dist/languages/extensions/grammarLoader.d.ts +2 -101920
  28. package/dist/languages/extensions/languageConfigurationLoader.d.ts +3 -0
  29. package/dist/languages/extensions/snippetLoader.d.ts +3 -5606
  30. package/dist/lua2.js +1511 -0
  31. package/dist/main.js +138 -96
  32. package/dist/ocaml3.js +145 -0
  33. package/dist/omnisharp.js +522 -0
  34. package/dist/pascal2.js +26 -0
  35. package/dist/postgresql.js +75 -0
  36. package/dist/rmd.js +8 -1
  37. package/dist/scalameta.js +177 -0
  38. package/dist/sql.js +9 -2
  39. package/dist/tasty.js +72 -0
  40. package/dist/typescript-language-features.js +998 -0
  41. package/dist/verilog2.js +94 -0
  42. package/dist/vscode-R.js +513 -0
  43. package/dist/vscode-groovy.js +28 -0
  44. package/dist/vscode-python.js +677 -0
  45. package/package.json +10 -10
  46. package/stats.html +205 -795
package/dist/main.js CHANGED
@@ -813,6 +813,18 @@ 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
+ },
816
828
  {
817
829
  "language": "COBOL",
818
830
  "scopeName": "source.cobol",
@@ -991,7 +1003,7 @@ var rawGrammars = [
991
1003
  // Generated file, do not modify
992
1004
 
993
1005
  /* eslint-disable */
994
- var grammarLoader = {
1006
+ const loader$2 = {
995
1007
  'source.clojure': async () => (await import(
996
1008
  /* webpackChunkName: "grammar-source-clojure" */
997
1009
  './clojure.tmLanguage.js').then(module => module)).default,
@@ -1223,6 +1235,15 @@ var grammarLoader = {
1223
1235
  'source.scala': async () => (await import(
1224
1236
  /* webpackChunkName: "grammar-source-scala" */
1225
1237
  './Scala.tmLanguage.js').then(module => module)).default,
1238
+ 'source.jvm-bytecode-verbose': async () => (await import(
1239
+ /* webpackChunkName: "grammar-source-jvm-bytecode-verbose" */
1240
+ './jvm-bytecode-verbose.js').then(module => module)).default,
1241
+ 'source.jvm-bytecode': async () => (await import(
1242
+ /* webpackChunkName: "grammar-source-jvm-bytecode" */
1243
+ './jvm-bytecode.js').then(module => module)).default,
1244
+ 'source.tasty': async () => (await import(
1245
+ /* webpackChunkName: "grammar-source-tasty" */
1246
+ './tasty.js').then(module => module)).default,
1226
1247
  'source.cobol': async () => (await import(
1227
1248
  /* webpackChunkName: "grammar-source-cobol" */
1228
1249
  './COBOL.tmLanguage.js').then(module => module)).default,
@@ -1318,6 +1339,11 @@ var configurationDefaults = {
1318
1339
  "files.watcherExclude": {
1319
1340
  "**/.dart_tool": true
1320
1341
  },
1342
+ "[scala]": {
1343
+ "editor.suggestSelection": "first",
1344
+ "editor.formatOnPaste": true,
1345
+ "editor.formatOnType": true
1346
+ },
1321
1347
  "[COBOL]": {
1322
1348
  "editor.renderIndentGuides": false,
1323
1349
  "editor.rulers": [
@@ -1749,9 +1775,6 @@ var semanticTokenScopes = [
1749
1775
  "keyword.control": [
1750
1776
  "keyword.control"
1751
1777
  ],
1752
- "property.declaration": [
1753
- "entity.name.function.member"
1754
- ],
1755
1778
  "string.escape": [
1756
1779
  "constant.character.escape"
1757
1780
  ],
@@ -2484,7 +2507,7 @@ function createGrammarFactory() {
2484
2507
  const parsedGrammars = rawGrammars.map(grammar => _objectSpread2(_objectSpread2({}, monaco.extra.parseTextMateGrammar(grammar, modeService)), {}, {
2485
2508
  location: monaco.Uri.file(grammar.scopeName + '.json')
2486
2509
  }));
2487
- return new CGTMGrammarFactory(parsedGrammars, grammarLoader, onigFile);
2510
+ return new CGTMGrammarFactory(parsedGrammars, loader$2, onigFile);
2488
2511
  }
2489
2512
 
2490
2513
  let textMateGrammarFactory = null;
@@ -3472,6 +3495,34 @@ var textMateLanguages = [
3472
3495
  ".sc"
3473
3496
  ]
3474
3497
  },
3498
+ {
3499
+ "id": "javap-verbose",
3500
+ "extensions": [
3501
+ ".javap-verbose"
3502
+ ]
3503
+ },
3504
+ {
3505
+ "id": "javap",
3506
+ "extensions": [
3507
+ ".javap"
3508
+ ]
3509
+ },
3510
+ {
3511
+ "id": "java",
3512
+ "extensions": [
3513
+ ".cfr"
3514
+ ]
3515
+ },
3516
+ {
3517
+ "id": "tasty",
3518
+ "aliases": [
3519
+ "TASTy",
3520
+ "tasty"
3521
+ ],
3522
+ "extensions": [
3523
+ ".tasty-decoded"
3524
+ ]
3525
+ },
3475
3526
  {
3476
3527
  "id": "COBOL",
3477
3528
  "extensions": [
@@ -3861,235 +3912,235 @@ const languageLoader = {
3861
3912
  // Generated file, do not modify
3862
3913
 
3863
3914
  /* eslint-disable */
3864
- var configurationLoader = {
3915
+ const loader$1 = {
3865
3916
  'clojure': async () => (await import(
3866
- /* webpackChunkName: "configuration-clojure" */
3917
+ /* webpackChunkName: "language-configuration-clojure" */
3867
3918
  './clojure.js').then(module => module)).default,
3868
3919
  'coffeescript': async () => (await import(
3869
- /* webpackChunkName: "configuration-coffeescript" */
3920
+ /* webpackChunkName: "language-configuration-coffeescript" */
3870
3921
  './coffeescript.js').then(module => module)).default,
3871
3922
  'c': async () => (await import(
3872
- /* webpackChunkName: "configuration-c" */
3923
+ /* webpackChunkName: "language-configuration-c" */
3873
3924
  './c.js').then(module => module)).default,
3874
3925
  'cpp': async () => (await import(
3875
- /* webpackChunkName: "configuration-cpp" */
3926
+ /* webpackChunkName: "language-configuration-cpp" */
3876
3927
  './cpp.js').then(module => module)).default,
3877
3928
  'cuda-cpp': async () => (await import(
3878
- /* webpackChunkName: "configuration-cuda-cpp" */
3929
+ /* webpackChunkName: "language-configuration-cuda-cpp" */
3879
3930
  './cuda-cpp.js').then(module => module)).default,
3880
3931
  'csharp': async () => (await import(
3881
- /* webpackChunkName: "configuration-csharp" */
3932
+ /* webpackChunkName: "language-configuration-csharp" */
3882
3933
  './csharp.js').then(module => module)).default,
3883
3934
  'css': async () => (await import(
3884
- /* webpackChunkName: "configuration-css" */
3935
+ /* webpackChunkName: "language-configuration-css" */
3885
3936
  './css.js').then(module => module)).default,
3886
3937
  'fsharp': async () => (await import(
3887
- /* webpackChunkName: "configuration-fsharp" */
3938
+ /* webpackChunkName: "language-configuration-fsharp" */
3888
3939
  './fsharp.js').then(module => module)).default,
3889
3940
  'go': async () => (await import(
3890
- /* webpackChunkName: "configuration-go" */
3941
+ /* webpackChunkName: "language-configuration-go" */
3891
3942
  './go.js').then(module => module)).default,
3892
3943
  'groovy': async () => (await import(
3893
- /* webpackChunkName: "configuration-groovy" */
3944
+ /* webpackChunkName: "language-configuration-groovy" */
3894
3945
  './groovy.js').then(module => module)).default,
3895
3946
  'html': async () => (await import(
3896
- /* webpackChunkName: "configuration-html" */
3947
+ /* webpackChunkName: "language-configuration-html" */
3897
3948
  './html.js').then(module => module)).default,
3898
3949
  'java': async () => (await import(
3899
- /* webpackChunkName: "configuration-java" */
3950
+ /* webpackChunkName: "language-configuration-java" */
3900
3951
  './java.js').then(module => module)).default,
3901
3952
  'javascriptreact': async () => (await import(
3902
- /* webpackChunkName: "configuration-javascriptreact" */
3953
+ /* webpackChunkName: "language-configuration-javascriptreact" */
3903
3954
  './javascriptreact.js').then(module => module)).default,
3904
3955
  'javascript': async () => (await import(
3905
- /* webpackChunkName: "configuration-javascript" */
3956
+ /* webpackChunkName: "language-configuration-javascript" */
3906
3957
  './javascript.js').then(module => module)).default,
3907
3958
  'jsx-tags': async () => (await import(
3908
- /* webpackChunkName: "configuration-jsx-tags" */
3959
+ /* webpackChunkName: "language-configuration-jsx-tags" */
3909
3960
  './jsx-tags.js').then(module => module)).default,
3910
3961
  'json': async () => (await import(
3911
- /* webpackChunkName: "configuration-json" */
3962
+ /* webpackChunkName: "language-configuration-json" */
3912
3963
  './json.js').then(module => module)).default,
3913
3964
  'jsonc': async () => (await import(
3914
- /* webpackChunkName: "configuration-jsonc" */
3965
+ /* webpackChunkName: "language-configuration-jsonc" */
3915
3966
  './jsonc.js').then(module => module)).default,
3916
3967
  'lua': async () => (await import(
3917
- /* webpackChunkName: "configuration-lua" */
3968
+ /* webpackChunkName: "language-configuration-lua" */
3918
3969
  './lua.js').then(module => module)).default,
3919
3970
  'markdown': async () => (await import(
3920
- /* webpackChunkName: "configuration-markdown" */
3971
+ /* webpackChunkName: "language-configuration-markdown" */
3921
3972
  './markdown.js').then(module => module)).default,
3922
3973
  'objective-c': async () => (await import(
3923
- /* webpackChunkName: "configuration-objective-c" */
3974
+ /* webpackChunkName: "language-configuration-objective-c" */
3924
3975
  './objective-c.js').then(module => module)).default,
3925
3976
  'objective-cpp': async () => (await import(
3926
- /* webpackChunkName: "configuration-objective-cpp" */
3977
+ /* webpackChunkName: "language-configuration-objective-cpp" */
3927
3978
  './objective-cpp.js').then(module => module)).default,
3928
3979
  'perl': async () => (await import(
3929
- /* webpackChunkName: "configuration-perl" */
3980
+ /* webpackChunkName: "language-configuration-perl" */
3930
3981
  './perl.js').then(module => module)).default,
3931
3982
  'perl6': async () => (await import(
3932
- /* webpackChunkName: "configuration-perl6" */
3983
+ /* webpackChunkName: "language-configuration-perl6" */
3933
3984
  './perl6.js').then(module => module)).default,
3934
3985
  'php': async () => (await import(
3935
- /* webpackChunkName: "configuration-php" */
3986
+ /* webpackChunkName: "language-configuration-php" */
3936
3987
  './php.js').then(module => module)).default,
3937
3988
  'powershell': async () => (await import(
3938
- /* webpackChunkName: "configuration-powershell" */
3989
+ /* webpackChunkName: "language-configuration-powershell" */
3939
3990
  './powershell.js').then(module => module)).default,
3940
3991
  'python': async () => (await import(
3941
- /* webpackChunkName: "configuration-python" */
3992
+ /* webpackChunkName: "language-configuration-python" */
3942
3993
  './python.js').then(module => module)).default,
3943
3994
  'r': async () => (await import(
3944
- /* webpackChunkName: "configuration-r" */
3995
+ /* webpackChunkName: "language-configuration-r" */
3945
3996
  './r.js').then(module => module)).default,
3946
3997
  'ruby': async () => (await import(
3947
- /* webpackChunkName: "configuration-ruby" */
3998
+ /* webpackChunkName: "language-configuration-ruby" */
3948
3999
  './ruby.js').then(module => module)).default,
3949
4000
  'rust': async () => (await import(
3950
- /* webpackChunkName: "configuration-rust" */
4001
+ /* webpackChunkName: "language-configuration-rust" */
3951
4002
  './rust.js').then(module => module)).default,
3952
4003
  'scss': async () => (await import(
3953
- /* webpackChunkName: "configuration-scss" */
4004
+ /* webpackChunkName: "language-configuration-scss" */
3954
4005
  './scss.js').then(module => module)).default,
3955
4006
  'shellscript': async () => (await import(
3956
- /* webpackChunkName: "configuration-shellscript" */
4007
+ /* webpackChunkName: "language-configuration-shellscript" */
3957
4008
  './shellscript.js').then(module => module)).default,
3958
4009
  'sql': async () => (await import(
3959
- /* webpackChunkName: "configuration-sql" */
4010
+ /* webpackChunkName: "language-configuration-sql" */
3960
4011
  './sql.js').then(module => module)).default,
3961
4012
  'swift': async () => (await import(
3962
- /* webpackChunkName: "configuration-swift" */
4013
+ /* webpackChunkName: "language-configuration-swift" */
3963
4014
  './swift.js').then(module => module)).default,
3964
4015
  'typescript': async () => (await import(
3965
- /* webpackChunkName: "configuration-typescript" */
4016
+ /* webpackChunkName: "language-configuration-typescript" */
3966
4017
  './typescript.js').then(module => module)).default,
3967
4018
  'typescriptreact': async () => (await import(
3968
- /* webpackChunkName: "configuration-typescriptreact" */
4019
+ /* webpackChunkName: "language-configuration-typescriptreact" */
3969
4020
  './typescriptreact.js').then(module => module)).default,
3970
4021
  'vb': async () => (await import(
3971
- /* webpackChunkName: "configuration-vb" */
4022
+ /* webpackChunkName: "language-configuration-vb" */
3972
4023
  './vb.js').then(module => module)).default,
3973
4024
  'xml': async () => (await import(
3974
- /* webpackChunkName: "configuration-xml" */
4025
+ /* webpackChunkName: "language-configuration-xml" */
3975
4026
  './xml.js').then(module => module)).default,
3976
4027
  'xsl': async () => (await import(
3977
- /* webpackChunkName: "configuration-xsl" */
4028
+ /* webpackChunkName: "language-configuration-xsl" */
3978
4029
  './xsl.js').then(module => module)).default,
3979
4030
  'dockercompose': async () => (await import(
3980
- /* webpackChunkName: "configuration-dockercompose" */
4031
+ /* webpackChunkName: "language-configuration-dockercompose" */
3981
4032
  './dockercompose.js').then(module => module)).default,
3982
4033
  'yaml': async () => (await import(
3983
- /* webpackChunkName: "configuration-yaml" */
4034
+ /* webpackChunkName: "language-configuration-yaml" */
3984
4035
  './yaml.js').then(module => module)).default,
3985
4036
  'd': async () => (await import(
3986
- /* webpackChunkName: "configuration-d" */
4037
+ /* webpackChunkName: "language-configuration-d" */
3987
4038
  './d.js').then(module => module)).default,
3988
4039
  'dpp': async () => (await import(
3989
- /* webpackChunkName: "configuration-dpp" */
4040
+ /* webpackChunkName: "language-configuration-dpp" */
3990
4041
  './dpp.js').then(module => module)).default,
3991
4042
  'dscript': async () => (await import(
3992
- /* webpackChunkName: "configuration-dscript" */
4043
+ /* webpackChunkName: "language-configuration-dscript" */
3993
4044
  './dscript.js').then(module => module)).default,
3994
4045
  'dml': async () => (await import(
3995
- /* webpackChunkName: "configuration-dml" */
4046
+ /* webpackChunkName: "language-configuration-dml" */
3996
4047
  './dml.js').then(module => module)).default,
3997
4048
  'sdl': async () => (await import(
3998
- /* webpackChunkName: "configuration-sdl" */
4049
+ /* webpackChunkName: "language-configuration-sdl" */
3999
4050
  './sdl.js').then(module => module)).default,
4000
4051
  'diet': async () => (await import(
4001
- /* webpackChunkName: "configuration-diet" */
4052
+ /* webpackChunkName: "language-configuration-diet" */
4002
4053
  './diet.js').then(module => module)).default,
4003
4054
  'dart': async () => (await import(
4004
- /* webpackChunkName: "configuration-dart" */
4055
+ /* webpackChunkName: "language-configuration-dart" */
4005
4056
  './dart.js').then(module => module)).default,
4006
4057
  'haskell': async () => (await import(
4007
- /* webpackChunkName: "configuration-haskell" */
4058
+ /* webpackChunkName: "language-configuration-haskell" */
4008
4059
  './haskell.js').then(module => module)).default,
4009
4060
  'cabal': async () => (await import(
4010
- /* webpackChunkName: "configuration-cabal" */
4061
+ /* webpackChunkName: "language-configuration-cabal" */
4011
4062
  './cabal.js').then(module => module)).default,
4012
4063
  'literate haskell': async () => (await import(
4013
- /* webpackChunkName: "configuration-literate haskell" */
4064
+ /* webpackChunkName: "language-configuration-literate haskell" */
4014
4065
  './literate haskell.js').then(module => module)).default,
4015
4066
  'kotlin': async () => (await import(
4016
- /* webpackChunkName: "configuration-kotlin" */
4067
+ /* webpackChunkName: "language-configuration-kotlin" */
4017
4068
  './kotlin.js').then(module => module)).default,
4018
4069
  'kotlinscript': async () => (await import(
4019
- /* webpackChunkName: "configuration-kotlinscript" */
4070
+ /* webpackChunkName: "language-configuration-kotlinscript" */
4020
4071
  './kotlinscript.js').then(module => module)).default,
4021
4072
  'ocaml': async () => (await import(
4022
- /* webpackChunkName: "configuration-ocaml" */
4073
+ /* webpackChunkName: "language-configuration-ocaml" */
4023
4074
  './ocaml.js').then(module => module)).default,
4024
4075
  'reason': async () => (await import(
4025
- /* webpackChunkName: "configuration-reason" */
4076
+ /* webpackChunkName: "language-configuration-reason" */
4026
4077
  './reason.js').then(module => module)).default,
4027
4078
  'pascal': async () => (await import(
4028
- /* webpackChunkName: "configuration-pascal" */
4079
+ /* webpackChunkName: "language-configuration-pascal" */
4029
4080
  './pascal.js').then(module => module)).default,
4030
4081
  'scala': async () => (await import(
4031
- /* webpackChunkName: "configuration-scala" */
4082
+ /* webpackChunkName: "language-configuration-scala" */
4032
4083
  './scala.js').then(module => module)).default,
4033
4084
  'COBOL': async () => (await import(
4034
- /* webpackChunkName: "configuration-COBOL" */
4085
+ /* webpackChunkName: "language-configuration-COBOL" */
4035
4086
  './COBOL.js').then(module => module)).default,
4036
4087
  'COBOL Copybook': async () => (await import(
4037
- /* webpackChunkName: "configuration-COBOL Copybook" */
4088
+ /* webpackChunkName: "language-configuration-COBOL Copybook" */
4038
4089
  './COBOL Copybook.js').then(module => module)).default,
4039
4090
  'elixir': async () => (await import(
4040
- /* webpackChunkName: "configuration-elixir" */
4091
+ /* webpackChunkName: "language-configuration-elixir" */
4041
4092
  './elixir.js').then(module => module)).default,
4042
4093
  'HTML (Eex)': async () => (await import(
4043
- /* webpackChunkName: "configuration-HTML (Eex)" */
4094
+ /* webpackChunkName: "language-configuration-HTML (Eex)" */
4044
4095
  './HTML (Eex).js').then(module => module)).default,
4045
4096
  'erlang': async () => (await import(
4046
- /* webpackChunkName: "configuration-erlang" */
4097
+ /* webpackChunkName: "language-configuration-erlang" */
4047
4098
  './erlang.js').then(module => module)).default,
4048
4099
  'tcl': async () => (await import(
4049
- /* webpackChunkName: "configuration-tcl" */
4100
+ /* webpackChunkName: "language-configuration-tcl" */
4050
4101
  './tcl.js').then(module => module)).default,
4051
4102
  'verilog': async () => (await import(
4052
- /* webpackChunkName: "configuration-verilog" */
4103
+ /* webpackChunkName: "language-configuration-verilog" */
4053
4104
  './verilog.js').then(module => module)).default,
4054
4105
  'systemverilog': async () => (await import(
4055
- /* webpackChunkName: "configuration-systemverilog" */
4106
+ /* webpackChunkName: "language-configuration-systemverilog" */
4056
4107
  './systemverilog.js').then(module => module)).default,
4057
4108
  'bsv': async () => (await import(
4058
- /* webpackChunkName: "configuration-bsv" */
4109
+ /* webpackChunkName: "language-configuration-bsv" */
4059
4110
  './bsv.js').then(module => module)).default,
4060
4111
  'ucf': async () => (await import(
4061
- /* webpackChunkName: "configuration-ucf" */
4112
+ /* webpackChunkName: "language-configuration-ucf" */
4062
4113
  './ucf.js').then(module => module)).default,
4063
4114
  'sdc': async () => (await import(
4064
- /* webpackChunkName: "configuration-sdc" */
4115
+ /* webpackChunkName: "language-configuration-sdc" */
4065
4116
  './sdc.js').then(module => module)).default,
4066
4117
  'xdc': async () => (await import(
4067
- /* webpackChunkName: "configuration-xdc" */
4118
+ /* webpackChunkName: "language-configuration-xdc" */
4068
4119
  './xdc.js').then(module => module)).default,
4069
4120
  'postgres': async () => (await import(
4070
- /* webpackChunkName: "configuration-postgres" */
4121
+ /* webpackChunkName: "language-configuration-postgres" */
4071
4122
  './postgres.js').then(module => module)).default,
4072
4123
  'aspnetcorerazor': async () => (await import(
4073
- /* webpackChunkName: "configuration-aspnetcorerazor" */
4124
+ /* webpackChunkName: "language-configuration-aspnetcorerazor" */
4074
4125
  './aspnetcorerazor.js').then(module => module)).default,
4075
4126
  'pip-requirements': async () => (await import(
4076
- /* webpackChunkName: "configuration-pip-requirements" */
4127
+ /* webpackChunkName: "language-configuration-pip-requirements" */
4077
4128
  './pip-requirements.js').then(module => module)).default,
4078
4129
  'rd': async () => (await import(
4079
- /* webpackChunkName: "configuration-rd" */
4130
+ /* webpackChunkName: "language-configuration-rd" */
4080
4131
  './rd.js').then(module => module)).default,
4081
4132
  'rmd': async () => (await import(
4082
- /* webpackChunkName: "configuration-rmd" */
4133
+ /* webpackChunkName: "language-configuration-rmd" */
4083
4134
  './rmd.js').then(module => module)).default,
4084
4135
  'debian-control.r': async () => (await import(
4085
- /* webpackChunkName: "configuration-debian-control.r" */
4136
+ /* webpackChunkName: "language-configuration-debian-control.r" */
4086
4137
  './debian-control.r.js').then(module => module)).default
4087
4138
  };
4088
4139
 
4089
4140
  // Generated file, do not modify
4090
4141
 
4091
4142
  /* eslint-disable */
4092
- var snippetLoader = {
4143
+ const loader = {
4093
4144
  'coffeescript': async () => (await import(
4094
4145
  /* webpackChunkName: "snippet-coffeescript" */
4095
4146
  './coffeescript-coffeescript.js').then(module => module)).default,
@@ -4189,10 +4240,6 @@ var snippetLoader = {
4189
4240
  };
4190
4241
 
4191
4242
  class SimpleSnippetService {
4192
- constructor() {
4193
- _defineProperty(this, "_serviceBrand", void 0);
4194
- }
4195
-
4196
4243
  isEnabled(snippet) {
4197
4244
  return snippet.snippetIdentifier != null || true;
4198
4245
  }
@@ -4203,10 +4250,10 @@ class SimpleSnippetService {
4203
4250
 
4204
4251
  async getSnippets(languageId, opt) {
4205
4252
  const result = [];
4206
- const loader = snippetLoader[languageId];
4253
+ const loader$1 = loader[languageId];
4207
4254
 
4208
- if (loader != null) {
4209
- const rawSnippets = await loader();
4255
+ if (loader$1 != null) {
4256
+ const rawSnippets = await loader$1();
4210
4257
  const snippets = Object.entries(rawSnippets).flatMap(_ref => {
4211
4258
  let [name, value] = _ref;
4212
4259
  return monaco.extra.parseSnippet(name, value, [languageId], 'User Snippet', monaco.extra.SnippetSource.Extension);
@@ -4271,7 +4318,7 @@ modeService.onDidEncounterLanguage(async languageId => {
4271
4318
  return;
4272
4319
  }
4273
4320
 
4274
- const loader = configurationLoader[languageId];
4321
+ const loader = loader$1[languageId];
4275
4322
 
4276
4323
  if (loader != null) {
4277
4324
  loader().then(configuration => {
@@ -5047,8 +5094,6 @@ class MultiEditorStandaloneCodeEditorServiceImpl extends monaco.extra.Standalone
5047
5094
  constructor(styleSheet, contextKeyService, themeService, modelResolverService) {
5048
5095
  super(styleSheet, contextKeyService, themeService);
5049
5096
 
5050
- _defineProperty(this, "modelResolverService", void 0);
5051
-
5052
5097
  _defineProperty(this, "handlers", []);
5053
5098
 
5054
5099
  this.modelResolverService = modelResolverService;
@@ -5131,13 +5176,10 @@ class MultiEditorStandaloneCodeEditorServiceImpl extends monaco.extra.Standalone
5131
5176
 
5132
5177
  class SimpleResolvedModel {
5133
5178
  constructor(model, readonly) {
5134
- this.model = model;
5135
- this.readonly = readonly;
5136
-
5137
- _defineProperty(this, "_onWillDispose", void 0);
5138
-
5139
5179
  _defineProperty(this, "disposed", false);
5140
5180
 
5181
+ this.model = model;
5182
+ this.readonly = readonly;
5141
5183
  this._onWillDispose = new monaco.Emitter();
5142
5184
  }
5143
5185
 
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 };