Commit Graph

56 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
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Johannes Rieken
7ccb868835 make sure to use .eslintignore when running yarn eslint, this will ensure that cli failure and editor squiggles are always equal 2022-02-02 12:37:29 +01:00
Martin Aeschlimann
2858dd87e7 html: update constants in typescript mode (for #138677) 2021-12-09 14:27:50 +01:00
Martin Aeschlimann
3d8b5674c7 [html] clean up request service: add CustomDataRequestService #135459 2021-11-29 11:25:21 +01:00
Martin Aeschlimann
5e4bc951cd Hitting return after </button> element crashes VS Code (Insiders). Fixes #135806 2021-10-26 11:55:51 +02:00
Logan Ramos
1469a9840f Update deprecated html language features 2021-05-04 14:03:20 -04:00
chenjigeng
c8e490e5e6 chore: optimized code 2020-12-02 23:00:23 +08:00
chenjigeng
3e22e6f412 feat: add the rename test cases of html-language-features 2020-12-02 22:29:09 +08:00
Martin Aeschlimann
2efde187ac HTML Semantic Tokens test failures. Fixes #111214 2020-11-24 09:31:21 +01:00
Martin Aeschlimann
07d680b7c8 semantic highligting: deprecate member, add method. Fixes microsoft/language-server-protocol#1087 2020-11-23 11:41:12 +01:00
Matt Bierner
3bcac20a69 Fix html folding test for TS bug 2020-08-10 20:10:17 -07:00
Benjamin Pasero
dc333833e9 eslint - fix linting issues 2020-07-21 07:46:15 +02:00
Martin Aeschlimann
a180933669 [html] make mode services async 2020-06-25 11:48:24 +02:00
Martin Aeschlimann
d16e306c2e html headless 2020-06-19 23:35:45 +02:00
Martin Aeschlimann
8d4cdbaa8d [html] fix semantic selection test 2020-01-31 09:09:02 +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
c1f573b050 more tests 2020-01-08 10:32:41 +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
eb7ea2c435 [html] use languageModes for language types 2019-12-18 22:29:46 +01:00
Martin Aeschlimann
873fc72278 [html] "Expand selection" misses { } in <script> tag. Fixes #85306 2019-11-26 17:11:41 +01:00
Martin Aeschlimann
1476c4e20b [html] update to TextDocument and switch to incremental 2019-11-05 22:19:43 +01:00
Alex Dima
ea661bb83f Fix HTML integration test 2019-09-07 00:28:05 +02:00
Pine Wu
54fefb8d78 Update html & css service 2019-07-26 19:49:31 -07:00
Martin Aeschlimann
a84c30184c [css/json/html] update lsp, services & dependencies 2019-06-13 10:27:45 +02:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Matt Bierner
4c8e61c049 Remove "use strict" directives in extension tests
We compile with alwaysStrict so these are not needed
2018-10-02 15:59:42 -07:00
Matt Bierner
9116ec29ab Use shared config for html server 2018-10-02 10:24:20 -07:00
Pine Wu
39fbbf02c4 Do not suggest dot files in html/css. Fix #46780 2018-09-18 11:38:09 -07:00
Martin Aeschlimann
7540711d86 [html] test for #58435 2018-09-18 18:33:35 +02:00
Martin Aeschlimann
b7a8c6c1ef [html] fix tests 2018-08-29 15:45:41 +02:00
Martin Aeschlimann
bcec0d3d5c [html] update dependencies 2018-08-27 18:15:55 +02:00
Martin Aeschlimann
752acd5042 [html] return max number of ranges (for #46687) 2018-05-08 10:33:34 +02:00
Martin Aeschlimann
505c9392d5 test for #48049 2018-05-02 17:19:07 +02:00
Ramya Achutha Rao
c314388da2 Move emmet from html extenstion to emmet extension 2018-04-22 21:49:56 -07:00
Martin Aeschlimann
a322ceb0f6 [html] adopt folding APIs 2018-04-17 19:04:59 +02:00
Martin Aeschlimann
21ef28c36e [html] update services, add folding for embedded css (for #47808) 2018-04-16 22:20:02 +02:00
Martin Aeschlimann
6657623b98 css/html/json typos (for #47894) 2018-04-16 14:11:26 +02:00
Martin Aeschlimann
b372c7ea1e [html] intersecting regions test 2018-04-12 22:21:48 +02:00
Martin Aeschlimann
11f5d549db [css] path completion sometimes only works for one folder level. Fixes #46722 2018-03-29 15:20:39 +02:00
Martin Aeschlimann
3abd0f50e2 [html] move path completion inside html mode 2018-03-22 11:09:33 +01:00
Pine Wu
09818cd87a Add test for empty path 2018-03-21 16:54:08 -07:00
Pine Wu
a5cc44ef57 Fix #44814 2018-03-21 16:54:08 -07:00
Pine Wu
a5f49f58bb Test for not completing remote paths 2018-03-21 16:54:08 -07:00