Commit graph

366 commits

Author SHA1 Message Date
Martin Aeschlimann 72c76bfb09 [html] update client (for #43317) 2018-02-13 13:03:42 +01:00
Ramya Rao 00f2d8ed71
Get emmet completions from css extension (#41652)
* Get emmet completions from html,css extensions

* Resolve extensionsPath, use emmet results even if empty

* Support css abbr with :

* Refactoring

* Add some basic emmet tests

* Refactoring

* More tests
2018-02-12 21:40:10 -08:00
Martin Aeschlimann 8fdf170a08 update grammar script: remove unused properties 2018-02-12 16:54:46 +01:00
Pine Wu d9428ff856 Fix html/css launch config 2018-02-09 10:18:10 -08:00
Martin Aeschlimann 3495363b2c make grammar file names consistent 2018-02-09 12:45:27 +01:00
Ramya Achutha Rao 3b075ee291 Wait for telemetryReporter to complete dispose before deactivating extensions 2018-02-06 17:55:39 -08:00
Martin Aeschlimann 1a4c15e5b3 [html] update service 2018-01-30 08:34:55 +01:00
Dirk Baeumer e91b851ca8 Upgrade to latest language pack format 2018-01-30 00:11:57 +01:00
Ramya Achutha Rao 71c3b15465 Update the telemetry module used by extensions 2018-01-29 14:53:24 -08:00
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 64ced3e40b [html/css/scss/less] Textual suggestions missing in 1.19.0. Fixes #40349 2018-01-11 16:18:13 +01: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 354a8cd414 [html/json] set language server debug ports 2017-12-15 15:32:02 +01:00
Martin Aeschlimann fbcd6e5dfe [html] increase validationDelay 2017-12-15 15:32:01 +01:00
Martin Aeschlimann bcf98b17d5 [html] update service (for #39712) 2017-12-06 12:32:13 +01:00
Martin Aeschlimann a96bf87ac5 [html] update service 2017-12-04 18:10:02 +01:00
Ramya Achutha Rao eec34d226e Remove unused import 2017-12-01 11:13:44 -08:00
Martin Aeschlimann 9b391e8265 [html] use proposalprovider for region snippets 2017-12-01 17:13:23 +01:00
Martin Aeschlimann 3837e26827 [html] update service 2017-12-01 10:54:09 +01:00
Martin Aeschlimann 4f9f4ebb9f [folding] regions for html. Fixes #39409 2017-12-01 10:54:09 +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
João Moreno 67cd9258fd
Merge pull request #38481 from Microsoft/joao/yarn
Use Yarn to manage dependencies
2017-11-16 11:23:37 +01:00
Joao Moreno 5d4d38543a use yarn in extension scripts 2017-11-16 10:46:51 +01:00
Joao Moreno 758c47ef87 npm > yarn 2017-11-15 15:14:00 +01:00
Martin Aeschlimann fc6640df6f [html] editor.action.formatDocument removes <script> property. Fixes #36574 2017-11-15 12:48:36 +01:00
Joao Moreno 39ea7877ca update css|html|json dependencies 2017-11-14 10:09:17 +01:00
Martin Aeschlimann d133edf626 update language client to 3.5.0 2017-11-14 10:06:01 +01:00
Joao Moreno b635672331 remove shrinkwrap references 2017-11-14 10:04:36 +01:00
Joao Moreno 50cabbc80a yarn import css|html|json server 2017-11-14 10:02:26 +01:00
Joao Moreno c23063000c Merge branch 'master' into yarn 2017-11-14 09:57:55 +01:00
Joao Moreno 18c5daaf0a fix language servers dependencies 2017-11-14 09:57:38 +01:00
Joao Moreno 0a8b6fb706 yarn: replace most shrinkwrap files 2017-11-13 23:03:52 +01:00
Martin Aeschlimann 7a2065f582 switching to noUnusedLocals : for #37212 2017-11-13 13:53:42 +01:00
Martin Aeschlimann a480155df2 [html] auto indentation is different if the closing tag is followed by any character or whitespace. Fixes Microsoft/vscode#37869 2017-11-09 12:11:21 +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
Martin Aeschlimann 4e54be91dd Format: breaks rule on <wbr> (inner word break opportunity) tag. Fixes #37389 2017-11-01 17:52:53 +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 8f02a9275f update css service (fixes #36883) 2017-10-30 21:15:42 +01:00
Martin Aeschlimann 4473006497 [css/html/json] use fixed version of language server/client 2017-10-27 13:11:52 +02:00
Johannes Rieken 65a2d30efe color - jsdoc and tiny tweaks for color provider api 2017-10-16 12:43:21 +02:00
Martin Aeschlimann c6b980c672 [html] update server 2017-10-11 16:01:47 +02:00
Martin Aeschlimann 12d4925c72 Use strict version-identifier for @types/xyz-modules . For #35561 2017-10-04 11:25:45 +02:00
Martin Aeschlimann 77e7b0a17e [css/html] update service 2017-09-28 10:54:04 +02:00
Martin Aeschlimann a2d1bbbe6f [css/thml] update language services (reduce footprint) 2017-09-26 12:29:09 +02:00
Martin Aeschlimann 9aa5965a3c [html] fix invalid characters in snippets 2017-09-25 23:11:46 +02:00
Martin Aeschlimann b6677bccae [html] update vscode-languageserver-types to 3.4.0 2017-09-22 09:40:08 +02:00
Martin Aeschlimann 38000de236 [html] fix build error (shrinkwrap not uptodate) 2017-09-22 09:37:46 +02:00
Martin Aeschlimann c6686be263 [html] provide colorpresentations in language server 2017-09-21 12:57:58 +02:00
rebornix 084849c2fa provideColorPresentations should have document in paramaters. 2017-09-20 13:44:57 -07:00
rebornix ce20acd130 color space 0...1 2017-09-20 12:59:02 -07:00
isidor efdc328058 ${workspaceRoot} -> ${workspaceFolder} 2017-09-19 11:21:49 +02:00
rebornix d069e922ef Re #34366. Extensions define color formats. 2017-09-19 00:03:58 -07:00
Martin Aeschlimann 0943cc3d5a [html] support script type=module. Fixes #34488 2017-09-18 15:43:13 +02:00
Martin Aeschlimann fb5cdf0948 [html] change default of html.format.unformatted to empty 2017-09-13 16:31:34 +02:00
Martin Aeschlimann 8351891a17 [html] remove console log 2017-09-13 16:00:45 +02:00
Martin Aeschlimann 5c12dc3e10 [html] update service 2017-09-12 23:38:13 +02:00
Matt Bierner 35c8bc4daa Further improve colorization of embeded expressions
- Add groovy embedded support
- Make high contrast colorization consistent
2017-09-12 11:04:02 -07:00
rebornix 3753e0e1d2 Align signatures with other providers. 2017-09-08 14:11:44 -07:00
rebornix 3479d81d77 Fix #32235. Functional style formatter. Color range is all float number and remove fromHex, fromHSL methods. 2017-09-08 11:36:39 -07:00
Matt Bierner 49db68d7ce Reset VS Dark + Light styling for meta embedded (#33866)
Fixes #33120

Adds rules to vs dark+light to reset style for meta embedded scopes. This is a proposed approach to support colorization of nested languages better
2017-09-06 11:18:53 -07:00
Martin Aeschlimann e369dd0789 "html.validate.scripts" not applied on folder. Fixes #33533 2017-08-31 10:34:50 +02:00
Martin Aeschlimann 4e463469b8 HTML Auto Close doesn't work with Multi Cursor. Fixes #33429 2017-08-30 11:35:56 +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 256b02f921 Merge pull request #31253 from yfdyh000/i18n-fixes
Fixes some extensions strings missing for i18n
2017-08-28 22:04:39 +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
YFdyh000 8fc488e097 Fixes some extensions strings missing for i18n 2017-07-22 21:07:27 +08:00
Martin Aeschlimann 7790c4a753 update grammars 2017-07-18 10:09:48 +08:00
Benjamin Pasero f86eb5e9c9 HTML saving as RHTML (fixes #30444) 2017-07-12 08:58:51 +02:00
kieferrm 3f8bd163f4 update dependency on vscode-extension-telemetry 2017-06-30 09:57:37 -07:00
Joao Moreno 5667cc0e69 use vsce to determine what to package when bundling extensions
fixes #29054
2017-06-21 16:17:21 +02:00
rebornix 19ae0932c4 AutoIndent: Enrich TypeScript and HTML rules. 2017-06-16 12:58:42 -07:00
Jens Hausdorf 544d44350b remove double semicolons (#28110) 2017-06-06 13:51:23 -07:00
Martin Aeschlimann a76e066881 Merge pull request #28028 from jens1o/jens1o-html
Add `.rhtml` to html extension
2017-06-06 14:18:10 +02:00
Jens Hausdorf fc229891ce Add .rhtml to html extension 2017-06-05 10:44:16 +02:00
Martin Aeschlimann b28e0e3425 Update thirdpartynotices 2017-06-01 10:38:05 +02:00
Martin Aeschlimann 41e7b3f9ac [html] update services 2017-05-29 17:05:23 +02:00
Martin Aeschlimann f9084bb244 Add information_for_contributors to grammars 2017-05-26 09:27:51 +02:00
Martin Aeschlimann 72cb93c60e [html] update grammar 2017-05-18 15:41:33 +02:00
Martin Aeschlimann ae333a8b41 test fixes for #17178 2017-05-18 10:50:30 +02:00
Martin Aeschlimann 4a1c576f48 Script element with type="text/html" not recognised as html. Fixes #25920 2017-05-08 12:52:20 +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
Martin Aeschlimann a6db6bb440 HTML format selection formatting entire line issue. Fixes #25521 2017-04-28 09:58:23 +02:00
Matt Bierner 08b0a15967 Update TS/JS Grammars (#25337)
* Update TS/JS Grammars

* Update test results

* Update html tests
2017-04-25 15:29:09 -07:00
Martin Aeschlimann 2c70320d48 [html] update html grammar 2017-04-25 23:40:28 +02:00
Martin Aeschlimann 0a760c70c2 [html] update service 2017-04-24 10:07:51 +02:00
Martin Aeschlimann d02567a2e4 [css] update service 2017-04-21 20:17:40 +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
Ramya Achutha Rao 84af63a933 Increment version of vscode extension telemetry module 2017-04-18 14:46:35 -07:00
Martin Aeschlimann c974993981 [css] update service. Fixes #22735 2017-04-18 09:54:21 +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 4c56e61918 Attach languge server: set "protocol": "legacy", 2017-04-06 23:46:35 +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 b266419e6e Automatically detect .ejs templates (and other common template extensions) as HTML file. Fixes #22333 2017-03-17 19:32:05 +01:00
Martin Aeschlimann b9e96da4ef [html] update service for #21717 2017-03-03 13:57:22 +01:00
Martin Aeschlimann 3c0ac99311 stale color box when switching languages. Fixes #21108 2017-02-22 22:37:55 +01:00
Martin Aeschlimann f1a1fd24c1 [css] Setting to hide CSS Color preview boxes. Fixes #10943 2017-02-22 00:51:27 +01:00
Martin Aeschlimann 9e5eab91b5 [html] update formatter (fixes #20844) 2017-02-21 16:38:24 +01:00
Martin Aeschlimann 279256887b [html] add document symbols. Fixes #20956 2017-02-21 14:52:15 +01:00
kieferrm ccefc7747a upgrade telemetry used by html ext 2017-02-20 20:17:07 -08:00
Martin Aeschlimann 74a6d6d423 fix tests for #20610 2017-02-20 17:34:05 +01:00
Martin Aeschlimann 813db38907 Merge pull request #20610 from rebornix/HTMLGrammar
correct boundary for embedded languages in HTML
2017-02-20 17:22:02 +01:00
Martin Aeschlimann 2fe6ff47e5 remove vue from html associations (recommend vetur) 2017-02-20 15:48:25 +01:00
Martin Aeschlimann 763eefdd37 [html] update servers & clients 2017-02-17 19:41:32 +01:00
Martin Aeschlimann eb4213221d [html] intellisense for dom types missing 2017-02-17 19:41:32 +01:00
Martin Aeschlimann 740799fb53 Opening from command-line in empty folder creates debug.log file. Fixes #20325 2017-02-16 16:15:35 +01:00
rebornix a3af133211 correct boundary for embedded languages in HTML 2017-02-14 10:56:30 -08: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 d7382f0d55 html.format.wrapAttributes: value is "force-aligned", not "force-align". Fixes #19849 2017-02-03 16:06:33 +01:00
Martin Aeschlimann 60bbe61489 [css] change grammar to atom/language-css 2017-01-31 17:10:28 +01:00
Martin Aeschlimann 762a189993 [html] disable formatter for cshtml. Fixes #19206 2017-01-30 16:32:30 +01:00
Joao Moreno ff61866495 html: remove @types shrinkwrapping 2017-01-26 15:43:15 +01:00
Martin Aeschlimann fc44b4f083 SCSS differences in coloring. Fixes #19289 2017-01-25 17:21:33 +01:00
Martin Aeschlimann 3880d0cc3d [html] update services 2017-01-24 00:51:22 +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 3358b26968 [html] improve color decorator updating 2017-01-19 16:41:54 +01:00
Martin Aeschlimann 3956be9ba6 [typescript] update grammar to to Microsoft/TypeScript-TmLanguage@e47681d (2017-01-17). Fixes #18612 2017-01-19 12:02:15 +01:00
Martin Aeschlimann 410cae8fb5 [html] update client dependencies + migrate 2017-01-17 23:09:11 +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 5df445b978 Cannot read property 'length' of undefined. Fixes #18293 2017-01-09 22:47:43 -04:00
Alex Dima 88c45c4e57 Merge remote-tracking branch 'origin/master' into alex/tokenization 2017-01-09 11:19:26 +01:00
Martin Aeschlimann c53041b780 [html] update jsbeautify (for #2204) 2017-01-07 23:44:02 -04:00
Martin Aeschlimann be716e241f [html] attribute on separate line formatting. Fixes #2204 2017-01-07 22:48:35 -04:00
Alex Dima ebc43b3e8b Merge remote-tracking branch 'origin/master' into alex/tokenization 2017-01-05 12:31:43 +01:00