Commit Graph

3339 Commits (21db3aebf09e6e3c43720084e270870184855642)
 

Author SHA1 Message Date
Orta 86f6d762df Use JavaScript for the language to get syntax highlighting, but not tooling 5 years ago
Orta 7a46ec2649 Adds monaco models for the lib d.ts files
Co-authored-by: Wesley Wigham <wwigham@gmail.com>
5 years ago
alan.invents b2e616bc5f Edit monaco.contribution.ts... 5 years ago
alan.invents b2a10419ce Finish implementing Scala 5 years ago
Orta Therox 1d6f5a0e24 Let TypeScript resolve deps in lib files + allow external tools to extend the lib support 5 years ago
Orta Therox b717cfe2f1 Adds compiler options to the test page 5 years ago
Orta Therox 3237250330 Fix a crash in getValidSourceFile when the text content is empty 5 years ago
Orta Therox bb69053ca5 Adds support for error messages to include a reference to require 5 years ago
Mert Caliskan 1cc49e82f5 introduce preliminary Scala support, highly inspired by src/java content. 5 years ago
Taymon A. Beal a87d0cce83 Add asserts, bigint, and unknown to TypeScript keywords
Also, while I'm in here, consolidate typeKeywords into keywords in order to make it easier to keep this in sync with TypeScript going forward. I'm assuming that typeKeywords is not part of Monaco's public API that third-party integrations are supposed to depend on; if it is, then I can undo this.

Fixes: microsoft/monaco-editor#1978
5 years ago
Philip Winston 7d61f37314 Add require path to README 5 years ago
Max Schmitt 0a5bf64304
ci: fixed smoke tests by increasing timeout 5 years ago
Max Schmitt 1dd0635db4
feat: fix and migrate smoke tests to Playwright (#1961)
* feat: migrate e2e tests to Playwright

* fix: OS dependency

* fix: race condition

* fix: increased launch timeout
5 years ago
skacurt 93f8458ba0 [vb] fix string literals
aims to close microsoft/monaco-editor#1958 and microsoft/monaco-editor#1941
5 years ago
Justin Mancusi 3875ac87b3 Updates the comment tokenization for handlebars syntax.
This updates the tokenization to support mustaches in
block comments per the handlebars documentation [1].

[1] https://handlebarsjs.com/guide/#template-comments
5 years ago
Alex Dima f6505d22f2
Load the editor after `<body>` is defined 5 years ago
Alex Dima 778ace10c0
Strip sourceMappingURL directives 5 years ago
Basarat Ali Syed 553eddf6b3
add .mjs support 🌹 5 years ago
Michael Bolin 99f2e84186 Update Python grammar to include keywords introduced in Python 3
This supports https://github.com/microsoft/monaco-editor/issues/1762.

Note the new Python 3 keywords are:

* `async`
* `await`
* `nonlocal`

I also reorganized the list a bit because it seems like it contains
a mixture of keywords and builtins (and `self`, which is neither...),
so it is helpful to be specific to illustrate how to properly maintain
the list.
5 years ago
Alex Dima 618f2cff2d
Fix compilation 5 years ago
Alex Dima f697f2e5ba
Replace mocha with tape (for security issue) 5 years ago
Alex Dima e47349321a
update deps 5 years ago
Alex Dima 3f5e937cf1
update deps 5 years ago
Alex Dima 0dd8a91422
update deps 5 years ago
Alexandru Dima 0c36fc7eb7
Merge pull request #105 from KevLeong/fix/monaco_path
fix: monaco path by cwd
5 years ago
Alex Dima 2ea08783c2
Fall back to looking in node_modules folder in cwd 5 years ago
Alexandru Dima 6d7b03a1de
Merge pull request #53 from Mashpoe/master
update monaco-editor
5 years ago
lianghang 849d676919 fix: monaco path by cwd 5 years ago
Mashpoe (Jacob DeHart) 30bf6e2449 update monaco-editor 5 years ago
Alexandru Dima 61a0941817
Merge pull request #57 from orta/bundle_libs
Ensure that the default es2015 libraries include dom, webworker, and scripthost
5 years ago
Alex Dima 35454d834d
Add a note to all generated files 5 years ago
Alexandru Dima a4e1adf141
Merge pull request #88 from larshp/mocha
Mocha, fix deprecation warning regarding mocha.opts
5 years ago
Alexandru Dima 9f0b007faf
Merge pull request #87 from larshp/abap2
[ABAP] Language fixes
5 years ago
Alexandru Dima 8cd0490d1e
Merge pull request #102 from xoob/patch-1
Fix invalid regex in getWorkerUrl
5 years ago
Orta Therox e0992c9470 Update the lib generator instead of editing the libn file directly 5 years ago
larshp 4673efd4c4 Mocha, fix deprecation warning regarding mocha.opts 5 years ago
larshp ce6687e23b [ABAP] Language fixes 5 years ago
Orta Therox 05f3891fd1 Bump the TypeScript version, and fix the changes to the monaco API 5 years ago
Orta Therox 4fefe8993f Ensure that the default es2015 libraries include dom, webworker, and scripthost 5 years ago
Alex Brausewetter 88eef5d7d2
Fix invalid regex in getWorkerUrl
Fixes a typo introduced in #101 where the rendered regex was not escaped correctly.

```
$ npm run test
ERROR in ../node_modules/monaco-editor/esm/vs/editor/editor.api.js (include-loader!../node_modules/monaco-editor/esm/vs/editor/editor.api.js) 9:15
Module parse failed: Invalid regular expression: /^((http:)|(https:)|(file:)|(/: Unterminated group (9:15)
File was processed with these loaders:
 * ../out/loaders/include.js
You may need an additional loader to handle the result of these loaders.
|           var pathPrefix = typeof __webpack_public_path__ === 'string' ? __webpack_public_path__ : "";
|           var result = (pathPrefix ? stripTrailingSlash(pathPrefix) + '/' : '') + paths[label];
>           if (/^((http:)|(https:)|(file:)|(//))/.test(result)) {
|             var currentUrl = String(window.location);
|             var currentOrigin = currentUrl.substr(0, currentUrl.length - window.location.hash.length - window.location.search.length - window.location.pathname.length);
 @ ./index.js 2:0-77 4:0-13
```

Tested on local.
5 years ago
Alexandru Dima 77e39dbd1e
Merge pull request #86 from lexon-foundation/master
Implemented Lexon highlighting
5 years ago
Alex Dima 8589ee2ccd
Code formatting 5 years ago
Alex Dima 128d4befd8
Remove unnecessary change 5 years ago
Alexandru Dima 250984b6d2
Merge pull request #84 from VarghaSabee/feature/language-dart
Feature - dart language support
5 years ago
Arjan van Eersel 6655a9028e Implemented Lexon highlighting 5 years ago
Sabee 609014d4e6 dart - test tokenization 5 years ago
Alexandru Dima b8e34b6913
Merge pull request #1844 from nrayburn-tech/master
Monarch documentation changes
5 years ago
Alex Dima fa74fe012c
Add test page for running the editor-esm-bundle output 5 years ago
nrayburn 274c1c3dfc Monarch documentation changes 5 years ago
alan.invents a467bb0774
Create scala.ts 5 years ago