Commit Graph

1125 Commits

Author SHA1 Message Date
Johannes Rieken
9fefd2b6fb relax and allow double quoted strings appearing inside localize call 2019-12-30 18:45:33 +01:00
Johannes Rieken
c9179d1e6a fix nls-rule when using member-expression 2019-12-30 18:39:30 +01:00
Johannes Rieken
a61f38eee5 migrate no-unexternalized-strings rule (have two variants) 2019-12-30 17:48:21 +01:00
Johannes Rieken
53d1dffaff use AST selector to simplify things 2019-12-30 14:57:04 +01:00
Johannes Rieken
4db80066b4 use ts-es-tree-typings, support import-equals 2019-12-30 14:08:44 +01:00
Johannes Rieken
11f9af09d7 check call expression argument length 2019-12-30 13:33:42 +01:00
Johannes Rieken
808865cf57 extract import path detection into util 2019-12-30 13:01:33 +01:00
Johannes Rieken
b05b481265 migrate no-standalone-editor rule 2019-12-30 11:23:53 +01:00
Johannes Rieken
2ea9132cab migrate no-nls-in-standalone-editor rule 2019-12-30 11:19:24 +01:00
Johannes Rieken
a3bd604627 migrate translation remind rule 2019-12-30 11:09:38 +01:00
Johannes Rieken
9819da68ab migrate import-patterns rule to eslint 2019-12-30 10:03:52 +01:00
Johannes Rieken
b0d38052b5 use rulesdir instead of rules-module 2019-12-30 09:46:58 +01:00
Johannes Rieken
1075b91187 tweaks 2019-12-30 09:24:56 +01:00
Johannes Rieken
0aa86043c2 Merge branch 'master' into joh/eslint-rules 2019-12-30 09:05:53 +01:00
Benjamin Pasero
7909462634 tslint - rewrite globals rule to not use tslint (#87754)
* tslint - rewrite globals rule to not use tslint

* comments
2019-12-27 08:57:03 +01:00
Johannes Rieken
556475c71f add eslint-rules "module" and use it in eslintrc-file 2019-12-24 13:07:59 +01: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
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