Commit graph

503 commits

Author SHA1 Message Date
Matt Bierner 529351318e Removing test custom editors 2019-12-02 17:53:32 -08:00
Alexandru Dima 0789507d6b
Commit missing output file 2019-11-28 10:30:41 +01:00
ZHAO Jinxiang 352d641042 Add .cjs to known JavaScript file extensions (#85460) 2019-11-25 19:46:09 -08:00
Alexandru Dima b5ce6014d7
Improve output in case of errors and generate an analysis folder with the source content (for easy diffing) 2019-11-13 11:15:38 +01:00
Alexandru Dima 032925e74e
Improve error reporting during treeshaking 2019-11-13 11:15:36 +01:00
Alexandru Dima f6b6a97807
Take typings from tsconfig.monaco.json 2019-11-13 11:15:36 +01: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
Benjamin Pasero 0ec1207e40 build - compile leftover 2019-11-13 07:38:16 +01:00
Benjamin Pasero 2977cfea26 encoding - more tests 2019-11-12 09:57:58 +01:00
Rachel Macfarlane b9a9714d4c First cut of OAuth in the AuthTokenService 2019-11-11 12:45:38 -08:00
Matt Bierner 806bcecfa7 Merge branch 'master' into ben/test-custom-editor 2019-11-08 14:52:18 -08:00
Alex Dima c9a2de2d9c
Improve integration test output on Windows (#84239) 2019-11-08 17:21:35 +01: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 14c3b2e486
Update build to use node.js 12.x (#83967)
* build - update to node.js 12x for building

* fix it

* adopt vscode-gulp-watch
2019-11-05 09:53:15 +01:00
Joao Moreno 9289dd7842
remove yarn gulp electron 2019-10-16 15:35:53 +02:00
Joao Moreno 5048816ebf
extract yarn electron 2019-10-16 11:15:43 +02: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
Alex Dima fe5315badc
Ship codicon with the standalone editor 2019-09-23 13:18:39 +02:00
Sandeep Somavarapu 1e10216856 trigger sync after closing the conflicts editor 2019-09-18 12:37:21 +02:00
Joao Moreno 136600a7bb miss compilation 2019-09-17 09:58:33 +02:00
Dirk Baeumer 449b87dad8 Fixes #80985: Language Pack import add ./build folder to internal LP structure. 2019-09-16 15:47:41 +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
Sandeep Somavarapu 63e24dd208 Merge branch 'master' into sandy081/userDataProvider 2019-09-10 17:40:05 +02:00
Sandeep Somavarapu cae7f1c4b9 Merge branch 'master' into sandy081/userDataProvider 2019-09-10 15:17:32 +02:00
Sandeep Somavarapu c26e198c9c settings sync using remote user data service 2019-09-10 15:16:57 +02:00
Johannes Rieken 5a9913099c undo usage of tsProjectSrc-stream 2019-09-10 14:58:08 +02:00
Johannes Rieken c695729eb1 remove gulp-tsb hack, fixes #80629 2019-09-10 14:51:46 +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
Benjamin Pasero 0030e6ee92
🆙 terser@4.3.1 (#80627) 2019-09-10 10:57:54 +02:00
Rob Lourens bb02180904 Delay gulp-watch read so watch task isn't broken on slower disks.
vscode writes files non-atomically. This is useful on an azure devbox over ssh.
2019-09-09 14:39:13 -07:00
isidor a33e554693 adopt registerAndGetAmdImageURL
fixes #80563
2019-09-09 18:15:11 +02:00
Alex Dima 1ba4dc6954 Introduce registerAndGetAmdImageURL and inline such images in the bundle phase in .js 2019-09-09 17:17:12 +02:00
Alex Dima 7b4c75560d Merge remote-tracking branch 'origin/master' into alex/editor-options 2019-09-06 22:03:38 +02:00
Johannes Rieken 2b46fe4c30 adopt gulp-tsb 4.0.0, remove postinstall hacks 2019-09-06 17:21:36 +02:00
Alex Dima e787da13c3 Merge remote-tracking branch 'origin/master' into alex/editor-options 2019-09-04 12:54:28 +02:00
Joao Moreno 5d7c8d9212 fix i18n for extensions 2019-09-04 08:05:47 +02:00
Sandeep Somavarapu 3dc748ccca Merge branch 'master' into sandy081/userDataProvider 2019-09-03 14:55:28 +02:00
Matt Bierner cf446b9233 Build VS Code using TS 3.6
Fixes #80079

Updates our build to use TS 3.6. Fixes a few changes to dom apis and adds a monkey patch for the node typings break in 3.6
2019-09-02 21:27:52 -06:00
Alex Dima 363b976941 Convert more editor options 2019-09-02 23:05:00 +02:00
Benjamin Pasero c7d4c3ce1b
Use terser for minification (#80201)
* build - minify using terser

* fix minification issues

* build ffs

* Update .cachesalt

* add comment
2019-09-02 11:19:26 +02:00
Sandeep Somavarapu bb1866ab4e User data sync: Implement starting flow
- user identity
- user login provider
- user data provider
- activation event
- status bar UI
2019-08-25 20:25:16 +02:00
Benjamin Pasero ccd6d203a0 tslint - also show warning when using NodeJS type 2019-08-22 20:04:00 +02:00
Benjamin Pasero de04dc374f tslint - move rules 2019-08-22 08:05:22 +02:00
Johannes Rieken 8d70c559e5 npm installing 2019-08-21 18:05:31 +02:00
Benjamin Pasero da25e0802a tslint - polish rule (support multiple declarations) 2019-08-21 17:19:33 +02:00
Benjamin Pasero 90a35ecc5d
TSLint: show a warning when accessing node.js globals in common|browser (#79222)
* trivial first cut

* document where globals are from

* improve rule detection

* fix "gulp tslint" task

* share rules

* enable more rules

* also add a rule for DOM
2019-08-19 17:13:18 +02:00