Commit Graph

16 Commits

Author SHA1 Message Date
Derek Yang
4685d75964 Fix CSS errors when using HTML escaped quotes 2024-12-04 23:48:25 -05: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
Johannes
0656d21d11 auto-fixed prefer-const violation 2022-06-08 17:49:21 +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
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Martin Aeschlimann
f24b58c186 ts sem tokens in html 2020-01-07 17:54:47 +01:00
Martin Aeschlimann
eb7ea2c435 [html] use languageModes for language types 2019-12-18 22:29:46 +01:00
Martin Aeschlimann
13d3f41417 [html] Format code of type="text/babel" scripts in html files. Fixes #39866 2019-10-09 16:17:36 +02:00
Matt Bierner
5cc00861fc Enable no-var-keyword tslint rule 2019-01-03 18:02:48 -08:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Matt Bierner
92a9a07213 Remove duplicate blank lines at the start of some extension src files 2018-10-02 16:28:19 -07:00
Matt Bierner
ff957050db Remove use strict in extensions (part 2)
We compile using alwaysStrict so this directive is not needed
2018-10-02 16:23:27 -07:00
Matt Bierner
9116ec29ab Use shared config for html server 2018-10-02 10:24:20 -07:00
Martin Aeschlimann
086a751a06 [html] split extension (for #45900) 2018-03-17 16:32:55 +01:00