Commit graph

110 commits

Author SHA1 Message Date
Matt Bierner
e0ebb7b740
Make script blocks respect js/ts.implicitProjectConfig.strictNullChecks (#179333)
Fixes #179331

Also fixes experimental decorators for script blocks
2023-04-06 15:59:44 +02:00
Martin Aeschlimann
b27ee6b7b5
[html/css/json] pass the location of the localization bundle to the server (#168111)
pass the location of the localization bundle to the server
2022-12-05 14:49:27 -08:00
Logan Ramos
bf1697d98c
Consume proposed telemetry API (#165862)
* Consume proposed telemetry API

* Update webpack
2022-11-08 21:58:28 -05:00
Martin Aeschlimann
afac9524b6
[css/json/html] move to l10n (#165725)
[css/json/html] move to l10n (for #164438)
2022-11-08 07:32:38 -08:00
Angelo
cef02dae8d
Contribute to html language server with a custom language. (#146731)
* Contribute to html language server with a custom language.

Fixes #146730

Signed-off-by: azerr <azerr@redhat.com>

* refactor out LanguageParticipants

* restart client on language selector change

* htmlLanguage -> htmlLanguageParticipants

* tune autoInsert wording

* tune autoInsert description

Co-authored-by: azerr <azerr@redhat.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-07-21 13:19:01 +02:00
Johannes
0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Martin Aeschlimann
e783fdc25e
css/html/json update to lsp 8 (#148715) 2022-05-19 12:48:53 +02:00
Martin Aeschlimann
50c8eb444d
[html, json] update services 2022-03-18 18:04:10 +01:00
Martin Aeschlimann
4274ec05b8
[html][json] fix some missing dispose registrations 2022-03-02 11:57: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
Logan Ramos
c047af40b2
Fix compilation 2022-01-19 16:18:14 -05:00
Martin Aeschlimann
a832497526
avoid cursor move forward using a snippet cursor 2021-12-14 17:28:58 +01:00
Martin Aeschlimann
1f9d809e35
single AutoInsertRequest message for both autoQuote and autoClose 2021-12-14 16:00:35 +01:00
Robert Jin
e6c9ee0796 Update html-language-features to use doQuoteComplete 2021-11-30 17:50:47 +00:00
Martin Aeschlimann
92b20d483e
html custom data: open external uris with openTextDocument. For #135459 2021-11-29 22:21:30 +01:00
Martin Aeschlimann
3d8b5674c7
[html] clean up request service: add CustomDataRequestService #135459 2021-11-29 11:25:21 +01:00
Martin Aeschlimann
c67fd6e5cd
Merge pull request #137557 from sijakret/html-language-server/virtual-doc-support
html-language-features: text document provider support for customData.html
2021-11-26 11:52:06 +01:00
Martin Aeschlimann
f1455eabed
revert request changes & polish 2021-11-26 11:45:08 +01:00
Jan Kretschmer
bb89815cfb use regex, not Uri.parse, to detect custom scheme 2021-11-24 22:07:31 +01:00
Jan Kretschmer
8779aaf2ae use set to store and lookup paths of interest 2021-11-20 00:16:06 +01:00
Johannes Rieken
09c9d4c293
use enabledApiProposals instead of wildcard property, also update compilation units to only include d.ts-files that are needed, https://github.com/microsoft/vscode/issues/131165 2021-11-12 11:05:57 +01:00
Johannes Rieken
a4d426a1c2
split vscode.proposed.d.ts into a file per proposal, https://github.com/microsoft/vscode/issues/131165 2021-11-12 09:48:17 +01:00
Johannes Rieken
68e819043c
use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files 2021-11-09 15:53:35 +01:00
Johannes Rieken
9254a8cd27
move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Jan Kretschmer
b074018c3e sketch for virtual document support for 2021-11-01 14:50:32 +01:00
Martin Aeschlimann
ab55b573ea
add tag closing for tsx (for #34484) 2021-09-30 11:17:42 +02:00
Martin Aeschlimann
801dff2f3b
[html] auto close triggers on undo/redo and breaks undo/redo history. Fixes #34484 2021-09-30 11:10:09 +02:00
Martin Aeschlimann
5aebde7b48
[html] auto close triggers on undo/redo and breaks undo/redo history. Fixes #34484 2021-09-17 14:35:52 +02:00
AkatQuas
779e587197 fix(html-language-feature): remove vague statement 2021-09-07 11:35:18 +08:00
Martin Aeschlimann
7ebe6a6054
adopt web extensions to webpack 5 2021-07-08 21:41:03 +02:00
Henning Dieterichs
a1af8aa651
Refactors calls to languages.setLanguageConfiguration to declarative descriptions in language-configuration.json. This fixes #98621. 2021-05-17 09:12:01 +02:00
Matt Bierner
119581fc2a
Use more standard name for shared extension tsconfig
This enables Intellisense in the `tsconfig.base` file
2021-04-12 15:58:38 -07:00
Martin Aeschlimann
ae510aec2a
no indent after 'source' tag: for #118902 2021-03-15 15:16:43 +01:00
Martin Aeschlimann
c49ef6df61 [html] update auto-rename-tag to linkedEditing migration 2021-01-06 15:49:06 +01:00
Martin Aeschlimann
a22b5d54ad [json/css/html] adopt lsp 316 2020-12-14 18:18:58 +01:00
Martin Aeschlimann
627ad0b4ee rename OnTypeRename -> LinkedEditing (for #109923) 2020-11-27 16:31:56 +01:00
Martin Aeschlimann
8134d8c9e7 rename to OnTypeRenameRangeProvider. For #109923 2020-11-16 18:07:15 +01:00
Martin Aeschlimann
e3a79e9e44 [css/html/json] Randomize inspect ports to avoid conflicts 2020-11-04 16:03:27 +01:00
Johannes Rieken
5b8aeeb1f0 copy paste is hard... 2020-08-28 15:00:52 +02:00
Johannes Rieken
bc3b0defe0 use extensionUri and joinPath instead of asAbsolutePath 2020-08-28 14:57:20 +02:00
Martin Aeschlimann
fae07df7c3 onTypeRename: wordPattern (for #104823) 2020-08-21 13:54:43 +02:00
Martin Aeschlimann
d16e306c2e html headless 2020-06-19 23:35:45 +02:00
Martin Aeschlimann
6af2987903 html/json: compute server module without server package.json 2020-06-11 14:59:56 +02:00
Martin Aeschlimann
13952ac5b9 auto-renaming tags notifier popping up multiple times. Fixes #97833 2020-05-15 11:08:31 +02:00
Martin Aeschlimann
74408bac89 guide users of the Auto Rename Tag extension to the new editor.renameOnType setting. Fixes #97700 2020-05-13 12:29:38 +02:00
Martin Aeschlimann
3887bc8aca [rename on type] Language client is not ready yet. FIxes #97062 2020-05-06 13:29:44 +02:00
Pine Wu
01e01b13f8 HTML implementation for #88424 2020-03-18 12:42:48 -07:00
Matt Bierner
efb781e5be Marking that documents/workspaces arrays cannot be mutated 2020-02-11 11:36:23 -08:00
Alex Dima
9e1d730cf2
SemanticTokens - implement feedback received in API call:
- extract a separate DocumentRangeSemanticTokensProvider that deals with a document range
- extract a separate provideDocumentSemanticTokensEdits that deals with updating via SemanticTokensEdits a previous result
2020-01-16 18:02:02 +01:00
Johannes Rieken
430de16fef fix compilos and adopt proposed api usage, #10266 2020-01-16 17:52:18 +01:00