Commit Graph

192 Commits

Author SHA1 Message Date
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
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
b58c6fafad [html] add semantic highlight 2019-12-18 22:29:45 +01:00
Martin Aeschlimann
873fc72278 [html] "Expand selection" misses { } in <script> tag. Fixes #85306 2019-11-26 17:11:41 +01: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
Martin Aeschlimann
1476c4e20b [html] update to TextDocument and switch to incremental 2019-11-05 22:19:43 +01: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
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
Alex Dima
ea661bb83f Fix HTML integration test 2019-09-07 00:28:05 +02: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
Martin Aeschlimann
a84c30184c [css/json/html] update lsp, services & dependencies 2019-06-13 10:27:45 +02:00
Pine Wu
27819b3902 Path completion for <area href=""> and <input src="">. Fix #74129 2019-05-22 09:25:28 -07:00
Matt Bierner
d81145d3f0 Use proper documentHighlights api for html js intellisense 2019-04-10 15:21:53 -07: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
0abf8dcbd0 Fix typo 2019-01-28 15:58:55 -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
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
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
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
Pine Wu
d198091b68 html.experimental.custom.tags/attributes for Microsoft/vscode#62976 2018-11-28 16:34:12 -08:00
Matt Bierner
92a9a07213 Remove duplicate blank lines at the start of some extension src files 2018-10-02 16:28:19 -07:00
Matt Bierner
ff957050db Remove use strict in extensions (part 2)
We compile using alwaysStrict so this directive is not needed
2018-10-02 16:23:27 -07:00