Commit graph

35 commits

Author SHA1 Message Date
Miguel Solorio 666fcc0d62 Fix #88418, update number color for color contrast 2020-01-21 10:23:18 -08:00
Matt Bierner cd955c2770 Pick up latest js/ts grammar
For #82224
2019-10-16 10:43:27 -07:00
Matt Bierner 5ed55a8606 Don't treat dom properties as special for syntax highlighting
See https://github.com/Microsoft/TypeScript-TmLanguage/issues/691

Assuming that properties named `label` or `name` are dom properties is incorrect and causes a lot of false positives. This results in weirdly inconsistent colorization
2019-01-02 17:33:50 -08:00
Martin Aeschlimann c640a0ed5c adopt color changes in colorizer tests 2018-07-27 11:02:03 +02:00
Martin Aeschlimann 772aaf777a update grammars 2018-06-11 13:03:28 +02:00
Matt Bierner 63455cb30d Colorize TS/JS function property names the same as method names
Fixes #39592
2017-12-04 15:41:38 -08:00
Matt Bierner 9613018ef0 Update ts grammar 2017-10-13 14:46:12 -07:00
Matt Bierner ae20b2073a Make sure we rewrite contentName for jsx grammar 2017-10-12 19:25:15 -07:00
Matt Bierner 63ecf01397 Use unique grammar and scope for JavaScript react to avoid conflicts when overriding plain old javascript grammar
Fixes #35532
2017-10-10 15:02:32 -07:00
Matt Bierner 35c8bc4daa Further improve colorization of embeded expressions
- Add groovy embedded support
- Make high contrast colorization consistent
2017-09-12 11:04:02 -07:00
Matt Bierner dc2f6ec2a5 Improve colorization of embedded start end puctuators across languages 2017-09-12 09:49:40 -07:00
Matt Bierner 49db68d7ce Reset VS Dark + Light styling for meta embedded (#33866)
Fixes #33120

Adds rules to vs dark+light to reset style for meta embedded scopes. This is a proposed approach to support colorization of nested languages better
2017-09-06 11:18:53 -07:00
Martin Aeschlimann d889de5bb5 [typescript] update grammar 2017-05-26 09:27:50 +02:00
Martin Aeschlimann ae333a8b41 test fixes for #17178 2017-05-18 10:50:30 +02:00
Matt Bierner ae5c28306b Pick up updated js/ts grammar (#26094) 2017-05-08 08:12:33 -07:00
Matt Bierner 08b0a15967 Update TS/JS Grammars (#25337)
* Update TS/JS Grammars

* Update test results

* Update html tests
2017-04-25 15:29:09 -07:00
Martin Aeschlimann 2e56953919 [ts] grammar update, fix tests 2017-01-30 12:13:36 +01:00
Martin Aeschlimann abfdbf6d46 [typescript] grammars: remove workaround for spaces in scope names 2017-01-19 12:02:16 +01:00
Martin Aeschlimann 3956be9ba6 [typescript] update grammar to to Microsoft/TypeScript-TmLanguage@e47681d (2017-01-17). Fixes #18612 2017-01-19 12:02:15 +01:00
Alex Dima 90d74c59aa Use hex colors in themes integration tests 2017-01-05 09:47:08 +01:00
Alex Dima 10f68352a0 Themes integration tests 2017-01-04 22:44:08 +01:00
Martin Aeschlimann 147130799d [typescript] update grammar 2016-11-08 21:47:40 +01:00
Alex Dima 99bd264c7a Fix integration test ("whitespace" scopes should not get "invisibles" color) 2016-11-07 11:08:07 +01:00
Martin Aeschlimann 47a79e95c4 [ts] update grammar 2016-10-27 16:39:46 +02:00
Martin Aeschlimann 2db37ea17a Wrong highlighting for angle bracket syntax in embedded language. Fixes #14551 2016-10-27 12:04:54 +02:00
Martin Aeschlimann f38751b6d3 [ts] color object literal keys 2016-10-17 14:49:59 +02:00
Martin Aeschlimann bf82981686 [themes] add variable.language for this, super, self... 2016-10-14 18:33:16 +02:00
Martin Aeschlimann 073c6d04e9 [themes] add support.function 2016-10-14 18:02:14 +02:00
Martin Aeschlimann 010c5068d9 [themes] add support.class & support.constant (for ts) 2016-10-14 17:20:05 +02:00
Martin Aeschlimann 8751b28026 [themes] remove entity.name.function scope from dark vs-default 2016-10-14 16:06:39 +02:00
Martin Aeschlimann 0069a59414 [ts] coloring for 'this' 2016-10-14 10:41:22 +02:00
Martin Aeschlimann de957293de [ts] upate grammar, remove meta scopes 2016-10-14 10:13:51 +02:00
Martin Aeschlimann e1999f2685 Test for #6916 2016-05-26 15:37:05 +02:00
Martin Aeschlimann 37f5e2b355 [colorize tests] update test result data 2016-04-11 21:28:19 +02:00
Martin Aeschlimann a5ae040dba [js/ts] colorizer tests 2016-04-11 16:03:39 +02:00