Commit Graph

69 Commits

Author SHA1 Message Date
Derek Yang
77f0483dcd Add additional test case containing no escaped quotes 2024-12-05 14:22:54 -05:00
Derek Yang
4685d75964 Fix CSS errors when using HTML escaped quotes 2024-12-04 23:48:25 -05:00
Martin Aeschlimann
fc6d94b806 [css/json/html] adopt latest lsp, update to module: node16 (#230371)
* adopt latest language-server/client

* update package-locks

* transpiler to support Node16
2024-10-03 13:49:56 +02:00
Johannes
e6f315d2fc eng - use esModuleInterop for extensions 2024-10-01 21:57:30 +02:00
Alex Ross
a6b766d8ad Fix an async test suite (#188380) 2023-07-20 15:46:52 +02:00
Martin Aeschlimann
92b87b0fd5 [html] files.insertFinalNewline affects embedded styles (#179118) 2023-04-04 12:55:17 +02:00
w1redch4d
70328b1b48 fix problems with html style comments in embedded code (#160981)
* fix problems with html style comments in embedded code

* add spacings to the replaced characters

add same amount of characters, in the replacements so that all offsets stays the same

* revert javascriptMode.ts

* add replace characters in embeddedSupport.ts instead

* added few more tests with javascript

more testcases with js code before and after the comments

* polish

Co-authored-by: UwUeeb <106700035+UwUeeb@users.noreply.github.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-10-26 08:41:05 +00:00
Martin Aeschlimann
320f338681 [html] Sytax Highlighting is way off with new line after event handler (#162319) 2022-09-29 12:19:36 +02:00
Martin Aeschlimann
630809a1ea html: observe insertFinalNewline (#152446) 2022-06-17 12:38:36 +02:00
Johannes
0656d21d11 auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Martin Aeschlimann
a0612b2e04 [html] A 'return' statement can only be used within a function body. Fixes #143220 2022-04-04 18:19:29 +02:00
Martin Aeschlimann
c7a685113b Revert "[html] A 'return' statement can only be used within a function body. Fixes #143220"
This reverts commit 56661ec16a.
2022-04-04 18:19:29 +02:00
Martin Aeschlimann
56661ec16a [html] A 'return' statement can only be used within a function body. Fixes #143220 2022-03-21 20:27:20 +01:00
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