Commit Graph

4968 Commits

Author SHA1 Message Date
Martin Aeschlimann 039a1d4e22 Implement automatic wrapping with < > for C++. Fixes #47864 2018-04-18 22:20:32 +02:00
Martin Aeschlimann 9d2814a9a1 update grammars 2018-04-18 22:13:50 +02:00
Erich Gamma 0911fb867d Change document selector to include the schema explicitly 2018-04-18 11:44:58 -07:00
Matt Bierner 2fadb90198 Move TS/JS to use organize imports codeAction instead of command (#47850)
* Move TS/JS to use organize imports code action

Fixes #47845
Fixes #46647

- Defines a new standard `SourceOrganizeImports` `CodeActionKind` to be used to implement organize imports in a consistent way.
- Add a new `Organize imports` command and keybinding that executes these actions.
- Move over the existing js/ts organize imports command to use the new code action kind

* Use supportedCodeActions context key

* Document code action kind values

* Fix regular expression

Make sure we only match whole scopes and not `unicorn.source.organizeImports`
2018-04-18 10:51:33 -07:00
Alex Dima 0100518547 Highlight active indent guide (closes #14017) 2018-04-18 18:31:28 +02:00
Martin Aeschlimann a1bb202eb6 incorperate folding api feedback 2018-04-18 15:26:43 +02:00
Martin Aeschlimann a322ceb0f6 [html] adopt folding APIs 2018-04-17 19:04:59 +02:00
Martin Aeschlimann 4fca46dcc8 [json] adopt new folding APIs 2018-04-17 18:55:26 +02:00
Martin Aeschlimann e09c8a7086 [css] adopt folding apis 2018-04-17 18:18:12 +02:00
Martin Aeschlimann a509b1797b [css] fix path completion participant 2018-04-17 18:18:11 +02:00
Martin Aeschlimann 99f9459174 [css] remove emmet dependency 2018-04-17 18:18:11 +02:00
Matt Bierner 3a14fde91d Fix double click md preview when source document is not showing
Fixes #47188
2018-04-16 15:21:24 -07:00
Matt Bierner bc6a2d52ac Move onDidChangeActiveTextEditor into Preview 2018-04-16 15:13:49 -07:00
Matt Bierner 2840741d5e Update js/ts grammar 2018-04-16 15:13:49 -07:00
Martin Aeschlimann ccba4e6c27 Merge pull request #44239 from mklement0/patch-2
Update package.json to support PowerShell Core shebang lines.
2018-04-16 22:25:30 +02:00
Martin Aeschlimann efd3ac47a1 Merge pull request #46885 from brettcannon/patch-1
Allow a space between # and `region` for folding in Python
2018-04-16 22:24:50 +02:00
Martin Aeschlimann 21ef28c36e [html] update services, add folding for embedded css (for #47808) 2018-04-16 22:20:02 +02:00
Sandeep Somavarapu e592885b49 Fix #46750 2018-04-16 17:10:46 +02:00
Martin Aeschlimann 6c223050d7 [json] update service (folding api for #47808) 2018-04-16 15:19:47 +02:00
Martin Aeschlimann d516e62375 [css] update service (for #47788) 2018-04-16 14:16:31 +02:00
Martin Aeschlimann 6657623b98 css/html/json typos (for #47894) 2018-04-16 14:11:26 +02:00
Martin Aeschlimann cbb9d19705 Merge pull request #47722 from costincaraivan/master
Adding fold markers region/endregion for YAML.
2018-04-16 10:02:27 +02:00
Ramya Achutha Rao efb3aefd99 temporary disabling failing tests 2018-04-13 18:03:30 -07:00
Matt Bierner 017d09e2fe Be more lazy computing symbols 2018-04-13 16:34:25 -07:00
Matt Bierner 7761157030 Update results on file create 2018-04-13 16:34:25 -07:00
Matt Bierner 79098619a5 Handle delete document 2018-04-13 16:34:25 -07:00
Matt Bierner 87f97ad853 Adding test for file change 2018-04-13 16:34:25 -07:00
Matt Bierner 8f877ceec6 Adding multi document workspace symbol provider test 2018-04-13 16:34:25 -07:00
Matt Bierner 6044fcacc8 Adding single file test 2018-04-13 16:34:25 -07:00
Matt Bierner aa0d43ea2d Name cleanup 2018-04-13 16:34:25 -07:00
Matt Bierner 62078256fb Switch to using watcher 2018-04-13 16:34:25 -07:00
Ramya Achutha Rao 34adcb749a Dont depende on workspace settings for tests 2018-04-13 16:26:07 -07:00
Matt Bierner ba87894f5d Don't depend on lodash 2018-04-13 15:09:07 -07:00
Pradeep Murugesan 5e993f7160 added the workspace symbol provider for markdown #46406 (#47610)
* added the workspace symbol provider for markdown 46406

* fixed the review comments 46406
2018-04-13 15:03:50 -07:00
Matt Bierner 9e7763ccdb Update markdown grammar
Fixes #47846
2018-04-13 14:53:22 -07:00
Pine Wu 7c62e560a2 Fix #47784 2018-04-12 15:50:05 -07:00
Matt Bierner 4f880aaf59 Rename webview.viewColumn to the more generic webview.position 2018-04-12 14:25:55 -07:00
Matt Bierner e16ec3c1ff Tweak WebviewPanelOnDidChangeViewStateEvent to only provide a webview panel
Expose a webview panel's view state as properties. Make WebviewPanelOnDidChangeViewStateEvent only fire an event with the webview who's state changed
2018-04-12 14:22:42 -07:00
Greg Van Liew c17139f9a1 Merge pull request #47714 from gregvanl/master
Update settings descriptions to match vscode-docs PR#1530
2018-04-12 14:16:30 -07:00
Martin Aeschlimann b372c7ea1e [html] intersecting regions test 2018-04-12 22:21:48 +02:00
Matt Bierner a2346c606d Rename WebviewEditor to WebviewPanel 2018-04-12 12:06:07 -07:00
Matt Bierner 5ff2ccfc28 CodeActionProvider.providedKinds (#47702)
Adds a new optional  `CodeActionProviderMetadata`.  This is passed in`registerCodeActionProvider` and contains a list of`CodeActionKinds` that the provider may return. The list is used for deciding when to show the `refactor` and `source action` context menus. It is not used for filtering the returned code actions

Possibly helps address #45383
2018-04-12 11:50:21 -07:00
Pine c658511b30 Merge pull request #47699 from Microsoft/octref/cssPathImprovement
Fix #46639
2018-04-12 10:47:09 -07:00
Pine Wu ad2a51a96d Fix hygiene 2018-04-12 10:25:14 -07:00
costincaraivan 9b3ddab061 Added missing comma. 2018-04-12 10:23:12 +02:00
costincaraivan b63306a425 Added fold markers for YAML. 2018-04-12 10:22:28 +02:00
Ramya Achutha Rao fe9d9532ea Absorb upstream bug fix for #46511 2018-04-11 21:34:22 -07:00
Greg Van Liew 36faf7a34b Update settings description typos 2018-04-11 21:21:24 -07:00
Matt Bierner 556fa03cf3 Add source code action kind
Fixes #47621

Adds the concept of a source code action that applies to an entire file. Does not show these actions in the lightbulb menu by default
2018-04-11 15:34:33 -07:00
Pine Wu 57cba59b0a Fix #46644 2018-04-11 15:24:27 -07:00