Commit Graph

7619 Commits

Author SHA1 Message Date
Alex Ross
6ba021ba32 Add more scopes to themes based on feedback for C++ and discussion
Part of #80783
2019-09-19 11:49:52 +02:00
Alex Ross
c1fdabc4f2 Update themes with c++ scopes based on discussion
Part of #80783
2019-09-19 11:22:47 +02:00
Benjamin Pasero
cd0f833fe0 title - introduce remoteName as variable 2019-09-18 19:14:13 +02:00
Alex Ross
6d7917cd3c Add some C++ scopes to dark+ and light+ themes
Part of #80783
2019-09-18 12:14:32 +02:00
Joao Moreno
4aa94e20ed remove unused import 2019-09-17 10:30:12 +02:00
Joao Moreno
227cebfac7 fixes #80671 2019-09-17 09:58:43 +02:00
Matt Bierner
d54dbd33f4 Add icon for image preview ext
Fixes #80677
2019-09-16 16:02:56 -07:00
Matt Bierner
04da82c1d2 Let webview editors show in diff original view too
Fixes #80740

The original view in diff views uses a data uri instead of a resource on disk. Make sure our webview editors can register themselves to handle this case too
2019-09-16 14:17:34 -07:00
Andre Weinand
1961739dfc adopt new terminal API 2019-09-16 23:16:45 +02:00
Konstantin Solomatov
316fd807fe remove docIndex in markdown language extension (#80933) 2019-09-16 10:50:20 -07:00
Alex Ross
0070dabc0e Update cpp grammar and add test
Fixes https://github.com/microsoft/vscode/issues/80644
2019-09-16 15:38:05 +02:00
Alex Ross
8601a47040 Update cpp grammar to handle macros (#80974) 2019-09-16 12:27:51 +02:00
Rob Lourens
099485461d Merge pull request #80801 from orta/capital_S
Fixes some capital S typoes with JS/TS
2019-09-15 14:55:34 -07:00
Rob Lourens
d3780038d7 Revert "Revert "Merge pull request #80657 from KapitanOczywisty/patch-1""
CLA signed, bring back PR

This reverts commit 0e8a10aa7d.
2019-09-15 12:42:33 -07:00
Rob Lourens
0e8a10aa7d Revert "Merge pull request #80657 from KapitanOczywisty/patch-1"
This reverts commit ea10827333, reversing
changes made to 9f2d08eaa3.
2019-09-15 12:26:59 -07:00
Rob Lourens
ea10827333 Merge pull request #80657 from KapitanOczywisty/patch-1
Fix PHP in HTML style tags
2019-09-15 12:24:51 -07:00
Rob Lourens
f57f8f7063 Update grammar files 2019-09-15 12:23:31 -07:00
Matt Bierner
11c451728a Fix potential race detecting image load 2019-09-13 17:19:57 -07:00
Andrew Branch
8774e0bb05 [typescript-language-features] Add formatter option for semicolons (#80828)
* Add formatter option for semicolons

* Add compatibility note

* Make it compile without TS 3.7
2019-09-13 13:40:41 -07:00
Matt Bierner
3890a199a2 Pick up TS 3.6.3 final 2019-09-13 13:39:37 -07:00
Benjamin Pasero
f8effd5fad api - introduce env.uiKind (web, desktop) 2019-09-13 17:58:30 +02:00
Andre Weinand
e7ce954d0b enable proposed API for new terminal API 2019-09-13 16:10:16 +02:00
Andre Weinand
17ed78cbe3 remove unnecessary comma 2019-09-13 16:10:16 +02:00
Daniel Imms
39794796a1 Merge pull request #80836 from microsoft/tyriar/78574
Remove Terminal.onDidWriteData
2019-09-12 21:15:07 -07:00
Daniel Imms
31f7168b99 Fix task tests 2019-09-12 20:47:40 -07:00
Miguel Solorio
a09826fc81 Merge branch 'master' into fix-79618 2019-09-12 19:55:49 -07:00
Daniel Imms
678abfe8b2 Remove Terminal.onDidWriteData
Replaced by vscode.window.onDidWriteTerminalData

Fixes #78574
2019-09-12 19:09:12 -07:00
Matt Bierner
67e37803b7 Add telemtry property for local TS version
We are interested in understanding which TS versions user have enabled in their workspaces, and how widely these diverge from these the workspace version
2019-09-12 17:27:28 -07:00
Rachel Macfarlane
700780d927 Set default colors for 'minimap.selectionHighlight' in other built in themes 2019-09-12 16:40:57 -07:00
Miguel Solorio
188ffef604 Merge branch 'master' into fix-79618 2019-09-12 16:32:20 -07:00
Orta Therox
a89b72bf63 Fix hardcoded lower case S issues for JS/TS only for presentation-ish strinngs 2019-09-12 09:58:03 -04:00
Johannes Rieken
9aab002dea push workaround for ts-loader weirdness 2019-09-12 09:59:31 +02:00
Matt Bierner
153e063486 Fix markdown preview refresh command potentially resetting preview scroll position to top if focused on preview
Fixes #80680
2019-09-11 20:50:52 -07:00
Matt Bierner
22db92f71b Add telemetry event when TS server is spawned
This is needed to help us better understand which TS versions users have enabled in their workspaces
2019-09-11 18:03:14 -07:00
Matt Bierner
f4524551e9 Remove gating for TS < 2.2.0 features
Based on telemetry, these versions have pretty much zero usage in the past 30 days. Removing the extra gating code since we can now assume users are on TS > 2.2.
2019-09-11 15:50:50 -07:00
Matt Bierner
a835f40c5b Remove deprecated scrollPreviewWithEditorSelection setting 2019-09-11 14:28:22 -07:00
Pine Wu
4dec1f7b49 Fix #32200 2019-09-11 14:27:25 -07:00
Konstantin Solomatov
5db460d2fe Fix activation of linters on unopened files caused by markdown plugin (#80506)
* Fix bug causing a large number of linters to be activated due to the markdown extension opening TextDocuments during indexing

* indentation problem

* code review by @OmarTawfik

* revert changed file

* Code review: use nodejs' Buffer

* fix ineffcient code
code review comments

* introduce SkinnyTextLine

* refactor redundant code

* revert changed files

* formatting

* remove empty line
2019-09-11 11:39:08 -07:00
Johannes Rieken
3a384c9c59 add test for #80688 2019-09-11 16:37:47 +02:00
gjsjohnmurray
25f615fe65 Tweak opacity of editorIndentGuide.background and .activeBackground 2019-09-11 12:10:20 +01:00
Martin Aeschlimann
dd7daae7de associate .i with c 2019-09-11 10:27:02 +02:00
Matt Bierner
011836a150 Prototyping custom editors (#77789)
* Custom Editor exploration

For #77131

Adds a prototype of custom editors contributed by extensions. This change does the following:

- Introduces a new contribution point for the declarative parts of a custom editor
- Adds API for registering a webview editor provider. This lets VS Code decided when to create a webview editor
- Adds an `openWith` command that lets you select which editor to use to open a resource from the file explorer
- Adds a setting that lets you say that you always want to use a custom editor for a given file extension
- Hooks up auto opening of a custom editor when opening a file from quick open or explorer
- Adds a new extension that contributes a custom image preview for png and jpg files

Still needs a lot of UX work and testing. We are also going to explore a more generic "open handler" based approach for supporting custom editors

Revert

* Re-use existing custom editor if one is already open

* Don't re-create custom editor webview when clicking on already visible custom editor

* Move customEditorInput to own file

* First draft of serializing custom editor inputs

* Use glob patterns instead of simple file extensions for matching custom resoruces for custom editors

* Add descriptions

* Try opening standard editor while prompting for custom editor

* Make sure we hide image status on dispose

* Make sure we restore editor group too

* Use glob patterns for workbench.editor.custom

* Allow users to configure custom editors for additional file types

* Use filename glob instead of glob on full resource path

* Adding placeholder for prompt open with

* Add enableByDefault setting for editor contributions

* Enable custom editors by default and add `discretion` enum

Changes `enableByDefault` boolean to a `discretion` enum. This should give more flexibility if we want other options (such as forcing a given custom editor to always be used even if there are other default ones)

* Allow custom editors to specify both a scheme and filenamePattern they are active for

* Rework custom editor setting

* Don't allow custom editors to be enabled for all resources by a config mistake

* Replace built-in image editor with one from extension

* Adding reopen with command

* Improve comment

* Remove commented code

* Localize package.json and remove image

* Remove extra lib setting from tsconfig
2019-09-10 17:56:57 -07:00
Matt Bierner
2fe62e7dfe Use the document that contains the md link as the resource for getting config, not the target document 2019-09-10 16:31:53 -07:00
Matt Bierner
28c5988f47 Renaming setting names 2019-09-10 16:20:01 -07:00
Matt Bierner
728ee3aa73 Extract 2019-09-10 16:06:08 -07:00
Salvador Cabrera Lozano
c307d73664 Fix for #26659. (#80227)
* Fix for #26659.

Clicking on a  local file link will open up the editor on a separate editor group (new or reuse existing one).

* Fix for #26659: Add way to open Markdown links in a different editor group

Adding "markdown.editor.openMarkdownLinks" setting to specify where
links to markdown files should open (current editor group by default).
2019-09-10 15:58:27 -07:00
KapitanOczywisty
dd02755bfc Fix PHP in HTML style tags 2019-09-10 19:13:03 +02:00
Matt Bierner
a7704164b4 Pick up TS 3.6.3 insiders 2019-09-10 08:51:33 -07:00
Pine Wu
1c5b3fd83d Update html service. Fix #80600 2019-09-10 08:26:32 -07:00
Alexander
3ff6b96ab7 Update enablement of status bar item in constructor (#80517) 2019-09-10 10:27:33 +02:00