Connor Peet
d1280418d7
testing: initial api implementation
...
* wip
* wip
* wip
* wip
* wip
* wip
2020-11-20 08:31:35 -08:00
Sandeep Somavarapu
88144f6d31
Fix #80698
...
- Inline semver
2020-10-26 12:12:07 +01:00
Sandeep Somavarapu
43bc8349d8
remove semver dependency
2020-10-26 08:45:58 +00:00
Sandeep Somavarapu
6a47ef2de5
consider version while merging extension state
2020-10-25 18:48:44 +01:00
Benjamin Pasero
3bbcbfa19d
debt - add and enable mocha/no-exclusive-tests rule
2020-10-15 09:57:38 +02:00
SteVen Batten
92a30ed265
Move tas-client to umd version and adopt in web ( #106904 )
...
* adopt tas-client-umd
* adopt in web
* fix whitespace
* adding tas-client to webignore
* upgrade tas-client-umd
* move svc imort to common
* remove unnecessary ignore
2020-09-18 10:00:39 -07:00
Benjamin Pasero
ea830ff2ac
sandbox - lift themes.test.contribution
2020-09-18 13:35:35 +02:00
rebornix
509bc25f02
notebook editor worker service.
2020-08-20 10:53:42 -07:00
Evgeny Gryaznov
3c4a261d5f
Add missing code-import-patterns for files and directories targeting web. ( #102961 )
2020-07-21 07:45:44 +02:00
Sandeep Somavarapu
41f32e0bd6
support managing web extensions
...
- Allow installing extensions with web resource asset type
- Allow uninstalling
2020-06-25 19:25:49 +02:00
Fedor Nezhivoi
24e0a82229
Move encoding to common for #79275 ( #100539 )
...
* move encoding.ts to common for #79275
* load iconv-lite-umd and jschardet in web version for #79275
* move EncodingOracle to the AbstractTextFileService for #79275
* review
* update to new iconv-lite-umd
* add workaround for jschardet types
* fix indentation
* add iconv-lite-umd and jschardet to workbench.html
* fix paths for modules
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-06-20 10:47:29 +02:00
Matt Bierner
5fe78a13a4
Update eslint versions
...
The class-name-casing rule has also been replaced by the configurable `naming-convention` rule
2020-06-05 14:09:41 -07:00
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