Commit Graph

28 Commits

Author SHA1 Message Date
Martin Aeschlimann
0448d3d4c7 JS errors in HTML aren't prefixed with [html] neither with [js]. Fixes #33396 2017-11-22 17:30:33 +01:00
Matt Bierner
3200d2afa6 Update a few interfaces for TS 2.6.2 2017-11-20 15:53:17 -08:00
Martin Aeschlimann
fc6640df6f [html] editor.action.formatDocument removes <script> property. Fixes #36574 2017-11-15 12:48:36 +01:00
Martin Aeschlimann
b0e058ea98 [html] more strict null preparations (but still disabled, due to dependencies) 2017-11-09 11:53:31 +01:00
Martin Aeschlimann
c88c599134 Merge pull request #37744 from mjbvz/html-ext-strict-1
Start moving html ext to strict mode compile
2017-11-09 09:57:16 +01:00
Erich Gamma
b94569fe0d tslint5 adoption - fix semicolon rule 2017-11-07 12:08:22 +01:00
Matt Bierner
62aa6cb900 Start moving html ext to strict mode compile
Moves the html extension's client code to strict mode and also updates some of the server code. The rest of this migration will requires changes to the *.d.ts files that the server consumes
2017-11-06 15:19:34 -08:00
Matt Bierner
033e74d08b Fix compile error for ts 2.6 api change
Forgot to add this file when checking in
2017-10-31 13:14:50 -07:00
Martin Aeschlimann
a3607bc2d2 [html] add multiroot support. Fixes #32489 2017-08-18 18:21:06 +02: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
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
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
eb4213221d [html] intellisense for dom types missing 2017-02-17 19:41:32 +01:00
Martin Aeschlimann
bf3cfd9dd5 Format Document Completely breaks code!!!. Fixes #19813 2017-02-06 12:54:38 +01:00
Dirk Baeumer
bf89d878d8 Removed <DiagnosticSeverity> cast 2017-01-20 21:21:24 +01:00
Martin Aeschlimann
54a383e1a2 [html] update server dependencies, migrate 2017-01-17 23:09:10 +01: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
3b72900e21 html language server breaks js auto completion if imports are used. Fixes #16426 2016-12-05 11:18:15 +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
8efb9e68d0 [html] refactor and simplify embeddedSupport 2016-11-22 16:59:00 +01:00
Martin Aeschlimann
287a5deb91 [html] embedded css/javascript in attribute values 2016-11-21 17:03:11 +01:00
Martin Aeschlimann
cbdddca5ed [html] Format embedded JavaScript 2016-11-18 16:56:16 +01:00
Martin Aeschlimann
935027dc19 [html] resolve JS completion proposals 2016-11-16 16:04:33 +01:00
Martin Aeschlimann
03813455b7 [html] add embedded JavaScript support 2016-11-16 10:58:52 +01:00