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
Alex Dima
0bf3071972
Fix hygiene
2022-02-04 15:49:50 +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
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
1f9d809e35
single AutoInsertRequest message for both autoQuote and autoClose
2021-12-14 16:00:35 +01:00
Martin Aeschlimann
72287bfab6
Merge branch 'main' into pr/jzyrobert/137080
2021-12-14 15:02:00 +01:00
Martin Aeschlimann
2858dd87e7
html: update constants in typescript mode (for #138677 )
2021-12-09 14:27:50 +01:00
Robert Jin
e6c9ee0796
Update html-language-features to use doQuoteComplete
2021-11-30 17:50:47 +00: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
Martin Aeschlimann
a78567110c
html: polish reading of settings
2021-10-15 20:11:06 +02:00
Stephen Sigwart
ba48f5c1f0
Update to match new enum
2021-09-29 23:16:07 -04:00
Stephen Sigwart
c5d3ad08f0
Switch to settings.html.completion.attributeDefaultValue
2021-09-29 21:44:16 -04:00
Stephen Sigwart
40b976f056
Add doNotAddAttributeQuotes setting to disable automatic quotes
2021-09-29 21:44:16 -04:00
AkatQuas
e4fb11a1e7
fix: early return on cancellation
2021-09-07 16:28:21 +08:00
Martin Aeschlimann
7ebe6a6054
adopt web extensions to webpack 5
2021-07-08 21:41:03 +02:00
Martin Aeschlimann
05d22c6853
[html] duplicated onDocumentRangeFormatting handler ( #122994 )
2021-05-10 18:09:18 +02:00
Martin Aeschlimann
81643c948f
HTML, CSS, JSON language servers don't provide the documentFormattingProvider capability. Fixes #122994
2021-05-07 17:03:16 +02:00
Logan Ramos
1469a9840f
Update deprecated html language features
2021-05-04 14:03:20 -04:00
Matt Bierner
65c6a0a543
Pick up TS 4.3 nightly
...
For #122884
2021-05-03 16:15:30 -07:00
Andrew Branch
8426ff6475
Update language service call for 4.3 protocol
2021-04-01 10:21:34 -07:00
Martin Aeschlimann
8c7a3d8f6c
html: fix compile errors
2021-03-23 19:30:46 +01:00
Matt Bierner
1f567e10f3
Fixing two more cases for promises in conditionals
2021-02-26 17:38:37 -08:00
Martin Aeschlimann
3c7fc6d6a0
fix unused import
2021-02-05 16:19:31 +01:00
Martin Aeschlimann
d33b89256e
[css][html] Option to disable MDN Reference popups only (without effecting other functionalities). Fixes #97979
2021-02-05 16:07:31 +01:00
Martin Aeschlimann
a22b5d54ad
[json/css/html] adopt lsp 316
2020-12-14 18:18:58 +01: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
chenjigeng
8f712866cf
fix: check canRename before findRenameLocations
2020-12-02 22:27:32 +08:00
condichen@tencent.com
94b2772f8c
feat: add rename symbol within <script> tags
2020-12-02 01:00:54 +08:00
Martin Aeschlimann
634fb13135
[css][html] update dependencies
2020-11-30 23:54:53 +01:00
Martin Aeschlimann
dceba9ebb7
[css][html] Option to disable MDN Reference popups only (without effecting other functionalities). For #97979
2020-11-30 23:25:50 +01:00
Martin Aeschlimann
627ad0b4ee
rename OnTypeRename -> LinkedEditing (for #109923 )
2020-11-27 16:31:56 +01: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
chenjigeng
eae037b391
Fixed Hover style incorrect when writing javascript in HTML
2020-11-22 10:52:27 +08:00
Cameron Little
7cf15b2d31
Fix crash in LSP servers when initializationOptions are not provided
2020-09-30 09:01:49 +02: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
05c5be7b87
extract loadLibrary
2020-06-23 22:43:25 +02:00
Martin Aeschlimann
d16e306c2e
html headless
2020-06-19 23:35:45 +02:00
Martin Aeschlimann
919c46deab
[html] update dependencies
2020-04-27 23:15:37 +02:00
Liying
ec5c1264bc
Update compilerOptions returned by host for javascript.implicitProjectConfig.experimentalDecorators. ( #95923 )
...
Co-authored-by: liyche <liyche@umich.edu >
2020-04-24 11:34:03 -07:00
Pine Wu
01e01b13f8
HTML implementation for #88424
2020-03-18 12:42:48 -07:00
Pine Wu
88a1564e9c
Fix duplicate code
2020-02-12 14:44:03 -08:00
Martin Aeschlimann
8d4cdbaa8d
[html] fix semantic selection test
2020-01-31 09:09:02 +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