Commit graph

54185 commits

Author SHA1 Message Date
João Moreno ab10e26096
Fixes #80702 (#80705) 2019-09-11 13:31:42 +02:00
Andre Weinand d4f1c39dc0 update DAP to latest version of cancelation support 2019-09-11 12:23:38 +02:00
isidor 631e8059d6 fixes #80616 2019-09-11 12:20:27 +02:00
Alex Ross 462a8be7d4
Add title API for tree views (#80623)
* First pass at set view title

* Change to get/set instead of setTitle

and get the name of the view from the extension contributions
2019-09-11 10:56:45 +02:00
Benjamin Pasero 9aab28daea web - self fullfilling prophecy 2019-09-11 10:52:16 +02:00
Martin Aeschlimann dd7daae7de associate .i with c 2019-09-11 10:27:02 +02:00
Benjamin Pasero e4a837a0a3 web - rename entry point 2019-09-11 08:43:13 +02:00
Benjamin Pasero e75e71f419 debt - 💄 product config 2019-09-11 08:13:54 +02:00
Benjamin Pasero 94ee7ce1d7 🆙 distro 2019-09-11 08:02:46 +02:00
Benjamin Pasero 211fa02efe 🆙 distro 2019-09-11 07:29:29 +02:00
Matt Bierner 2d3727b3b1 Push editorResource concept back into CustomFileEditorInput 2019-09-10 18:32:56 -07:00
Matt Bierner 6f45980746 Fix normal webview panels being restored as custom editors 2019-09-10 18:19:39 -07: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
Daniel Imms df802950e0 xterm@4.0.0
Diff: 9169108...6211dcd

Changes:

- Releasing v4
- Doc updates
- Fix sourcemaps in demo
2019-09-10 17:32:51 -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
Konstantin Solomatov db9733d1e3 Replace Disposable[] with DisposableStore (#80661) 2019-09-10 15:47:16 -07:00
Miguel Solorio 87cd014981 Update check, diff add/remove icons, remove SVG font 2019-09-10 15:22:06 -07:00
Alexandru Dima 8ebd3cea97
Web: Load onigasm lazy (#80642)
Web: Load onigasm lazy
2019-09-10 22:14:04 +02:00
Alex Dima a2ada859d3 Merge remote-tracking branch 'origin/master' into ben/lazy-onigasm 2019-09-10 22:13:16 +02:00
Alex Dima 7d8c2f6857 Fixes for amd resource adoption (#80654) 2019-09-10 21:27:26 +02:00
Daniel Imms 7bb6df9318
Merge pull request #80293 from jasongin/automation
Refactor smoke UI automation into separate package
2019-09-10 12:02:20 -07:00
Daniel Imms 36410ba33e Merge remote-tracking branch 'origin/master' into pr/jasongin/80293 2019-09-10 12:01:40 -07:00
Rob Lourens a556ca989b Unset VSCODE_LOGS in code.sh
so it writes to the code-oss logs folder and doesn't inherit the insiders log folder
2019-09-10 11:33:14 -07:00
Rob Lourens 1daa19733f Bump vscode-ripgrep 2019-09-10 11:31:47 -07:00
Alex Dima 44773a13a8 update distro 2019-09-10 20:26:59 +02:00
Alex Dima cc6aea9d06 Load script directly 2019-09-10 20:20:01 +02:00
Joao Moreno 31b011f831 Revert "async data tree: use proxies instead"
This reverts commit 492def2698.
2019-09-10 17:58:54 +02:00
Matt Bierner 7d4a25395f Have fallback message when code aciton command fails for unknown reason 2019-09-10 08:58:34 -07:00
Matt Bierner b17e5587df Surface errors for commands that are part of a code action
Fixes #79967
2019-09-10 08:51:33 -07: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
Sergio Schvezov 19526f4123 snap: add assets verbatim (#80585)
* snap: add assets verbatim

Providing the desktop files in snap/gui will have snapcraft copy over
those assets into the snaps meta/gui verbatim.

Addtionally, add a leading ${SNAP} to the Icon entry which was also
moved to snap/gui for the "package" to have an icon by default
(which is important when sideloading).

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

* escape

* fix snapcraft.yml

* use @@EXEC@@ in desktop files

* fix bad path

* fix snap desktop file
2019-09-10 17:12:45 +02:00
Benjamin Pasero 4401cc8350 debt - remove a lot of unused icons 2019-09-10 16:37:01 +02:00
Martin Aeschlimann e2c4d07f2b update distro 2019-09-10 16:25:39 +02:00
Martin Aeschlimann 82a9052ce7 more cli args cleanup 2019-09-10 16:19:06 +02:00
Isidor Nikolic af53133100
Merge pull request #79383 from jeanp413/fix-explorer-edit-item
Fix explorer item creation and disposal
2019-09-10 16:12:53 +02:00
Johannes Rieken 51912d21c5 snippet - honor spread setting for $CLIPBAORD variable with multiple cursors 2019-09-10 16:05:29 +02:00
Benjamin Pasero 93b7ad02df web - add proper callback landing page 2019-09-10 15:56:50 +02:00
Johannes Rieken 1ad37cf2c3 re-enable perf related, hidden arguments 2019-09-10 15:38:37 +02:00
Joao Moreno 492def2698 async data tree: use proxies instead 2019-09-10 15:35:25 +02:00
Johannes Rieken 5a9913099c undo usage of tsProjectSrc-stream 2019-09-10 14:58:08 +02:00
Benjamin Pasero 8bd809ffc9 debt - load onigasm lazy 2019-09-10 14:53:42 +02:00
Johannes Rieken c695729eb1 remove gulp-tsb hack, fixes #80629 2019-09-10 14:51:46 +02:00
Martin Aeschlimann 590ccaf260
Merge pull request #80529 from navrkald/prompt_code_inside_wsl
Skip WLS check if env var DONT_PROMPT_WSL_INSTALL is set.
2019-09-10 14:46:11 +02:00
Alex Ross afffb1e7a7
Contributable variables for configuration resolver (#80478)
* Contributable variables for configuration resolver

Fixes https://github.com/microsoft/vscode/issues/32239
2019-09-10 12:48:45 +02:00
Johannes Rieken 9ab449f3bd use tsb 4.0.2 use project files as src-stream, https://github.com/microsoft/vscode/issues/80632 2019-09-10 12:48:04 +02:00
Martin Aeschlimann d2dd59c23d
Merge branch 'master' into prompt_code_inside_wsl 2019-09-10 12:33:31 +02:00