Commit graph

79 commits

Author SHA1 Message Date
Sandeep Somavarapu a764c2ac80
Support version for proposed APIs (#216608)
Support version for proposed APIs
2024-06-19 18:01:46 +02:00
Robo 5216c04428
chore: update to electron 29 (#209818)
* chore: update electron@29.1.0

* chore: update typings to 20.x

* chore: bump electron@29.1.5

* ci: fix crash in compiling extensions-ci

* chore: disable .d.ts check for build/

$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
                ~~~~~~~~~

node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
               ~~~~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  node_modules/@types/chokidar/index.d.ts:21
     1  node_modules/chokidar/types/index.d.ts:8

Refs a0f9e09f64

* chore: update core types

* temp: fix layer validation

* chore: update nodejs checksums

* ci: use latest v20 LTS for missing node-gyp

Refs eacec5f490

* ci: define LIBCPP_HARDENING_MODE

* ci: fix crash in vscode-web-min-ci

* chore: update rpm deps-list

* chore: bump tree-sitter-typescript@0.20.5

* chore: bump electron@29.3.0

* chore: bump electron@29.3.1

* chore: update rpm deps-list for x86_64

* ci: disable io_uring UV backend on linux

* ci: disable io_uring backend for oss as well

* chore: update typings to 20.x

* ci: add TODO for io_uring workaround

* chore: bump distro

* chore: update preinstall node version checks

* chore: update @types/gulp

Refs https://github.com/microsoft/vscode/issues/212442

* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
Martin Aeschlimann 07fcfc80c3
update to latest jsonc-parser (#192872) 2023-09-12 14:58:01 +02:00
Joyce Er 0795888f65
fix: avoid fs dependency in web (#192565)
* feat: quick fix for redundant activation events

* fix: avoid `fs` dependency in web
2023-09-08 14:23:04 +02:00
Christof Marti e073d674f3 Revert "feat: quick fix for redundant activation events (#192495)"
This reverts commit 0b4fd719e3.
2023-09-08 10:31:35 +02:00
Joyce Er 0b4fd719e3
feat: quick fix for redundant activation events (#192495) 2023-09-07 15:12:23 -07:00
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