Commit Graph

128 Commits

Author SHA1 Message Date
chenjigeng
eae037b391 Fixed Hover style incorrect when writing javascript in HTML 2020-11-22 10:52:27 +08:00
Martin Aeschlimann
a180933669 [html] make mode services async 2020-06-25 11:48:24 +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
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
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
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
Pine Wu
54fefb8d78 Update html & css service 2019-07-26 19:49:31 -07: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
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
3815bb15fd Update service and adopt HTML provider interface 2019-01-27 22:22:50 -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
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