Commit Graph

4880 Commits

Author SHA1 Message Date
Johannes Rieken
df7ee603cb follow up on #46880 2018-03-29 15:29:51 +02:00
Martin Aeschlimann
11f5d549db [css] path completion sometimes only works for one folder level. Fixes #46722 2018-03-29 15:20:39 +02:00
Ramya Rao
2de91fdce5 Css partial parse refactoring (#46894)
* Refactor parsePartialStylesheet

* More refactoring

* To avoid errors, parse line comments char by char and no when getting to previous line.

* Revert "To avoid errors, parse line comments char by char and no when getting to previous line."

This reverts commit f353dba4c7.

* Fix for inline comments inside block comments
2018-03-28 18:12:07 -07:00
Martin Aeschlimann
4b55e2d7de [css] update service 2018-03-28 23:08:29 +02:00
Martin Aeschlimann
d9d762d1ce [css] .asar file breaks CSS path completion. Fixes #46638 2018-03-28 21:41:21 +02:00
Martin Aeschlimann
b08ba054ba [folding] Folded regions are lost when starting multi line comment Fixes Microsoft/vscode#46655 2018-03-28 16:06:10 +02:00
Martin Aeschlimann
cc81646edf Rename editorActiveLineNumber.foreground. Fixes #46848 2018-03-28 15:44:25 +02:00
Joao Moreno
42c882151f only detect git encoding if files.autoGuessEncoding is enabled
fixes #46826
2018-03-28 12:52:10 +02:00
Joao Moreno
dafdde11c9 fixes #45911 2018-03-28 09:56:58 +02:00
Gus Hurovich
95b0cffe72 Fix for #46745 (#46788)
* Fix for #46745

* If { found in selector, don't partial parse.
Adding sanity checks
2018-03-27 18:32:46 -07:00
Ramya Achutha Rao
7cf6969bd0 Absorb upstream fix for #45790 2018-03-27 17:17:21 -07:00
Matt Bierner
c059826ba2 Have distinct js/ts commands for organize imports
Fixes #46701
2018-03-27 14:33:55 -07:00
Matt Bierner
ddd967559b Pick up TS 2.8.1 2018-03-27 14:33:55 -07:00
Ramya Achutha Rao
c2dc46c1ce Offset is relative to position when finding comment 2018-03-27 12:28:20 -07:00
Ramya Achutha Rao
c07abc03f7 Avoid parsing file when abbr is invalid #43470 2018-03-27 12:12:22 -07:00
Ramya Achutha Rao
f5b569b633 Use partial parsing for stylesheets for Emmet command #43470 2018-03-27 09:51:19 -07:00
Joao Moreno
ab149aba6e fixes #21146 2018-03-27 14:50:53 +02:00
Martin Aeschlimann
0a42355840 [css] Request textDocument/foldingRanges failed. Fixes #46640 2018-03-27 11:16:38 +02:00
Martin Aeschlimann
666e95e8e7 [html] fix compile error with participant 2018-03-27 10:44:21 +02:00
Martin Aeschlimann
1fd4d982b2 [css] update service 2018-03-27 09:55:03 +02:00
Pine Wu
9ba3647569 Init folding provider on client ready 2018-03-27 02:39:45 -05:00
Martin Aeschlimann
b54c007395 [json] update service 2018-03-27 09:31:07 +02:00
Martin Aeschlimann
b918e7a41e [html] update service 2018-03-27 09:31:07 +02:00
Ramya Achutha Rao
65e502e8ef Remove unused variables 2018-03-26 21:19:35 -07:00
Ramya Achutha Rao
2792b8f437 Skip emmet inside comments in stylesheets when running the command 2018-03-26 20:47:09 -07:00
Ramya Achutha Rao
4f10555e3c Skip emmet inside comments in stylesheets #46434 2018-03-26 18:30:37 -07:00
Gus Hurovich
91416ffab8 Stylesheet partial parse (#46376)
* First draft at partial parsing of css for emmet

* Partial parsing of stylesheets for Emmet

* Addressing feedback

* Refactoring and fixing little bug

* Liitle fix

* Equals are now equals

* We don't want emmet in selectors

* Skip comments when preparsing

* Addressing feedback, refactoring and cleaning up code.

* Update endPosition only if not eof

* Use function to find closing comment

* Don't check more than 5000 characters back
2018-03-26 18:14:28 -07:00
Matt Bierner
a1c693ab1a Allow disabling JS/TS suggestion actions
Fixes #46590
2018-03-26 15:28:54 -07:00
Matt Bierner
6eebe4ba3a Use _ prefix for private 2018-03-26 15:28:53 -07:00
Ramya Achutha Rao
871e610848 Respect selfClosingStyle when joining tags Fixes #44417 2018-03-26 15:05:04 -07:00
Ramya Achutha Rao
9d95fbae98 Use latest emmet helper to fix #46305 2018-03-26 14:19:22 -07:00
Matt Bierner
cb16bf9308 Turn syntax based folding on by default for TS 2.8 2018-03-26 13:41:30 -07:00
Ramya Achutha Rao
7db6419d78 Avoid re-parsing for emmet completions when triggered for incomplete completions 2018-03-26 13:33:38 -07:00
Andreas Offenhaeuser
e64b9b4f41 add AllowInsecureLocalContent option to MarkdownPreviewSecurityLevel (#46473) 2018-03-26 12:23:27 -07:00
Martin Aeschlimann
2a95ea2311 [css] update service 2018-03-26 14:05:16 +02:00
Martin Aeschlimann
3afb2b72ac [docker] fix OSSReadme 2018-03-26 13:56:21 +02:00
Martin Aeschlimann
86af8bfa47 Merge pull request #46117 from Microsoft/octref/cssFolding
[WIP] CSS Folding
2018-03-26 13:09:20 +02:00
Dirk Baeumer
a9f6297db9 Fixes #46373: $tsc-watch background problem matcher is locale specific 2018-03-26 11:47:02 +02:00
Dirk Baeumer
6cc1bedc4a Fixes #46324: Typescript matchers doesn't recognize tsc output with pretty option enabled 2018-03-26 11:37:49 +02:00
Pine Wu
2ad387e5ad Depend on vscode-languageserver-protocol-foldingprovider 2018-03-26 02:22:20 -05:00
Pine Wu
583b6c7e17 Updated initial version of css folding 2018-03-26 02:22:20 -05:00
Erich Gamma
ba9da35ec8 Fix #45816 only search for package.json files when auto detection is enabled 2018-03-25 18:34:27 +02:00
Martin Aeschlimann
784de51e08 use vscode-languageserver-protocol-foldingprovider 2018-03-24 21:41:07 +01:00
Ramya Achutha Rao
e7ce1f53ea Do not lookahead when extracting css abbreviations Fixes #46452 2018-03-23 17:38:38 -07:00
Matt Bierner
2823cd4b73 Update js/ts grammar 2018-03-23 16:10:48 -07:00
Matt Bierner
a715dfcbd6 Update js/ts grammars 2018-03-23 15:37:58 -07:00
Matt Bierner
5817ae954f Don't request ts/js quickfixes for possibly stale diagnostic locations
Fixes #45785
2018-03-23 14:23:45 -07:00
Matt Bierner
ac17edf6c7 Use namespace import 2018-03-23 14:23:45 -07:00
Matt Bierner
0b655c0603 Rename typescript to typescript-language-features 2018-03-23 13:31:29 -07:00
Ievgen Andrushchak
d3cd393e95 Enable search of local Typescript Language Service Plugins (fix #45856) (#45858)
* Added pluginPaths configuration option to provide additional plugins discovery locations

* fixed review comments: added array comparison for tsServerPluginPaths, setting made executable
2018-03-23 12:43:14 -07:00