Commit graph

20 commits

Author SHA1 Message Date
Alex Dima
bce6fe83af
Define printWidth at 100 2020-09-19 01:28:33 +02:00
Alex Dima
d7cc098c48
Use the global monaco only in the AMD case (see microsoft/monaco-editor#1974) 2020-09-08 13:40:42 +02:00
Alex Dima
1af07d9cdb
Remove use strict 2020-09-08 12:18:27 +02:00
Alex Dima
3efc637414
Add prettier 2020-09-02 17:44:31 +02:00
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
2020-05-23 14:55:25 -04:00
Alex Dima
9de193a100
Fixes microsoft/monaco-editor#1479 2019-12-16 17:43:16 +01:00
Sebastian Pahnke
aff86cc64c Add support for the nullish-coalesce operator 2019-10-14 08:54:33 +02:00
Sebastian Pahnke
5e89da1eef Add support for BigInt 2019-03-14 21:02:14 +01:00
Alex Dima
ba44226434 Port over Microsoft/monaco-editor#1329 2019-03-01 22:26:59 +01:00
Alex Dima
35c57b5990 Adopt native promises 2019-01-09 16:14:15 +01:00
Alex Dima
8f7537dee5 Fixes Microsoft/monaco-editor#1224 2018-12-05 23:40:54 +01:00
Sebastian Pahnke
623dbc1acc Add more tests for hex and binary integer literals 2018-10-05 17:29:11 +02:00
Sebastian Pahnke
79ad5abdb3 Add support for alternate octal integer syntax 2018-10-05 17:28:43 +02:00
Sebastian Pahnke
ce3a0652b3 Tokenize regex flags as 'keyword.other' like VS Code does 2018-10-01 08:30:48 +02:00
Sebastian Pahnke
3e6c3ee653 Allow the 's' flag in regular expressions 2018-10-01 08:29:37 +02:00
Alex Dima
711d51d9fc Fixes Microsoft/monaco-editor#1009 2018-08-17 10:29:51 +02:00
Alex Dima
159af65cc5 Assume identifiers starting with upper case are type names 2018-08-10 15:43:12 +02:00
Alex Dima
6fc362e75a Fix compilation error 2018-08-08 11:21:18 +02:00
Alex Dima
3979a669f3 Add JavaScript coloring 2018-08-08 11:19:05 +02:00
Alex Dima
63639e2ec5 Add TypeScript coloring 2018-08-07 15:15:01 +02:00