Commit Graph

4954 Commits

Author SHA1 Message Date
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
Pine Wu
263ab1fb98 Fix #46639 2018-04-11 14:59:53 -07:00
Pine Wu
c17fb0ebff temp 2018-04-11 14:58:05 -07:00
Rob Lourens
93582ce6de Fix #47228 - Don't autofix JSON incorrectly when the user has only typed a key and colon 2018-04-11 14:32:54 -07:00
Martin Aeschlimann
71300ed48d Merge pull request #47520 from DustinCampbell/update-csharp-grammar
Update C# TextMate grammar with latest bug fixes
2018-04-11 22:09:56 +02:00
Matt Bierner
8cb7e80544 Split out Webview from WebviewEditor in proposed API (#47370)
* Split out `Webview` from `WebviewEditor` in API

**Problem**
The current proposed `Webview` interface has a few methods and properties that are very editor specific, such as `.reveal` and `.onDidChangeViewState`. These properies will not make sense if we ever allow webview to be displayed in other locations, such as in widgets

**Proposal**
Split the concepts of a `Webview` and of a `WebveiwEditor`. A webview is the html content itself. A `WebviewEditor` is an editor that displays a `Webview`

This would allow us to easily add other types of `Webview` owning objects in the future without having to document that some methods only apply when a webview is used as an editor vs as a widget
2018-04-11 11:49:02 -07:00
Ramya Achutha Rao
e6b61067f2 Validate surrounding text before providing emmet completions in jsx/xml Fixes #47612 2018-04-10 16:14:56 -07:00
Matt Bierner
9aef83c000 Make sure js/ts blocks folds show ending bracket
Fixes #47240
2018-04-10 14:42:10 -07:00
Matt Bierner
fee0dde012 foldering -> folding 2018-04-10 14:42:10 -07:00
Ramya Achutha Rao
f17b5ad659 Emmet can return empty array for css #47429 2018-04-10 10:16:24 -07:00
Matt Bierner
424b95bfcf Don't upgrade ts unused diagnostics
These diagnostics should only ever be downgraded from errors to warnings, not ever upgraded from a lower level to warnings
2018-04-09 15:07:59 -07:00
Matt Bierner
2cbe56f39d Update markdown grammar
Pulls in new header scopes for #47113
2018-04-09 14:55:34 -07:00
Ramya Achutha Rao
a786ed344e Cannot assign to read only property in nested settings #47316 2018-04-09 14:38:03 -07:00
Dustin Campbell
39e3073bf9 Update C# TextMate grammar with latest bug fixes
This PR includes the following fixes for the C# TextMate grammar:

* Comments are now allowed after checked and unchecked statements
(https://github.com/dotnet/csharp-tmLanguage/issues/104)
* 'dynamic' is now highlighted as a built-in type keyword (https://github.com/dotnet/csharp-tmLanguage/issues/26)
* Single-line comments with four slashes (i.e. ////) are now highlighted properly
(https://github.com/dotnet/csharp-tmLanguage/issues/100)

Thanks to (@Muchiachio](https://github.com/Muchiachio) for contributing these fixes!
2018-04-09 12:48:20 -07:00
Matt Bierner
8582f39044 Pick up new TS insides 2018-04-09 10:35:24 -07:00