Commit graph

468 commits

Author SHA1 Message Date
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
Martin Aeschlimann d6aa8f540d fixes 2019-12-18 22:29:46 +01:00
Martin Aeschlimann 03e79666c7 sem highlighting in HTML 2019-12-18 22:29:46 +01:00
Martin Aeschlimann 42c54bd559 get legend 2019-12-18 22:29:45 +01:00
Martin Aeschlimann b58c6fafad [html] add semantic highlight 2019-12-18 22:29:45 +01:00
Pine Wu eb0ca2626b Fix #86844 2019-12-17 15:16:35 -08:00
Pine Wu 6debd159df Add comment and improve mirror cursor exit logic 2019-12-17 11:43:19 -08:00
Mohammad Rahhal e01bc49c57 Exit mirror cursor mode when there's a none-empty selection in an unmmatched state 2019-12-14 16:26:47 +02:00
Mohammad Rahhal 2d3c754f71 Fix typos 2019-12-14 13:45:22 +02:00
Pine Wu b2868cc01c Fix #85981 2019-12-06 11:24:11 -08:00
Pine Wu 7fada39392 Fix #86151 2019-12-05 16:27:35 -08:00
Pine Wu 29474d526e Revert "Fix #85151"
This reverts commit 398696040b.
2019-12-05 16:26:18 -08:00
Pine Wu 06f97fe829 Fix #86441 2019-12-05 16:24:58 -08:00
Pine Wu 398696040b Fix #85151 2019-12-05 16:24:41 -08:00
Pine Wu 2c20d011b1 Fix #86058 2019-12-05 11:42:37 -08:00
Martin Aeschlimann eeee6244d9 [josn] fix wrong schema-schema reference, use draft-07 everywhere 2019-12-05 11:15:39 +01:00
Pine Wu f966d27d9a Update css service 2019-12-04 16:58:10 -08:00
Pine Wu 52de8700e7 Fix #86211 2019-12-04 16:51:41 -08:00
Martin Aeschlimann b850dfb41b Merge branch 'master' of https://github.com/microsoft/vscode 2019-12-02 21:44:04 +01:00
Martin Aeschlimann 5f1b81b497 [css/html/json] provide replace & insert proposals 2019-12-02 21:43:59 +01:00
Pine Wu 104f90e0eb Fix #85715. Fix #85717 2019-12-02 11:53:41 -08:00
Pine Wu f057cf0fa0 Update html/css LS for new data 2019-11-27 17:04:06 -08:00
Pine Wu 615732feae Update CSS Language Service 2019-11-26 14:41:08 -08:00
Martin Aeschlimann 873fc72278 [html] "Expand selection" misses { } in <script> tag. Fixes #85306 2019-11-26 17:11:41 +01:00
Pine Wu 84aa1ada9f ESC to exit mirror tag position mode 2019-11-22 13:59:26 -08:00
Pine Wu 4e3af8a295 Remove textedit when adding space from ending tag 2019-11-22 13:54:34 -08:00
Pine Wu 0d25d0a798 Fix #47069 2019-11-22 10:16:38 -08:00
Pine Wu 07574365c9 Add HTML rename for #47069 2019-11-19 11:15:16 -08:00
Pine Wu 537fcc46d7 Update css LS 2019-11-14 10:51:52 -08:00
Alex Dima c9a2de2d9c
Improve integration test output on Windows (#84239) 2019-11-08 17:21:35 +01:00
Martin Aeschlimann 1476c4e20b [html] update to TextDocument and switch to incremental 2019-11-05 22:19:43 +01:00
Pine Wu 7ab195a897 Revert "Update css LS for #3145"
This reverts commit d327d5e890.
2019-11-04 18:15:36 -05:00
Pine Wu d327d5e890 Update css LS for #3145 2019-11-04 14:50:47 -05:00
Pine Wu 36a3fd8e42 Update css service 2019-10-29 11:45:48 -07:00
Pine Wu a3837d1a64 Fix #79844 2019-10-28 16:14:32 -07:00
Benjamin Pasero ca22de4b17 debt - bump node.d.ts dependency in extensions to 12.x (part of #82514) 2019-10-28 08:11:47 +01:00
Pine Wu 7fa28ec9d3 Part of #79964 2019-10-22 14:19:03 -07:00
Pine Wu 313a142652 Bump css LS for #79215 2019-10-22 12:03:11 -07:00
Pine Wu a724a64cce Bump css LS for #74635 2019-10-22 11:19:49 -07: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
Pine Wu d4e49567f3 Update html language service 2019-10-03 12:14:14 -07:00
Pine Wu 2b9bb7c2e0 Update css language service 2019-10-03 09:33:34 -07:00
Pine Wu 9bb24dc1c1 Upgrade html/css language services 2019-09-30 16:42:01 -07:00
Martin Aeschlimann d6169488c3 update html server & service 2019-09-30 22:58:18 +02:00
Martin Aeschlimann 78a6b2d72f #81592 again 2019-09-30 14:51:26 +02:00
Martin Aeschlimann 078acb7872 JSON formatting often fails at first. Fixes #71652 2019-09-30 12:25:57 +02:00
Martin Aeschlimann 3259fbf267 [json] Use textDocument.rangeFormatting.dynamicRegistration instead of workspace.symbol.dynamicRegistration? #81592 2019-09-30 09:23:23 +02:00
Pine Wu 4dec1f7b49 Fix #32200 2019-09-11 14:27:25 -07:00
Pine Wu 1c5b3fd83d Update html service. Fix #80600 2019-09-10 08:26:32 -07:00
Alex Dima ea661bb83f Fix HTML integration test 2019-09-07 00:28:05 +02:00
Pine Wu 14a3819e74 Fix #80269 2019-09-03 09:19:56 -07:00
Pine Wu 43788e3ee1 Update html services 2019-08-28 17:25:14 -07:00
Pine Wu 64c07ab1e3 Polish description for customdata 2019-08-28 10:21:41 -07:00
Pine Wu 739ae7737a Fix #78068 2019-08-27 09:25:15 -07:00
Pine Wu adbee7d26e Update html/css services 2019-08-23 12:01:51 -07:00
Pine Wu bcc7f1219f Update services for #78285 2019-08-07 10:46:54 -07:00
Pine Wu 285b680dc1 Fix #67742 2019-07-29 11:27:06 -07:00
Pine Wu 54fefb8d78 Update html & css service 2019-07-26 19:49:31 -07:00
Martin Aeschlimann 81380bb822 register selectionRangeProviders 2019-07-25 18:33:18 +02:00
Martin Aeschlimann 89afd3fe5e update html service. FIxes #77792 2019-07-25 18:33:18 +02:00
pi1024e 77df637ab4 Removed style chacnges 2019-07-23 13:52:12 -04:00
pi1024e 10b924d2d3 Fixed whitespace related comments to be a complete sentence. 2019-07-23 13:52:12 -04:00
pi1024e 85d4895587 Refactored code to make "WhiteSpace" into "Whitespace" 2019-07-23 13:52:11 -04:00
Martin Aeschlimann bd57ca7066 Expand Selection not working as intended. Fixes #77194. Fixes #77087 2019-07-18 13:57:51 +02:00
Martin Aeschlimann 4ed70122f8 remove imports 2019-07-08 12:44:50 +02:00
Martin Aeschlimann aa38607483 incremental text documents cause perf isssues 2019-07-08 12:44:40 +02:00
Matt Bierner c419355b5b
Merge pull request #75375 from microsoft/dev/mjbvz/vscode-api-readonly-events
Mark events as readonly in VS Code api
2019-06-14 11:59:57 -07:00
Martin Aeschlimann a84c30184c [css/json/html] update lsp, services & dependencies 2019-06-13 10:27:45 +02:00
Matt Bierner b4f6130fe4 Fix some compile errors resutling from readonly change 2019-06-12 16:54:16 -07:00
Aurélien Pupier 7a5bca9faf Add License field to package.jsons #68423 (#68771)
it should avoid to have "warning XXX: No license field" during yarn
build

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2019-06-06 11:44:50 +02:00
Benjamin Pasero d78a75973c
update @types/node (#74881) 2019-06-05 10:20:01 +02:00
Pine Wu 27819b3902 Path completion for <area href=""> and <input src="">. Fix #74129 2019-05-22 09:25:28 -07:00
Martin Aeschlimann 988b197b91 update html service 2019-05-06 17:50:05 +02:00
Matt Bierner d81145d3f0 Use proper documentHighlights api for html js intellisense 2019-04-10 15:21:53 -07:00
Pine Wu 47913e0c52 Update css dependencies for #71715 and #71791 2019-04-08 14:55:28 -07:00
Pine Wu 5aa6e13ad0 Update html/css service 2019-04-03 16:01:08 -07:00
Martin Aeschlimann 11efc39349 fix hygiene 2019-03-25 22:26:06 +01:00
Martin Aeschlimann 117ee62c22 'html' snippet is annoying and easily inserts by accident when typing any html. Fixes #69457 2019-03-25 22:16:53 +01:00
Martin Aeschlimann 44cf008419 update html service 2019-03-25 20:30:38 +01:00
Pine Wu 5d4af57655 Update css service 2019-03-25 11:24:39 -07:00
Pine Wu 2b0b602af8 Update html service 2019-03-25 10:49:23 -07:00
Johannes Rieken 4f8dbd4544 use a parent pointer instead of 2d array, #67872 2019-03-12 10:04:06 +01:00
Johannes Rieken 6892cfc90e for now remove SelectionRangeKind #67872 2019-03-11 09:43:34 +01:00
Martin Aeschlimann 8e986b18a0 [html] update service (multi semantic selection, webpack) 2019-03-05 15:27:51 +01:00
Pine Wu 393b48d4a5 Drop razor support. Fix #66242 2019-02-24 17:03:15 -08:00
Pine Wu 697b9dda2c [html] Update service for MDN data 2019-02-24 16:32:18 -08:00
Pine Wu ac56ab6272 Read custom data from experimental scope. Fix #68554 2019-02-12 11:29:48 -08:00
Johannes Rieken 52d134aacb update proposed api to have multiple positions, #41838 2019-02-11 12:08:27 +01:00
Benjamin Pasero e2d1fd06d1 debt - update extensions node dependency to 10.x 2019-02-07 08:49:36 +01:00
Pine dc5bb48efe
Merge branch 'master' into octref/no-ionic-angular 2019-02-06 10:57:08 -08:00
Pine Wu b9a116e11b [HTML] Update language service 2019-01-30 12:57:02 -08:00
Pine Wu af57ecdf9d Fix #67544 2019-01-30 11:59:02 -08:00
Pine Wu 6787bd1f25 Update html/css custom data config schema for #67544 2019-01-30 11:46:57 -08:00
Pine Wu bb96111b32 [HTML] Update language service 2019-01-29 10:37:23 -08:00
Pine Wu e9708716f2 Move html/css custom data contribution to experimental 2019-01-28 17:14:28 -08:00
Pine Wu 81b9b09cd3 Update HTML language service for NPE 2019-01-28 17:12:24 -08:00
Pine Wu 0abf8dcbd0 Fix typo 2019-01-28 15:58:55 -08:00
Martin Aeschlimann 89275bcf59 Add preserve-aligned to the UI settings for html.format.wrapAttributes. Fixes #66644 2019-01-28 23:50:02 +01:00
Martin Aeschlimann 58d3dade0e [html] update service (new formatter) 2019-01-28 23:36:11 +01:00
Pine Wu 81e2ef1be1 Update services 2019-01-28 13:29:36 -08:00
Martin Aeschlimann 1972f79077 client: semantic selection registration 2019-01-28 18:24:12 +01:00
Martin Aeschlimann 21585312c2 [json] enable semantic selection 2019-01-28 16:05:18 +01:00
Pine Wu 33783baaa1 Fix #64022 2019-01-27 23:23:52 -08:00
Pine Wu 0ba2b1d078 Update css-service to fix NPE exceptions 2019-01-27 23:05:13 -08:00
Pine Wu 3815bb15fd Update service and adopt HTML provider interface 2019-01-27 22:22:50 -08:00
Pine Wu 0c579d7ac8 Run safe for html selectionRange 2019-01-23 15:10:12 -08:00
Pine Wu c47d3d4d46 Update service 2019-01-23 12:15:20 -08:00
Pine Wu d3c14cf0af Move logic to service 2019-01-23 12:11:29 -08:00
Pine Wu d1690ad706 Improve granularity 2019-01-22 11:25:41 -08:00
Pine Wu 82aab5a16e HTML selections 2019-01-21 22:15:39 -08:00
Pine Wu 02b7e03b72 Update service 2019-01-18 11:16:20 -08:00
Pine Wu 9a3ef8c4b2 Load html data using new API per Microsoft/vscode-html-languageservice#45 2019-01-18 11:09:34 -08:00
Pine c42df918e5
Merge pull request #66306 from Microsoft/octref/html-workspace-folders
Handle workspace folder reading for custom HTML data
2019-01-11 11:18:02 -08:00
SteVen Batten ccdd2997a6
update AI module (#66370)
fixes #64849
2019-01-10 17:43:25 -08:00
Pine Wu 177b805150 Handle workspace folder reading 2019-01-09 16:16:04 -08:00
Pine Wu b0e04e04c5 Remove outdated ionic/angular support in HTML 2019-01-08 16:20:38 -08:00
Matt Bierner c109d319fe Second pass converting for index based looping to for-of loops
More manual conversion of index based for loops to for-of loops
2019-01-04 12:03:23 -08:00
Pine Wu bae6c84d46 Update service for #66002 2019-01-03 21:14:50 -08:00
Matt Bierner b4964bcf35 Replace some common index based for loops with for-of loops
Replaces many loops of the form:

```js
for (let i = 0; i < elements.length; ++i) {
    const i = elements[i];
   ...
}
```

with:

```js
for (const element of elements) {
    ...
}
```

Mix of a horrible regex based find/replace and manual touch ups
2019-01-03 19:11:18 -08: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
Rob Lourens d34a1244b2 Add periods to setting descriptions 2018-12-31 15:52:14 -08:00
Pine Wu e489f935a2 Ensure no spaces when working on html LS 2018-12-19 09:14:49 -08:00