Commit Graph

97 Commits

Author SHA1 Message Date
Martin Aeschlimann
c6686be263 [html] provide colorpresentations in language server 2017-09-21 12:57:58 +02:00
Martin Aeschlimann
0943cc3d5a [html] support script type=module. Fixes #34488 2017-09-18 15:43:13 +02:00
Martin Aeschlimann
8351891a17 [html] remove console log 2017-09-13 16:00:45 +02:00
Martin Aeschlimann
e369dd0789 "html.validate.scripts" not applied on folder. Fixes #33533 2017-08-31 10:34:50 +02:00
Martin Aeschlimann
0a5cc39147 Style tag doesn't auto close in HTML. Fixes #33428 2017-08-30 10:45:43 +02:00
Martin Aeschlimann
2059716397 [html] rename setting to 'html.autoClosingTags' 2017-08-29 08:09:02 +02:00
Martin Aeschlimann
07e2faac5e [html] adopt languageserver colorProvider.proposed protocol. Fixes #32611. 2017-08-28 19:15:36 +02:00
Martin Aeschlimann
36161ba789 [html] update langauge server 2017-08-25 12:19:12 +02:00
Martin Aeschlimann
b08cde32fe [html] VSCode doesn't automatically close HTML tags Fixes #2246. 2017-08-25 12:08:15 +02:00
Martin Aeschlimann
00a44d37c5 [html] remove document settings on buffer close 2017-08-23 14:33:04 +02:00
Martin Aeschlimann
a3607bc2d2 [html] add multiroot support. Fixes #32489 2017-08-18 18:21:06 +02:00
Jens Hausdorf
544d44350b remove double semicolons (#28110) 2017-06-06 13:51:23 -07:00
Matt Bierner
9b0141aaec Enable Semantics Diagnostics for Inline JS (#25850)
Fixes #25809

**Bug**
Inline js in html currently only reports semantic errors. This means that `// @ts-check` does not work to help catch programming errors

**Fix**
Also report semantic errors in script tags
2017-05-03 15:23:04 -07:00
Matt Bierner
1a8b7a7dc7 Treat Script Tag Contents in HTML as JS (#25847)
**Bug**
Script contents in html are treated as typescript instead of javascript

**Fix**
Explicitly set the script kind to js

Fixes #25846
2017-05-03 12:47:53 -07:00
Martin Aeschlimann
a6db6bb440 HTML format selection formatting entire line issue. Fixes #25521 2017-04-28 09:58:23 +02:00
Martin Aeschlimann
ef9e03c8ad [html] Format onPaste issues with HTML. Fixes #21218 2017-04-21 13:59:53 +02:00
Martin Aeschlimann
485bd40c3f fix html formatting test lint warnings 2017-04-21 11:00:09 +02:00
Martin Aeschlimann
9dfd573e87 fix html test 2017-04-21 10:58:40 +02:00
Martin Aeschlimann
bfc4e3d780 [html] support for base url. Fixes #20729 2017-04-19 19:38:44 +02:00
Magnus Hiie
95f0c15bf5 Expose insert..Braces rule in VS Code settings (#21649)
* Expose insert..Braces rule in VS Code settings

Fixes #18043

* Add requirement blurb for insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces

* Revert tsfmt change
2017-04-13 16:35:40 -07:00
Martin Aeschlimann
114160d225 Fix for completionProvider registration in html/json server 2017-04-10 15:14:43 +02:00
Martin Aeschlimann
1242ff5751 [html] Formatting JavaScript placed after div elements inside html file adds 12 extra tabs. Fixes #23063 2017-03-27 23:14:47 +02:00
Martin Aeschlimann
279256887b [html] add document symbols. Fixes #20956 2017-02-21 14:52:15 +01:00
Martin Aeschlimann
eb4213221d [html] intellisense for dom types missing 2017-02-17 19:41:32 +01:00
Matt Bierner
7f8173680f Use @types a few more places (#20159) 2017-02-07 18:16:19 -08:00
Martin Aeschlimann
bf3cfd9dd5 Format Document Completely breaks code!!!. Fixes #19813 2017-02-06 12:54:38 +01:00
Martin Aeschlimann
762a189993 [html] disable formatter for cshtml. Fixes #19206 2017-01-30 16:32:30 +01:00
Dirk Baeumer
bf89d878d8 Removed <DiagnosticSeverity> cast 2017-01-20 21:21:24 +01:00
Martin Aeschlimann
9b47ab5339 [handlebars] validation issue in Handlebars file. Fixes #18777 2017-01-19 21:12:49 +01:00
Martin Aeschlimann
c0b1937b47 lamguage servers: Require snippetSupport for completionProvider capability 2017-01-19 20:43:50 +01:00
Martin Aeschlimann
54a383e1a2 [html] update server dependencies, migrate 2017-01-17 23:09:10 +01:00
Martin Aeschlimann
6d906aef32 documentLinkProvider should return an object (for #17289) 2017-01-09 23:17:29 -04:00
Martin Aeschlimann
939f0876c9 [html] setting to disable script & style validation 2017-01-03 20:37:48 -04:00
Martin Aeschlimann
420de32d3c [html] can not disable angular proposals anymore 2017-01-03 20:37:47 -04:00
Martin Aeschlimann
e9f15e6495 [html] indentation after scripts broken 2017-01-03 20:37:47 -04:00
Martin Aeschlimann
b38a82cca7 [html] script end tag is not correctly indented. Fixes #16650 2016-12-08 12:29:46 +01:00
Martin Aeschlimann
8eb0cce438 html.format.unformatted does not respect scripts. Fixes #16634 2016-12-07 19:32:12 +01:00
Martin Aeschlimann
aba60c3d95 CSS intellisense doesn't work in incomplete style block . Fixes #16651 2016-12-07 17:21:58 +01:00
Martin Aeschlimann
2658911aff [html] fix compile error in tests 2016-12-05 11:44:41 +01:00
Martin Aeschlimann
3b72900e21 html language server breaks js auto completion if imports are used. Fixes #16426 2016-12-05 11:18:15 +01:00
Martin Aeschlimann
ff95c2db18 Links no longer clickable in HTML. Fixes #16376 2016-12-03 08:32:01 +01:00
Martin Aeschlimann
a29692641d [html] telemetry for completion in embedded content 2016-12-01 17:14:20 +01:00
Martin Aeschlimann
cdc432d939 HTML Server crashes fixes #16314 2016-12-01 09:45:56 +01:00
Martin Aeschlimann
f37a51537b [html] adopt SnippetString (#15573) and update to TS 2.0 2016-11-24 18:42:39 +01:00
Martin Aeschlimann
520fb13462 [html] errors in attributes on missing semicolons and parens. Fixes #15970 2016-11-23 19:41:36 +01:00
Martin Aeschlimann
0a60061ce7 [html] fix tests 2016-11-23 19:40:56 +01:00
Martin Aeschlimann
224572723b [html] symbol information for embedded CSS and JS 2016-11-23 17:36:52 +01:00
Martin Aeschlimann
fee99086fb [html] offer JQuery intellisense 2016-11-23 16:35:51 +01:00
Martin Aeschlimann
1c4e72aa68 share TypeScipt node_module amongst extensions 2016-11-23 16:35:50 +01:00
Martin Aeschlimann
03d9bb3a5d [html] fix for embedded css, stackoverflow 2016-11-22 20:26:23 +01:00