Commit graph

89 commits

Author SHA1 Message Date
Benjamin Pasero 76590a7764 Merge branch 'master' into ben/electron-sandbox 2020-05-26 09:39:17 +02:00
Alex Dima 7c045e7f07
Add more undo-redo tests 2020-05-25 17:46:24 +02:00
Benjamin Pasero dc8f291781 sandbox - let workspaces service use sandboxed IPC 2020-05-23 08:05:47 +02:00
Benjamin Pasero 3514e96bf5 sandbox - add rules for new electron-sandbox layer 2020-05-22 12:21:25 +02:00
rebornix d321061c8c merge moveEvent into CellsChangeEvent. 2020-05-20 11:03:30 -07:00
rebornix cc151dd103 notebook tests for notebook content change events. 2020-05-19 14:46:14 -07:00
rebornix 0dea13a46a Notebook document events. 2020-05-19 12:05:21 -07:00
Alex Dima 6654073e14
Adopt new package name (vscode-oniguruma) 2020-04-24 17:58:08 +02:00
Alex Dima a6e59815c8
Adopt vscode-oniguruma-wasm 2020-04-23 11:16:21 +02:00
Benjamin Pasero eaff4c5dee debt - fix import layer rules 2020-04-07 10:29:20 +02:00
Benjamin Pasero b644d803d1 debt - extract node pieces to node layer (window) 2020-04-06 09:17:00 +02:00
Benjamin Pasero a949694b25 debt - reduce usage of explicit any 2020-02-28 11:33:55 +01:00
Matt Bierner 99d5733e5f New iteration of webview editor API proposal
For #77131

**Motivation**
While our existing webview editor API proposal more or less works, building an editable webview editor is fairly tricky using it! This is especially true for simple text based editors.

It'd also be nice if we could get bi-directional live editing for text files. For example, if I open the same file in a webview editor and in VS Code's normal editor, edits on either side should be reflected in the other. While this can sort of be implemented using the existing API, it has some big limitations

**Overview of changes**
To address these problems, we've decided have two types of webview editors:

- Text based webview editors. These editors used a `TextDocument` as their data model, which considerably simplifies implementing an editable webview. In almost all cases, this should be what you use for text files

- Complex webview editors. This is basically the existing proposed API. This gives extension hooks into all the VS Code events, such as `save`, `undo`, and so on. These should be used for binary files or in very complex text editor cases.

Both editor types now have an explicit model layer based on documents. Text editor use `TextDocument` for this, while custom editors use `WebviewEditorCustomDocument`. This replaces the delegate based approach previously used.
2020-02-21 16:26:01 -08:00
Sandeep Somavarapu 440e910ccc allow platform common tests use bas/parts/common 2020-02-13 18:25:10 +01:00
Daniel Imms 8a4cd00f8f Move terminal tests to common and browser 2020-02-07 08:52:37 -08:00
Benjamin Pasero 4be3cc8846 test - convert web integration to TS 2020-02-07 12:41:12 +01:00
Johannes Rieken b7ab10b8a8 move most API tests to browser-layer 2020-02-05 15:09:32 +01:00
Johannes Rieken 8342b3ada9 add some lint rules that enforce our api-guidelines 2020-01-31 12:10:58 +01:00
Benjamin Pasero 2c92f67ec5 eslint - add a few more for no-restricted-globals rule 2020-01-06 15:16:17 +01:00
Benjamin Pasero 8708d6e4dd
eslint - add rule to restrict certain globals (#88123) 2020-01-06 10:24:40 +01:00
Johannes Rieken 125ba4a8a6 enable custom/forked no-unused-expressions rule 2020-01-03 09:32:40 +01:00
Johannes Rieken 12eb715644 (re)enable no-extra-semi rule 2020-01-02 21:12:03 +01:00
Johannes Rieken d18119e288 enable jsdoc/no-types rule for TS files 2020-01-02 21:00:27 +01:00
Johannes Rieken e22be576d6 add disabled rules for being more complete with our tslint config... 2019-12-31 12:55:41 +01:00
Johannes Rieken e27d7cafa1 only one double-qoute string rule 2019-12-31 09:14:07 +01:00
Johannes Rieken a61f38eee5 migrate no-unexternalized-strings rule (have two variants) 2019-12-30 17:48:21 +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 54d20309fa tweak rules and excludes 2019-12-30 10:51:58 +01:00
Johannes Rieken 291ee0058a add no-buffer-ctor rule 2019-12-30 10:06:37 +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 a1047421ff use single eslintrc-file for extensions/ and src/, no type check rules 2019-12-24 16:11:51 +01:00
Johannes Rieken 31d049f329 use (most of) generated eslintrc-file 2019-12-24 13:51:11 +01:00
Johannes Rieken ce0d7058a6 add package.json script 2019-12-24 13:23:57 +01:00
Johannes Rieken 556475c71f add eslint-rules "module" and use it in eslintrc-file 2019-12-24 13:07:59 +01:00
Kevin Ji 6d27e68892 eslintrc: Mark as root config 2018-09-10 11:51:23 -04:00
Manoel Lobo b4fc62b9c5 Add .eslintrc extension 2018-08-22 10:23:45 -03:00
Renamed from .eslintrc (Browse further)