Commit Graph

136 Commits

Author SHA1 Message Date
Ramya Rao d7dca142ad Allow css emmet completions when abbr contains period Fixes #44352 (#44781)
* Allow css emmet completions when abbr contains period Fixes #44352

* Move css related workaround to cssMode #44352

* getEmbeddedParsedDocument is now not needed

* Show emmet completions everywhere inside the embedded css doc
2018-03-01 16:44:28 -08:00
Pine Wu d1d1e651e0 handle fs exceptions gracefully. fix #44506 2018-02-27 10:27:29 -08:00
Ramya Achutha Rao f10b71e994 Avoid setting completion items as undefined 2018-02-26 17:52:27 -08:00
Pine Wu e22aac5b52 correctly handle new value and range from html service 2018-02-26 16:33:03 -08:00
Pine Wu 5a67acfb17 Avoid running pathCompletion in languages other than html 2018-02-26 16:30:29 -08:00
Pine Wu 3b5a1c3907 address ramya's feedback on html completion participants 2018-02-26 15:04:32 -08:00
Martin Aeschlimann 7e97f98c41 compile errors in html 2018-02-26 22:06:44 +01:00
Martin Aeschlimann 13dfd2dbf4 Merge branch 'master' into octref/html-path-completion 2018-02-26 20:53:52 +01:00
Martin Aeschlimann a9d90af1a7 Add tests, update version 2018-02-26 20:06:24 +01:00
Pine Wu 4eca3c3d89 move to textedit 2018-02-25 19:27:34 -08:00
Pine Wu 6936409a1f Address feedback 2018-02-23 14:13:22 -08:00
Martin Aeschlimann 3e7521b68e [html] syntax folding (disabled by default) 2018-02-23 16:23:59 +01:00
Pine Wu 8c86648b40 Unit Test, solve corner cases and use TextEdit 2018-02-23 02:02:38 -08:00
Pine Wu 08ac402da0 use replace for TextEdit 2018-02-21 14:12:49 -08:00
Pine Wu 0819922f9a move completion logic to lang service 2018-02-21 14:10:57 -08:00
Pine Wu 9a0b59c55b basic completion 2018-02-21 07:58:38 -08:00
Ramya Achutha Rao 6c7fe5b95b Dont repeat hex color suggestions in emmet Fixes #32232 2018-02-13 17:41:53 -08: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
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