Commit Graph
7603 Commits
Author SHA1 Message Date
Rob LourensandGitHub 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 BranchandMatt Bierner 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 ImmsandGitHub 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 SolorioandGitHub 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 MacfarlaneandGitHub 700780d927 Set default colors for 'minimap.selectionHighlight' in other built in themes 2019-09-12 16:40:57 -07:00
Miguel SolorioandGitHub 188ffef604 Merge branch 'master' into fix-79618 2019-09-12 16:32:20 -07: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 SolomatovandMatt Bierner 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 BiernerandGitHub 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 LozanoandMatt Bierner 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
KapitanOczywistyandGitHub 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
AlexanderandJoão Moreno 3ff6b96ab7 Update enablement of status bar item in constructor (#80517) 2019-09-10 10:27:33 +02:00
Matt Bierner 7226e32d1b Use shared tsconfig for markdown preview
Fixes #80121
2019-09-09 10:20:56 -07:00
Johannes Rieken f8ba99ba5a update test file 2019-09-09 11:04:36 +02:00
Alex Dima ea661bb83f Fix HTML integration test 2019-09-07 00:28:05 +02:00
Johannes Rieken f8daa9eac4 use project-src() to compile what tsconfig-defines 2019-09-06 18:16:12 +02:00
Joao Moreno fe44d14e71 fixes #80415 2019-09-06 09:40:08 +02:00
Alex Ross 7077b6b7f9 Fix very annoying gulp task error that always takes you to tasks output
Even when you click dismiss
2019-09-05 15:20:08 +02:00
Alex Ross 32d72e6565 Filter out 'No license field' in gulp tasks
Fixes #80081
2019-09-04 17:43:33 +02:00
Johannes Rieken 6c0bb9ba4d make DecorationData a class and rename it to Decoration, #54938 2019-09-04 11:16:11 +02:00
Johannes Rieken 07d19b90a5 remove automatic merging/overwriting of decorations, simplify proposed API, #54938 2019-09-04 11:16:11 +02:00
Benjamin Pasero 4cd5047073 build 💄 2019-09-04 08:55:20 +02:00
Pine Wu 1c623c163d Part of #71996 2019-09-03 10:54:02 -07:00
Pine Wu 6829b31625 Fix #80274 2019-09-03 10:13:46 -07:00
Pine Wu 14a3819e74 Fix #80269 2019-09-03 09:19:56 -07:00
Benjamin Pasero e655624145 remote - it is still server.bat locally 2019-09-03 16:11:10 +02:00
Benjamin Pasero e34c6c18e6 remote - server.bat => server.cmd 2019-09-03 16:08:55 +02:00
Benjamin PaseroandGitHub c6c88cbbfb debt - remote integration tests (#80265)
* fix

* 🆙 distro
2019-09-03 15:31:23 +02:00