Commit Graph

5712 Commits

Author SHA1 Message Date
Martin Aeschlimann 86f3a8077a [powershell] update grammar 2018-07-27 11:02:04 +02:00
Martin Aeschlimann 067a72787f [php] update colorizer tests 2018-07-27 11:02:04 +02:00
Martin Aeschlimann 54d183d2b7 update markdown colorizer tests 2018-07-27 11:02:04 +02:00
Martin Aeschlimann de24a9026f [java] update grammar 2018-07-27 11:02:04 +02:00
Martin Aeschlimann 404e737560 update html grammar 2018-07-27 11:02:04 +02:00
Martin Aeschlimann e4c54be876 update TypeScript grammar 2018-07-27 11:02:03 +02:00
Martin Aeschlimann c640a0ed5c adopt color changes in colorizer tests 2018-07-27 11:02:03 +02:00
Isidor Nikolic c1abdc1228 Merge pull request #54881 from Microsoft/misolori/a11y
Fix color contrast issues
2018-07-27 10:35:21 +02:00
Matt Bierner d96cf918b7 Try to interupt getErr request for user opetions 2018-07-26 18:34:18 -07:00
Matt Bierner 01989b1c67 Set global user preferences on updatePaths
https://github.com/Microsoft/TypeScript/issues/25739
2018-07-26 17:36:11 -07:00
Matt Bierner 21bb402655 Fix projectInfo call signature for TS 3.0 2018-07-26 17:36:11 -07:00
Matt Bierner e49f6543a6 Reduce duplication and improve errors around TypeScript execute types 2018-07-26 17:36:11 -07:00
Matt Bierner 52db14c9e6 Sort definitions 2018-07-26 17:36:11 -07:00
Matt Bierner 74b5247504 Use more explicit types for ts server execute
- Only allow known strings to be used as commands
- Simplify overloading. Introduce new `executeWithoutWaitingForResponse` function for calls that are fire and forget
- Always require a token for execture calls
2018-07-26 17:36:11 -07:00
Ramya Achutha Rao 9e411a5fd3 Renaming tag for settings for online services #54354 2018-07-26 17:21:32 -07:00
Matt Bierner b4ab206963 Pick up new ts insiders 2018-07-26 16:07:02 -07:00
Matt Bierner 633e386b18 Remove extra conditional 2018-07-26 16:06:05 -07:00
Matt Bierner 5e40bd7df9 Expand js/ts document symbols to have entries for each span
Fixes #54855
2018-07-26 16:01:34 -07:00
Matt Bierner 1e10fa5163 Update ts/js grammars 2018-07-26 15:40:45 -07:00
Matt Bierner 341013c0ef Log warning when returned code action will be dropped (#55090)
* Add extension logging when returned code action will be dropped

Fixes #54803

Adds a loggin warning when a code action provider returns code actions that will be dropped. Warn in the the following cases:

- A provider returns code actions (not commands)
- And a specific code action type is requested.
- And the returned code actions either don't set kind or are of the wrong kind

* Use log service

* Include extension id in warning
2018-07-26 15:14:16 -07:00
Rob Lourens d36a3d2395 Search provider - implement FileIndexProvider 2018-07-26 12:28:15 -07:00
Rob Lourens 9999dac541 SearchProvider - split out separate TextSearchProvider #47058 2018-07-26 12:28:15 -07:00
Miguel Solorio e32ea43fcb Merge branch 'master' into misolori/a11y 2018-07-26 10:25:15 -07:00
Erich Gamma 7697ef6711 Flush scripts cache when the document changes 2018-07-26 15:56:28 +02:00
Martin Aeschlimann cbb51a0997 [loc][Query] Source text issue for "Provides syntax highlighting, bracket matching and folding Less files." Fixes #55115 2018-07-26 11:57:06 +02:00
Erich Gamma 22f0337064 cache the scripts for the hover 2018-07-26 09:42:38 +02:00
Erich Gamma 73b72464b3 Replace lenses with hover links 2018-07-26 09:42:36 +02:00
Matt Bierner e8b1ee0b4d Use more standard scheme across providers for getting TS response body
- Avoids extra checks when response cannot be null
2018-07-25 18:50:16 -07:00
Matt Bierner a1af04f571 Prefer namespace imports for 'vscode' 2018-07-25 18:34:12 -07:00
Matt Bierner 410509137b Add base Disposable class to help manage disposables 2018-07-25 18:17:56 -07:00
Matt Bierner f97c743507 Use VersionDependentRegistration for update paths on rename
Avoids registering class on unsupported ts versions
2018-07-25 17:56:08 -07:00
Matt Bierner d5855b35b2 Cleanup
- Remove noop optional method
- Use double quotes for strings
- Mark fields readonly
2018-07-25 17:51:05 -07:00
Matt Bierner 42e0c43645 Use resource map for storing formatting options
Try to normalize file cases on case-insensitive file systems
2018-07-25 17:47:06 -07:00
Nikolas 700ee37a24 Add underscores and asterisks to surrounding pairs (#55054)
Same reasons as [here](https://github.com/silvenon/vscode-mdx/pull/6#issue-203819440)
2018-07-25 17:31:04 -07:00
Matt Bierner edc6b2acdd Always invoke quick fix command
Make sure we always invoke the applyCodeActionCommand. This is needed for telemetry to be sent properly
2018-07-25 17:29:35 -07:00
Matt Bierner 9e6a525723 Fixing fix all not applying correct commands on edit 2018-07-25 17:27:03 -07:00
Matt Bierner 690744c3c6 Only return a single all code action per quick fix fixId
Fixes #55065
2018-07-25 17:19:33 -07:00
Matt Bierner ccf9f4badd Use VersionDependentRegistration 2018-07-25 17:19:33 -07:00
Matt Bierner 5347a06a46 Don't convert diagnostic set to array 2018-07-25 17:19:33 -07:00
Ramya Rao d8bf1443cf Support tags on settings to filter in settings editor (#55094)
* Support tags on settings to filter in settings editor

* Revert adding tags to api until we are ready
2018-07-25 15:51:28 -07:00
Rob Lourens 31eba9652d Sweep setting descriptions for #54690 2018-07-25 14:45:48 -07:00
Rachel Macfarlane 740d37d7dd Some setting descriptions cleanup, #54690 2018-07-25 11:02:07 -07:00
Martin Aeschlimann 7fd6f1b1d4 [json] use onFoldingRanges 2018-07-25 12:22:04 +02:00
Martin Aeschlimann 116948ef51 [css] adopt lsp (folding, colors) 2018-07-25 12:22:04 +02:00
Martin Aeschlimann 21c22840c5 [html] adopt lsp (folding, colors) 2018-07-25 12:22:04 +02:00
Christof Marti 04129e96fe Fix extension-editing display name and description 2018-07-25 11:18:15 +02:00
Martin Aeschlimann 4f0c90fa36 [json] update to latest lsp (folding range support) 2018-07-25 09:56:05 +02:00
Matt Bierner 4be0f07230 Add WebviewPanel.iconPath (#54912)
* Add WebviewPanel.iconPath

Allows webviews to provide icons used in UI. Adds a new `WebviewPanel.iconPath` property for this.

Replaces the static contribution approach from #49657

Fixes #48864

* Fix doc

* Move icon into mainthreadwebview

* Cleaning up implementation

* Cleaning up implementation
2018-07-24 15:08:46 -07:00
Erich Gamma 1616ea1193 Disable npm code lens by default 2018-07-24 12:18:13 +02:00
Erich Gamma f6064affd1 update to tasks 2.0 2018-07-24 08:30:52 +02:00