Commit Graph

41 Commits

Author SHA1 Message Date
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
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
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
085854cd2b [html] jquery completions no longer work. Fixes #58299 2018-09-11 13:55:25 +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
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
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
Pine Wu
c17fb0ebff temp 2018-04-11 14:58:05 -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
a5cc44ef57 Fix #44814 2018-03-21 16:54:08 -07:00
Pine Wu
84e791ea5b Remove unused function and do not export by default 2018-03-21 16:54:08 -07:00
Pine Wu
4892298743 Refactor path completion 2018-03-21 16:54:08 -07:00
Martin Aeschlimann
ab90818cb3 [folding] Cannot read property 'length' of undefined. Fixes #46171 2018-03-20 15:29:48 +01:00
Martin Aeschlimann
086a751a06 [html] split extension (for #45900) 2018-03-17 16:32:55 +01:00