Commit Graph

98 Commits

Author SHA1 Message Date
Matt Bierner
0227681492 Add new external uri opener service
This workbench service handles opening external uris. Unlike the core OpenerService, it also has logic for configuring a default opener and prompting if multiple openers are availble for a given uri
2021-01-12 12:41:15 -08:00
Connor Peet
fe4f9a9e6f testing: add to i18n 2020-12-11 15:33:06 -08:00
Benjamin Pasero
e6d238e251 web - clipboard warning when failing access 2020-12-10 14:16:12 +01:00
Jackson Kearl
0921f711c3 Add GettingStartedService/Registry and initial getting started UI (#111175)
* WIP -Getting Started Registry

* Initial idea of how registry/service will work

* Getting started with Getting Started

* Add telemetry and touch up enablement flag

* Add contrib as startup editor

* Move to allowing static Getting Start blob

* No newline

* Remove unused enum
2020-11-25 14:05:49 -08:00
Alex Dima
7a322c44db Try to fix the build 2020-11-11 08:01:21 +01:00
Sandeep Somavarapu
294406d7a1 Fix #110121 2020-11-09 15:39:13 +01:00
Benjamin Pasero
14cd152991 Offer to open workspace in root even when telemetry has been disabled (fix #108669) 2020-10-21 16:20:33 +02:00
Matt Bierner
51dc3193d3 Move webview editor into own module
This splits the core `webview` element services from the `webview` editor services.
2020-09-14 16:08:29 -07:00
Alex Dima
7396cb1990 Have the Toggle Keyboard Shortcuts Troubleshooting action open the renderer log 2020-09-03 22:46:37 +02:00
Robo
e4296330de chore: update to electron 9-x-y (#102011)
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-08-11 11:30:23 -07:00
Robo
227d533937 Revert "chore: update to electron 9-x-y (#102011)" (#103599)
This reverts commit 3d0d50caf8.
2020-07-30 08:35:43 -07:00
Robo
3d0d50caf8 chore: update to electron 9-x-y (#102011)
* chore: bump electron@9.0.5

* remove exploration config

* fix compile error

* fix compile error

* crashReporter has to be called only once before app ready

* chore: bump electron@9.1.0

* enable LayoutNG

* fix cron schedule

* allow disabling appcenter crash reporting

* set additional crash reporting parameters

* start crashreporter for child process on linux

* setup crash parameters only once

* remove unused crashReporter.guid

* address review feedback

* reuse argv.json for storing crash reporter id

* remove trailing commas

* update localized name

* update argv based on telemetry optout

* update initial config based on setting

* fix conditional errors

* remove telemetry.enableCrashReporter

* move default crash reporter config to electron-main

* update comment for ext host crash reporting

* set default value for configuration

* some 💄 changes

* address review feedback

* do not use ES7 features in JS yet

* add app.focus({ steal: true }) usage

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-07-21 09:39:34 +02:00
Sandeep Somavarapu
f2a654c782 fix build - add contrib/views to i18n. @alexr00 FYI 2020-06-22 19:18:02 +02:00
Sandeep Somavarapu
82a11a68d5 add views to localization resources 2020-05-18 08:40:31 +02:00
Ladislau Szomoru
d357d0283e Add setting to control the sash size 2020-05-08 16:59:25 +02:00
Benjamin Pasero
3364686d79 quick access - remove actionbar contributor that is no longer needed 2020-03-26 12:11:47 +01:00
Benjamin Pasero
df958c974f web - remove "Open in Desktop"
Instead it should move into the new remote picker that is enabled for web.
2020-03-25 08:21:45 +01:00
Rachel Macfarlane
2b86488f03 Add account context menu, #90385 2020-03-20 09:51:35 -07:00
Johannes Rieken
52ea4ff1d7 Merge branch 'master' into rebornix/notebook 2020-03-10 10:43:26 +01:00
Benjamin Pasero
37e042c291 quick access - contribute help for standalone and workbench separately 2020-03-07 16:26:44 +01:00
Sandeep Somavarapu
765fa66e78 use proper fs errors 2020-03-06 16:34:42 +01:00
rebornix
fb12bf9113 Merge branch 'master' into rebornix/notebook 2020-02-20 09:39:24 -08:00
Benjamin Pasero
5d64dcc0a6 working copy - introduce and adopt a way to participate in file operations 2020-02-20 09:27:45 +01:00
rebornix
612a935c1a Merge remote-tracking branch 'origin/master' into rebornix/notebook 2020-02-12 18:08:24 -08:00
Benjamin Pasero
bdf11560cd Web - add "Open in Desktop" feature and new web API 2020-02-12 11:21:19 +01:00
rebornix
c78a8696fc Merge remote-tracking branch 'origin/master' into rebornix/notebook 2020-02-07 10:22:51 -08:00
Jackson Kearl
cf88fb47a5 Pull Search Editor files into new contrib/ entry 2020-02-05 19:46:04 -08:00
rebornix
1d71d49864 Merge remote-tracking branch 'origin/master' into rebornix/notebook 2020-02-03 14:33:18 -08:00
Eric Amodio
6e94e48a76 Adds nls folder for timeline 2020-01-27 15:28:33 -05:00
rebornix
dcc4ed568b Merge remote-tracking branch 'origin/master' into rebornix/notebook 2020-01-27 10:51:28 -08:00
Sandeep Somavarapu
a46a5dba98 #88322 Provide a picker to select extensions to sync 2020-01-16 09:03:39 +01:00
Benjamin Pasero
1f5a5470c5 implement backup on shutdown via working copies (#84672) 2020-01-14 15:30:23 +01:00
rebornix
e485187ad2 Merge commit 'cd4472ed5fd79551d95acf7d9ed23ce20cb2233d' into rebornix/notebook 2020-01-09 15:57:41 -08:00
Johannes Rieken
ddb6d058f7 Merge branch 'master' into joh/bulkEditPreview 2019-12-20 12:01:15 +01:00
Sandeep Somavarapu
dbc7fa3c3e #87246 Introduce name in view container 2019-12-18 21:42:56 +01:00
Johannes Rieken
ee9d42129d first cut of panel and changes tree 2019-12-18 12:08:06 +01:00
Benjamin Pasero
19062a2976 debt - move workbench.enableExperiments to correct place 2019-12-18 11:42:43 +01:00
Peng Lyu
8d8580260f Merge remote-tracking branch 'upstream/master' into rebornix/notebook 2019-12-09 11:04:24 -08:00
Matt Bierner
529351318e Removing test custom editors 2019-12-02 17:53:32 -08:00
Peng Lyu
d6d29a6ef4 layout editor with dimentions 2019-11-29 13:36:36 -08:00
Benjamin Pasero
d2cff74b66 web - make sure adblocker do not prevent startup
Renamed workspace stats => workspace tags
2019-11-13 07:47:20 +01:00
Rachel Macfarlane
b9a9714d4c First cut of OAuth in the AuthTokenService 2019-11-11 12:45:38 -08:00
Benjamin Pasero
9893f45eb2 Merge branch 'master' into ben/test-custom-editor 2019-11-07 09:45:27 +01:00
Matt Bierner
c8d64b13e5 Add code actions contributon point
For #82718
Fixes #52846

This adds a newly proposed codeActions contribution point. For details, see #82718

This change also makes the intellisense for the `editor.codeActionsOnSave` property dynamic by using the new contribution point
2019-11-06 10:13:59 -08:00
Benjamin Pasero
bc29be3025 custom editor - first cut playground 2019-11-06 11:53:14 +01:00
Benjamin Pasero
6ee1da3dc5 debt - shuffle things around 2019-09-27 09:44:35 +02:00
Benjamin Pasero
64eed745f5 💄 move a few services around 2019-09-26 18:37:58 +02:00
Sandeep Somavarapu
1e10216856 trigger sync after closing the conflicts editor 2019-09-18 12:37:21 +02:00
Sandeep Somavarapu
65f14490b7 Merge branch 'master' into sandy081/userDataProvider 2019-09-11 13:42:07 +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