Commit Graph

73 Commits

Author SHA1 Message Date
Christof Marti
fb8bf97485 Remove obsolete warning (#170049) 2023-05-16 11:31:46 +02:00
Joyce Er
413f98e499 Implicitly activate only main language contribs (#179287) 2023-04-06 10:12:17 +02:00
Ulugbek Abdullaev
612b6d7f11 extension linter: lint readme: don't return on closed doc 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev
da34f7d462 extension linter: remove unused import 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev
500f3f30ec extension linter: context keys: improve error message 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev
5a8b485d82 extension linter: context keys: move the internal command to access parser to extension host code 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev
7e9f63f4ae extension linter: add linting for when-clauses (context keys) - "when" and "enablement" fields in extension manifest files - package.json
(no linting for keybindings.json yet)
2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev
4c4639b888 extension linter: run parser with no regex error recovery 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev
2add9e8ceb extension linter: make sure we don't fail on array access 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev
efffb789ff extension linter: add linting for when and enablement clauses in package.json's 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev
e4fe3740b9 extension linter: add a warning todo 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev
da6b280570 extension linter: refactor: rewrite package.json linting with a for-loop 2023-02-28 14:00:30 +01:00
Joyce Er
5148e0bde9 Use Buffer.toString in node-only context (#175592) 2023-02-27 23:31:16 +01:00
Joyce Er
d7fec23a8a Use fs.readFile instead of openTextDocument (#175077) 2023-02-22 07:35:34 +01:00
Joyce Er
3ab0fb3aa9 Lint redundant activation events if extension is targeting ^1.75 (#173345) 2023-02-03 09:53:00 -08:00
Joyce Er
ddd71a222d Lint redundant onTaskType activation events (#173205) 2023-02-02 14:31:13 -08:00
Tyler James Leonhardt
262ab0e7bf Warn about star activation (#173112)
* star activation bad

* better message

* info level
2023-02-02 15:59:09 -05:00
Joyce Er
b42443093a Lint more redundant activation events (#173186)
* `onWalkthrough`
* `onTerminalQuickFixRequest`
* `onTerminalProfile`
* `onRenderer`
2023-02-02 11:18:11 -08:00
Joyce Er
05e1981145 Lint redundant package.json activation events (#171297) 2023-01-16 09:28:19 +01:00
Joyce Er
d799b6c18f Fix diagnostics for implicit activation events not appearing (#167081)
* Fix diagnostics for implicit activation events not appearing

* Fix line endings
2022-11-23 10:33:32 -08:00
Joyce Er
009d74e8f5 Lint redundant implicit activation events (#166485)
* Emit error for `onNotebookSerializer` usage
2022-11-22 08:28:24 -08:00
Matt Bierner
8a37410ce2 Adopt l10n for extension-editing (#165523)
For #164438
2022-11-04 12:04:47 -07:00
Martin Aeschlimann
375681e51e json: use default word pattern (#151754) 2022-06-13 14:36:42 +02:00
Johannes
0656d21d11 auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Johannes Rieken
ffdb8427ed 💄 use native endsWith, fyi @chrmarti 2022-01-05 11:46:29 +01:00
Johannes Rieken
986f163f9f use extension linter to warn about usage of impossible proposals, https://github.com/microsoft/vscode-internalbacklog/issues/2461 2022-01-05 11:46:29 +01:00
Johannes Rieken
68e819043c use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files 2021-11-09 15:53:35 +01:00
Johannes Rieken
9254a8cd27 move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Matt Bierner
d3642c3f60 Removing support for old style markdown symbol links in vscode.d.ts
Fixes #132663
2021-09-08 15:11:19 -07:00
Martin Aeschlimann
7ebe6a6054 adopt web extensions to webpack 5 2021-07-08 21:41:03 +02:00
Christof Marti
63e5b8058a Async import only once 2021-06-04 21:42:23 +02:00
Martin Aeschlimann
db0d3f089d add stripped-down serverless extension editing 2020-07-06 14:12:16 +02:00
João Moreno
cb29362cc7 fixes #100168 2020-06-15 10:28:35 +02:00
Matt Bierner
dd3e2d94f8 Remove use strict directives in extension code
We compile with alwaysStrict so these directives are not needed
2018-10-02 16:02:44 -07:00
Matt Bierner
69056ab090 Upgrade extension-editing extension to use shared tsconfig
Use the shared tsconfig and fix a number of strict mode typing errors and null check errors
2018-10-02 10:24:19 -07:00
Christof Marti
92cc41ebd0 Handle relative paths (#58694) 2018-09-26 15:19:36 +02:00
Johannes Rieken
b3665b9142 better fix for #58694 2018-09-26 12:24:26 +02:00
Johannes Rieken
1bcc3508fa fix #58694 2018-09-26 12:05:54 +02:00
Christof Marti
3ce4d78fed Webpack friendly (#57679) 2018-09-06 09:54:11 +02:00
Christof Marti
4380358ce9 Use webpack (#57680) 2018-09-05 15:16:27 +02:00
Christof Marti
80cc844613 Webpack friendly (#57679) 2018-09-05 09:54:39 +02:00
Christof Marti
f3cc067797 Missing check (#56170) 2018-08-13 10:36:37 +02:00
Christof Marti
839a40edb3 Avoid Uri.parse('') 2018-08-10 15:54:22 +02:00
Christof Marti
c09911add3 Avoid assumptions about git: URIs (fixes #36236) 2018-08-02 15:09:51 +02:00
Christof Marti
d61baf3b16 Don't assume local file (#36236) 2018-07-23 12:55:32 +02:00
Dirk Baeumer
04594c864b Add support for Language Packs 2018-01-25 21:14:34 +01:00
Christof Marti
c561784a90 Clean up (#37212) 2017-11-08 11:01:58 -08:00
Erich Gamma
a54c44cb0d Enabling the 'noUnusedLocals' compiler option for extensions 2017-11-08 10:23:49 +01:00
Erich Gamma
b94569fe0d tslint5 adoption - fix semicolon rule 2017-11-07 12:08:22 +01:00