Commit graph

376 commits

Author SHA1 Message Date
Alexandru Dima
45d4471447
Merge pull request #47 from grzegorz-wcislo/fix_yaml_string_tokenization
Fix yaml string tokenization
2018-10-17 10:40:12 +02:00
Aastha Gupta
6182bc8a42 Fix markdown bug
Fixes issue: https://github.com/Microsoft/monaco-editor/issues/1107
2018-10-16 19:36:28 +05:30
Abhishek
8ddd2b62eb
Markdown bug fix.
Coloring was failing in a specific condition.
2018-10-15 10:52:51 +05:30
Matthew D. Miller
8694e28edb Modified original regex rule to only catch instances of bare /regex/ 2018-10-10 14:27:36 -05:00
Matthew D. Miller
3928208ab4 Fixed failing tests due to regexp modifiers being handled differently 2018-10-10 14:16:45 -05:00
Peng Lyu
5428f8a943
Merge pull request #49 from spahnke/octal 2018-10-10 10:42:25 -07:00
Matthew D. Miller
40fdb5d594 Added support for Perl quote-like operators to fix #1101 2018-10-10 11:06:04 -05:00
Matthew D. Miller
80e9270d80 Separated quote-like operators from other keywords 2018-10-10 10:37:28 -05:00
Matthew D. Miller
6feaf43d1d Added tests for quoted strings and regexes using alternative delimiters 2018-10-10 10:33:49 -05: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
TiagoDanin
c59dd6a01e
New rule for non-teminated string in yaml 2018-10-03 14:48:00 -03:00
Grzegorz Wcisło
4b0d5c54d2 Fix yaml string tokenization 2018-10-03 17:59:21 +02:00
Peng Lyu
66b5497f3c
Merge pull request #46 from spahnke/regex-flags
Improve tokenization of regular expressions
2018-10-01 15:46:21 -07: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
Alexandru Dima
0aea831f05
Merge pull request #45 from finalfantasia/master
[clojure] Improve Clojure syntax highlighting.
2018-09-13 13:27:32 +02:00
Abdussalam Abdurrahman
c65a13afa1 [clojure] Add support for (comment ...). 2018-09-11 23:06:18 -07:00
Abdussalam Abdurrahman
1188cfa1bb [clojure] Fix regular expression for character literals.
Consolidate regular expressions for line and in-line comments.
2018-09-11 21:41:03 -07:00
Abdussalam Abdurrahman
073f212f63 [clojure] Improve Clojure syntax highlighting.
This commit:
- Updates the keyword list with public symbols from `clojure.core` for
Clojure 1.9.
- Improves syntax highlighting of symbols, strings, character literals,
and number literals.
- Adds rules for syntax highlighting Clojure keywords and reader macro
characters.
- Fixes an issue where forms following a single semicolon (`;`) are not
marked as comments.
- Fixes an issue where parts of multi-line strings were not correctly
syntax highlighted.
- Adds additional test coverage for tokenization code.
2018-09-11 18:57:40 -07:00
Abdussalam Abdurrahman
b276d3ea83 [clojure] Sort the test suites by file name. 2018-09-11 15:53:17 -07:00
Abdussalam Abdurrahman
383f172aee [clojure] Add IntelliJ IDEA project directory/file to .gitignore. 2018-09-11 11:37:56 -07:00
Alex Dima
a3d4b50888 Remove usage of jsdom-no-contextify 2018-08-20 17:55:37 +02:00
Alex Dima
d085b3bad8 1.5.1 2018-08-17 10:30:02 +02:00
Alex Dima
711d51d9fc Fixes Microsoft/monaco-editor#1009 2018-08-17 10:29:51 +02:00
Alex Dima
701a5b4584 1.5.0 2018-08-10 15:44:29 +02:00
Alex Dima
159af65cc5 Assume identifiers starting with upper case are type names 2018-08-10 15:43:12 +02:00
Alexandru Dima
d2c6f44a77
Merge pull request #44 from olane/apex
Add Apex language
2018-08-10 15:32:28 +02:00
olane
a3d82924a9 Create case variations of the keywords
Apex is case insensitive, but we can't make the highlighter case insensitive without breaking the heuristic which assumes that identifiers starting with an upper case letter are types. As a compromise, create the common case variations of the keywords and match on all of them.
2018-08-10 13:17:45 +01:00
olane
acea7fd4a1 Add missing get keyword 2018-08-10 12:50:42 +01:00
olane
c421273fca Apex also doesn't have a byte type 2018-08-10 12:46:12 +01:00
olane
1d66cf8412 Remove hex, octal and binary numbers - apex doesn't support them 2018-08-10 12:45:25 +01:00
olane
40dfb97e56 Add support for apexdoc (based on java javadoc support) 2018-08-10 12:43:32 +01:00
Alex Dima
178be30d46 1.4.1 2018-08-10 13:03:15 +02:00
Alex Dima
e656c6a449 Update dependencies 2018-08-10 13:02:53 +02:00
olane
9498adec54 Update tests to reflect new assumption 2018-08-10 11:57:12 +01:00
olane
7140444de9 Assume identifiers starting with an uppercase letter are types 2018-08-10 11:57:03 +01:00
olane
5557352259 Merge keyword list with keyword list from SFDC documentation 2018-08-10 11:28:44 +01:00
olane
ca8e66588a Add apex to readme list 2018-08-10 10:54:25 +01:00
olane
cd8c782c0e Bundle apex 2018-08-10 10:41:36 +01:00
olane
62d143821a Register apex language and load tests 2018-08-10 10:39:13 +01:00
olane
0821a3dd33 Add Apex highlighter based on Java highlighter 2018-08-10 10:38:33 +01:00
Alex Dima
46d0fd6400 1.4.0 2018-08-08 15:58:52 +02:00
Alexandru Dima
bc5c3656cb
Merge pull request #43 from Vityanchys/azcli
Added azcli
2018-08-08 13:00:27 +02:00
Alex Dima
4a58571f1b Merge remote-tracking branch 'origin/master' into pr/Vityanchys/43 2018-08-08 13:00:05 +02:00
Alexandru Dima
5f30811868
Merge pull request #42 from mattmasson/master
Add support for Power Query (M) language
2018-08-08 12:57:24 +02:00
Alexandru Dima
a0809e5d56
Merge pull request #38 from masad-frost/master
Fix Clojure syntax highlighting
2018-08-08 12:55:39 +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
4b1d2982ff Tweak launch.json 2018-08-08 10:43:41 +02:00