Commit Graph

118 Commits

Author SHA1 Message Date
Dirk Baeumer 04594c864b Add support for Language Packs 2018-01-25 21:14:34 +01:00
Matt Bierner 88f535500d Fix build error caused by ts api change 2018-01-17 15:38:37 -08:00
Martin Aeschlimann 1d921de390 [html] catch exceptions in handlers 2017-12-21 17:10:49 +01:00
Martin Aeschlimann 2fa4edeaa6 [html] Follow Link in Multi Root Workspace. Fixes #38469 2017-12-20 16:21:19 +01:00
Martin Aeschlimann 1c601c75ad "editor.links": true => File not found error with absolute href paths. Fixes #40445 2017-12-19 12:18:45 +01:00
Martin Aeschlimann fbcd6e5dfe [html] increase validationDelay 2017-12-15 15:32:01 +01:00
Martin Aeschlimann 760b64d7f0 [html] don't show closing tag proposal with "html.autoClosingTags": "false". FIxes #34435 2017-11-30 12:49:52 +01:00
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 ce11eb88b3 [html] Follow Link in Multi Root Workspace. Fixes #38469 2017-11-20 13:36:57 +01:00
Martin Aeschlimann b520c8f1ca [html] Request textDocument/rangeFormatting failed when pasting inside script tags. Fixes #35698 2017-11-20 11:02:12 +01:00
Martin Aeschlimann fc6640df6f [html] editor.action.formatDocument removes <script> property. Fixes #36574 2017-11-15 12:48:36 +01:00
Martin Aeschlimann 7a2065f582 switching to noUnusedLocals : for #37212 2017-11-13 13:53:42 +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 a54c44cb0d Enabling the 'noUnusedLocals' compiler option for extensions 2017-11-08 10:23:49 +01:00
Matt Bierner 69832fddf6 use import mocha instead of <reference> for some tests 2017-11-07 14:54:20 -08: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
Martin Aeschlimann 5ed577b00c [html] update server 2017-11-01 23:19:23 +01: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 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