Commit Graph

60 Commits

Author SHA1 Message Date
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
Matt Bierner
4c8e61c049 Remove "use strict" directives in extension tests
We compile with alwaysStrict so these are not needed
2018-10-02 15:59:42 -07:00
Matt Bierner
9116ec29ab Use shared config for html server 2018-10-02 10:24:20 -07:00
Pine Wu
39fbbf02c4 Do not suggest dot files in html/css. Fix #46780 2018-09-18 11:38:09 -07:00
Martin Aeschlimann
486ac95f43 [html] embedded folding ranges computed too many times (fixes #47712) 2018-09-18 18:33:35 +02:00
Martin Aeschlimann
7540711d86 [html] test for #58435 2018-09-18 18:33:35 +02:00
Martin Aeschlimann
085854cd2b [html] jquery completions no longer work. Fixes #58299 2018-09-11 13:55:25 +02:00
Martin Aeschlimann
b7a8c6c1ef [html] fix tests 2018-08-29 15:45:41 +02:00
Martin Aeschlimann
bcec0d3d5c [html] update dependencies 2018-08-27 18:15:55 +02:00
Martin Aeschlimann
1047f48993 strict warnings in pathCompletion 2018-08-27 12:13:15 +02:00
Martin Aeschlimann
21c22840c5 [html] adopt lsp (folding, colors) 2018-07-25 12:22:04 +02:00
Matt Bierner
3ea1e53bbd Update to TS 3.0 insiders 2018-07-09 09:34:24 -07:00
Matt Bierner
2355af8bf5 Fix compile error from TS update 2018-05-24 15:34:46 -07:00
Martin Aeschlimann
17f4d5346f [html] update dependencies 2018-05-23 16:49:17 +02:00
Martin Aeschlimann
c52fe7087c color provider server capability doesn't define boolean (yet). For Microsoft/vscode-languageserver-node#349 2018-05-15 12:05:59 +02:00
Martin Aeschlimann
752acd5042 [html] return max number of ranges (for #46687) 2018-05-08 10:33:34 +02:00
Matt Bierner
bf99321408 Pick up new TS insiders 2018-05-03 16:51:46 -07:00
Pine Wu
e4e7c25708 Revert "Restrict html/css to only handling file and untitled files. Part of #48777"
This reverts commit 0dfeec2eef.
2018-05-02 10:13:29 -07:00
Martin Aeschlimann
505c9392d5 test for #48049 2018-05-02 17:19:07 +02:00
Pine Wu
0dfeec2eef Restrict html/css to only handling file and untitled files. Part of #48777 2018-04-26 10:58:35 -07:00
Ramya Achutha Rao
c314388da2 Move emmet from html extenstion to emmet extension 2018-04-22 21:49:56 -07:00
Martin Aeschlimann
a322ceb0f6 [html] adopt folding APIs 2018-04-17 19:04:59 +02:00
Martin Aeschlimann
21ef28c36e [html] update services, add folding for embedded css (for #47808) 2018-04-16 22:20:02 +02:00
Martin Aeschlimann
6657623b98 css/html/json typos (for #47894) 2018-04-16 14:11:26 +02:00
Martin Aeschlimann
b372c7ea1e [html] intersecting regions test 2018-04-12 22:21:48 +02:00
Pine Wu
c17fb0ebff temp 2018-04-11 14:58:05 -07:00
Ramya Achutha Rao
f17b5ad659 Emmet can return empty array for css #47429 2018-04-10 10:16:24 -07:00
Martin Aeschlimann
11f5d549db [css] path completion sometimes only works for one folder level. Fixes #46722 2018-03-29 15:20:39 +02:00
Martin Aeschlimann
d9d762d1ce [css] .asar file breaks CSS path completion. Fixes #46638 2018-03-28 21:41:21 +02:00
Martin Aeschlimann
784de51e08 use vscode-languageserver-protocol-foldingprovider 2018-03-24 21:41:07 +01:00
Martin Aeschlimann
599be35c09 [html] unnecessary import 2018-03-22 11:10:31 +01:00
Martin Aeschlimann
3abd0f50e2 [html] move path completion inside html mode 2018-03-22 11:09:33 +01:00
Pine Wu
09818cd87a Add test for empty path 2018-03-21 16:54:08 -07:00