Commit graph

490 commits

Author SHA1 Message Date
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
Logan Ramos 00de6a5f2f
Update telemetry module 2021-11-08 10:00:44 -05:00
Robert Jin 8d78e70f78 Update html-language-features documentation and tasks to yarn 2021-11-05 20:15:01 +00:00
Jan Kretschmer b074018c3e sketch for virtual document support for 2021-11-01 14:50:32 +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 f3a14f6514
[css/html/json] update services 2021-10-25 20:20:44 +02:00
Martin Aeschlimann a78567110c
html: polish reading of settings 2021-10-15 20:11:06 +02:00
Martin Aeschlimann 8d70e049dd
Merge pull request #129284 from ssigwart/noQuotes
Add doNotAddAttributeQuotes setting to disable automatic quotes
2021-10-15 19:56:02 +02:00
Sean McManus ae1bfc57d1
Update package.json
%html.format.wrapAttributesIndentSize.desc% contains markdown text.
2021-10-13 16:48:42 -07:00
Logan Ramos a4342f3add
Bump telemetry module 2021-10-01 16:52:56 -04: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
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
Martin Aeschlimann e653defeca
[html/css] update services 2021-09-28 17:55:59 +02:00
Martin Aeschlimann e29f8d7d14
[css/html/json] update service 2021-09-27 21:02:20 +02:00
Logan Ramos 282f499c22
Update extension telemetry module 2021-09-23 11:26:57 -04: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
Martin Aeschlimann 8af5d85c3b
Merge pull request #132523 from AkatQuas/fix/runner
fix: early return on cancellation
2021-09-09 09:42:04 +02:00
Martin Aeschlimann 9ebc659dc1
[css/html] update language services 2021-09-09 09:36:04 +02:00
AkatQuas e4fb11a1e7 fix: early return on cancellation 2021-09-07 16:28:21 +08:00
AkatQuas 779e587197 fix(html-language-feature): remove vague statement 2021-09-07 11:35:18 +08:00
Logan Ramos 8dbad73de5
Update built in extensions telemetry 2021-08-27 15:45:42 -04:00
Logan Ramos ecc7fdac90
Bump extension telemetry module 2021-08-27 11:29:48 -04:00
Martin Aeschlimann e6a3ae661d
html-language-features CONTRIBUTING.md is wrong. Fixes #129842 2021-08-19 11:50:09 +02:00
Logan Ramos da7d76d2ec
Update extension telemetry module 2021-08-10 12:43:41 -04:00
Logan Ramos 6aa5b9226b
Update extension telemetry module 2021-08-09 13:16:08 -04:00
Matt Bierner dc54347a27
Exclude a few extra build files from build 2021-08-05 13:32:54 -07:00
Logan Ramos 9350fa3c9d
Bump telemetry module to fix packaging 2021-08-02 14:29:37 -04:00
Logan Ramos b7a07daa5a
Fix #129727 2021-08-02 13:04:26 -04:00
Logan Ramos 87e0cb1d43
Fix #129474 2021-07-29 11:39:03 -04:00
Logan Ramos c8e6d08e3a
Update to the latest extension module 2021-07-26 13:44:43 -04:00
Martin Aeschlimann 4feb4fd4d9
[html/css/json] update services 2021-07-25 17:31:20 +02:00
Martin Aeschlimann 7ebe6a6054
adopt web extensions to webpack 5 2021-07-08 21:41:03 +02:00
Martin Aeschlimann 9d4af438a8
[css/html/json] update services 2021-06-28 21:53:21 +02:00
Henning Dieterichs ce5023b635
Merge pull request #124015 from microsoft/hediet/refactor-language-configuration
Refactors calls to languages.setLanguageConfiguration to declarative descriptions in language-configuration.json
2021-06-08 16:19:10 +02:00
Martin Aeschlimann 24e1234559
[json/css/html] update services 2021-05-31 22:06:50 +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
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
Robo bce4d71f64
chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00
Matt Bierner 65c6a0a543
Pick up TS 4.3 nightly
For #122884
2021-05-03 16:15:30 -07:00
Martin Aeschlimann 25d716f900
[html/css/json] update dependencies 2021-04-24 14:52:34 +02:00
Sandeep Somavarapu ac151b40a5
enable virtual workspace capability 2021-04-23 10:20:23 +02:00
SteVen Batten f9fc28d47d update ext manifest schema validation and built-in exts 2021-04-21 11:54:42 -07:00
Benjamin Pasero 14981ce89d tests - enable colors for windows (CI supports it and the new Windows terminal too) 2021-04-19 09:29:20 +02:00
Martin Aeschlimann 8e8621c137 [css/json/html] add workspaceTrust property 2021-04-13 14:26:26 +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
Andrew Branch 8426ff6475
Update language service call for 4.3 protocol 2021-04-01 10:21:34 -07:00
gregvanl 975115a2cb Setting descriptions typos and formatting 2021-03-25 10:17:31 -07:00
Martin Aeschlimann 8d3d8e0cd0 html: add vscode-languageserver-textdocument as dependency 2021-03-23 19:32:55 +01:00
Martin Aeschlimann 8c7a3d8f6c
html: fix compile errors 2021-03-23 19:30:46 +01:00
Martin Aeschlimann 4eb625f0cf [html] update service 2021-03-23 15:41:42 +01:00
SteVen Batten 9c00242866 updating telemetry module for built-in exts 2021-03-22 16:28:08 -07:00
Martin Aeschlimann ae510aec2a
no indent after 'source' tag: for #118902 2021-03-15 15:16:43 +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
João Moreno ec805db5ed
add repository field to extensions package.json 2021-01-29 15:30:45 +01:00
Martin Aeschlimann 62093ff022 [html/json/css] update services & dependencies 2021-01-25 20:17:54 +01:00
Martin Aeschlimann c49ef6df61 [html] update auto-rename-tag to linkedEditing migration 2021-01-06 15:49:06 +01:00
Martin Aeschlimann 0a3e23a5b2 new html settings not it in the settings UI 2021-01-05 17:24:22 +01:00
Alexandru Dima 76c974bfeb
Have a clear list of directories where yarn should be executed 2020-12-23 11:28:32 +01:00
Alexandru Dima f74ad9692f
Align @types/* dev dependencies (#112718) 2020-12-18 13:28:39 +01:00
Alexandru Dima ed19f6082f
Share mocha related node modules (#112718) 2020-12-17 11:03:49 +01:00
Martin Aeschlimann a22b5d54ad [json/css/html] adopt lsp 316 2020-12-14 18:18:58 +01:00
Martin Aeschlimann 49dc593a83
Merge branch 'master' into master 2020-12-09 10:40:30 +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
dataleaky a0aeb3a559
Update package.json 2020-12-01 23:39:50 +05:00
condichen@tencent.com 94b2772f8c feat: add rename symbol within <script> tags 2020-12-02 01:00:54 +08:00
Martin Aeschlimann 18ecb87939 fix html yarn.lock 2020-12-01 01:05:42 +01:00
Martin Aeschlimann 634fb13135 [css][html] update dependencies 2020-11-30 23:54:53 +01:00
Martin Aeschlimann 8448b1680c [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
Martin Aeschlimann 8134d8c9e7 rename to OnTypeRenameRangeProvider. For #109923 2020-11-16 18:07:15 +01:00
Martin Aeschlimann 0b8a242be0 surface latest jsbeatify settings. Fixes #84606. Fixes #79334 2020-11-16 17:50:28 +01:00
Martin Aeschlimann e3a79e9e44 [css/html/json] Randomize inspect ports to avoid conflicts 2020-11-04 16:03:27 +01:00
Martin Aeschlimann 29f2a4aa58 [html] update service 2020-10-26 18:02:24 +01:00
Martin Aeschlimann 01eb77a598 [html] update services (for #108016) 2020-10-13 21:52:25 +02:00
Cameron Little 7cf15b2d31 Fix crash in LSP servers when initializationOptions are not provided 2020-09-30 09:01:49 +02:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Martin Aeschlimann 795b0dba8d [css/json/html] update service (use vscode-nls@5.0) 2020-09-16 10:32:40 +02:00
Martin Aeschlimann 8aa9dbc29b Rename on Type: linked edit mode is terminated when the tag becomes empty. Fixes #105860 2020-09-02 23:20:10 +02:00
Martin Aeschlimann 9b6d13d298 update services 2020-08-31 22:18:06 +02: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
Ladislau Szomoru b2efcbf687
Add process.arch into the test results file name (#104946) 2020-08-19 07:48:37 +02:00
Matt Bierner 3bcac20a69 Fix html folding test for TS bug 2020-08-10 20:10:17 -07:00
Martin Aeschlimann d5327bca82 update css/json services 2020-08-02 21:53:34 +02:00
Alex Dima 91cdca1bdb
Do not ship unnecessary files with extensions 2020-07-24 13:57:51 +02:00
Benjamin Pasero dc333833e9 eslint - fix linting issues 2020-07-21 07:46:15 +02:00
dependabot[bot] 8390160e68
Bump lodash in /extensions/html-language-features/server
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 17:24:50 +00:00
Martin Aeschlimann 074629766b [css][html] update services 2020-06-29 20:29:17 +02:00
Martin Aeschlimann ebbb51635e update language client versions 2020-06-26 14:12:11 +02:00
Martin Aeschlimann 4f1997dcc7 fix windows path issues in yarn watch-web 2020-06-26 11:15:27 +02:00
Martin Aeschlimann 16be2c9885 used shared webpack-config for browser 2020-06-25 23:22:02 +02:00
Martin Aeschlimann a180933669 [html] make mode services async 2020-06-25 11:48:24 +02:00
Martin Aeschlimann 8c5e2438e7 [html] update service 2020-06-24 11:32:46 +02:00
Martin Aeschlimann 6a18c72bbf add library loader 2020-06-23 22:58:54 +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 6af2987903 html/json: compute server module without server package.json 2020-06-11 14:59:56 +02:00
Martin Aeschlimann ac3b5caf32 [html] update version, fixes #98053 2020-06-05 17:49:33 +02:00
Martin Aeschlimann b1ef2bf05f [html] auto rename matches wrong tag. Fixes #98053 2020-06-05 13:23:55 +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
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
Martin Aeschlimann 75c47b7505 [html] update dependencies 2020-02-23 13:54:54 +01:00
Pine Wu 88a1564e9c Fix duplicate code 2020-02-12 14:44:03 -08:00
Matt Bierner efb781e5be Marking that documents/workspaces arrays cannot be mutated 2020-02-11 11:36:23 -08:00
Martin Aeschlimann 8d4cdbaa8d [html] fix semantic selection test 2020-01-31 09:09:02 +01:00
Pine Wu ab175a0f03 Update html/css services 2020-01-30 11:59:04 -08:00
Martin Aeschlimann 492d045b91 [html] update dependencies 2020-01-27 23:14:42 +01:00
Jarod Kurland 9be42959e3 Defaulted mirrorCursorOnMatchingTag to false
Resolves #87737
2020-01-20 16:12:54 +02: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
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
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 adb6281d0a fix html tests 2020-01-10 16:38:36 +01:00
Martin Aeschlimann f1f652ccc1 polish html-js sem highlighting 2020-01-10 15:39:42 +01:00
Martin Aeschlimann db581614ab Error while computing semantic tokens. Fixes #88366 2020-01-10 15:19:05 +01:00
Martin Aeschlimann a6eac1f182 only map when necessary 2020-01-08 11:14:31 +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
Johannes Rieken 84013e2ef0 fix double quote issues 2020-01-02 20:31:00 +01:00
Yuki Ueda 3f6ca94279 replace 'declare var' with 'declare const' 2019-12-26 17:12:23 +09: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 2ca09d93aa visit ast 2019-12-18 22:29:46 +01:00
Martin Aeschlimann e53c9568f3 refactor 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 f07fae16be extract js semantic tokens 2019-12-18 22:29:46 +01:00