Commit Graph

19 Commits

Author SHA1 Message Date
Matt Bierner
afa70ebba0 Adopt official semantic tokens api for JS/TS in html (#144223)
* Adopt official semantic tokens api for JS/TS in html

Fixes #114477

This switches the semantic tokens implementation for js/ts inside html to use the finalized `getEncodedSemanticClassifications` api instead of our custom impl

* Update tests
2022-03-02 13:02:43 -08:00
Martin Aeschlimann
07d680b7c8 semantic highligting: deprecate member, add method. Fixes microsoft/language-server-protocol#1087 2020-11-23 11:41:12 +01:00
Martin Aeschlimann
a2d46d4b68 ts semantic highlighting: support alias 2020-01-15 23:08:15 +01:00
Martin Aeschlimann
3198a28176 make consistent with plugin 2020-01-14 17:35:58 +01:00
Martin Aeschlimann
a5f90a5685 polish html sem highlighting 2020-01-13 21:07:00 +01:00
Martin Aeschlimann
ae8fee7ba8 finish test 2020-01-13 17:51:11 +01:00
Martin Aeschlimann
517e4391c2 readonly semantic highlighting 2020-01-13 17:51:11 +01:00
Martin Aeschlimann
adb6281d0a fix html tests 2020-01-10 16:38:36 +01:00
Martin Aeschlimann
f1f652ccc1 polish html-js sem highlighting 2020-01-10 15:39:42 +01:00
Martin Aeschlimann
db581614ab Error while computing semantic tokens. Fixes #88366 2020-01-10 15:19:05 +01:00
Martin Aeschlimann
a6eac1f182 only map when necessary 2020-01-08 11:14:31 +01:00
Martin Aeschlimann
8f08c2ffa7 more tests 2020-01-07 22:21:03 +01:00
Martin Aeschlimann
f24b58c186 ts sem tokens in html 2020-01-07 17:54:47 +01:00
Martin Aeschlimann
32230fd7c3 more tests 2019-12-18 22:29:46 +01:00
Martin Aeschlimann
43394dee80 more tests 2019-12-18 22:29:46 +01:00
Martin Aeschlimann
8bbe5ce092 tests 2019-12-18 22:29:46 +01:00
Martin Aeschlimann
2ca09d93aa visit ast 2019-12-18 22:29:46 +01:00
Martin Aeschlimann
e53c9568f3 refactor 2019-12-18 22:29:46 +01:00
Martin Aeschlimann
f07fae16be extract js semantic tokens 2019-12-18 22:29:46 +01:00