Commit Graph
41753 Commits
Author SHA1 Message Date
Matt Bierner f93f19d23c Enable/disable webview find buttons based on if results have been found
Fixes #80656
2019-09-11 15:50:50 -07:00
Rob LourensandGitHub ad5e82042c Merge pull request #79660 from skprabhanjan/fix-79658
Fix-79658 New pattern to Preserve Case ( underscore separated variables)
2019-09-11 14:43:34 -07:00
Matt Bierner 9854a10231 Include user configured custom editors in open with
Fixes #80744
2019-09-11 14:28:22 -07:00
Matt Bierner 17e4073398 More explicit names 2019-09-11 14:28:22 -07:00
Matt Bierner 6cd0bf47bb Add explicit implements WebviewFindDelegate 2019-09-11 14:28:22 -07:00
Miguel Solorio 7720c912d1 Reduce font-size of new Ocitcons 2019-09-11 12:45:09 -07:00
Daniel ImmsandGitHub 37187ba6a2 Merge pull request #80731 from microsoft/terminal_api
Refactor terminal ext host to move most to common/
2019-09-11 11:41:20 -07:00
Rachel Macfarlane 9083016c89 Remove unused variable 2019-09-11 10:14:55 -07:00
Rachel MacfarlaneandGitHub 67dc534155 Add selection highlight decorations to minimap, closes #21404 2019-09-11 10:06:07 -07:00
SteVen BattenandGitHub 1b9a873753 add cansavecontextkey (#80337)
* add cansavecontextkey

* use save logic for save active editor ctx key

* use context key plus explorer focus

* remove unused imports

* feedback
2019-09-11 10:03:50 -07:00
Daniel Imms 63a0da438b Have ExtHostTerminalService extend Base service 2019-09-11 09:54:27 -07:00
Daniel Imms b5a3125123 Move most of ExtHostTerminalService to common 2019-09-11 09:35:51 -07:00
Alex Dima 2afeba767c Add resourceUriProvider API 2019-09-11 18:02:54 +02:00
isidor b5b8c4d716 fixes #80452 2019-09-11 17:59:11 +02:00
Rob Lourens beffdb678a Also use ctrl+enter for multiline search
Fix #80361
2019-09-11 08:53:50 -07:00
Johannes Rieken b035116887 jsdoc update 2019-09-11 17:34:58 +02:00
Alex Dima f567147183 Remove unused events 2019-09-11 17:09:26 +02:00
Johannes Rieken fd6bb626e3 fix tslint warnings... 2019-09-11 16:16:13 +02:00
Alex Dima 98df43eb90 Fixes #80094: Use US labels for all keys when the keyboard layout does not produce latin characters 2019-09-11 15:47:58 +02:00
Johannes RiekenandGitHub a97b843f27 Merge pull request #80713 from microsoft/joh/api/callHierarchy2
Call hierarchy API proposal
2019-09-11 15:37:16 +02:00
jrieken edff5d912e Some jsdoc 2019-09-11 13:33:51 +00:00
isidor 6b8342a7d4 fixes #80435 2019-09-11 15:29:57 +02:00
jrieken 8e5edc0eda use Outgoing/Incoming terminology 2019-09-11 13:25:53 +00:00
Alex Dima a98ae682dc Have hasWidgetFocus return the same underlying value as the event source (#71553) 2019-09-11 14:29:47 +02:00
Alex Dima e229ff62bf Do not export unused constants 2019-09-11 14:29:47 +02:00
Johannes Rieken c0802a73d7 add meta title with direction - Calls/Callers 2019-09-11 13:53:34 +02:00
Alex Ross 8d1cac8fc2 Remove un-used parameter from CustomeExecution callback
Part of #80375
2019-09-11 13:53:07 +02:00
Benjamin Pasero ecc8571a79 web - get product config through build and not via API 2019-09-11 13:49:06 +02:00
João MorenoandGitHub ab10e26096 Fixes #80702 (#80705) 2019-09-11 13:31:42 +02:00
Johannes Rieken 431567e9e1 reset view state when direction changes 2019-09-11 12:56:58 +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
Johannes Rieken 5c4d58eec8 make default direction CallsFrom, better source range highlights 2019-09-11 12:13:59 +02:00
Alex RossandGitHub 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
jrieken e6df99aed8 implement CallsFrom/CallsTo proposal 2019-09-11 08:01:13 +00: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
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 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
Konstantin SolomatovandMatt Bierner 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
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
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
Benjamin Pasero 4401cc8350 debt - remove a lot of unused icons 2019-09-10 16:37:01 +02:00