Commit Graph

119 Commits

Author SHA1 Message Date
Martin Aeschlimann
cee904f80c remove some anys (#271651) 2025-10-16 11:48:38 +02:00
Matt Bierner
98b069c041 Work towards getting isolated built-in extension compiles
For #271167

This makes it so our built-in extensions can mostly be built using `tsc` on the command line. Previously the extensions were picking up a lot of typing info from the root `node_modules` that meant they weren't truly independent
2025-10-13 11:03:20 -07:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Martin Aeschlimann
27c3a8b588 html client: switch to LogOutputChannel (#248706) 2025-05-12 13:02:26 +02:00
Matt Bierner
c884598a94 Fix a few more type errors for TextDecoder 2025-03-24 16:36:41 -07: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
Martin Aeschlimann
f0cdaab75f [html] Pasting HTML code adds extra closing tag on first line (#228662) 2024-09-15 19:51:51 +02:00
Martin Aeschlimann
a28cbc207a css/json/html web: adopt LanguageClient API change (#218060) 2024-06-25 16:26:48 +02:00
RedCMD
2d30630ab4 onDidChangeEmmiter fires constantly when it shouldn't (#202198)
`onDidChangeEmmiter` fires when it shouldn't
2024-01-22 22:11:24 +01:00
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