Commit Graph

29 Commits

Author SHA1 Message Date
2ee6b0b7b9 Update all of our samples to target VSCode 1.100 or newer
This makes sure that if folks get a relatively recent `vscode.d.ts`. It also lets us safely bump up the target to es2024 so you can use all the latest lib additions
2025-08-07 07:57:14 -07:00
774ecdb0ee Bump ts-eslint versions
This fixes a warning about running on an unsupported TypeScript version. Also makes sure we do not lint any `.vscode-test` contents if they are present
2024-11-26 22:59:45 -08:00
cabd09c2fc Fix lsp log streaming samples 2024-11-26 19:36:11 -08:00
1a3ac0c722 Switch internal scripts to ts
Also adds a formatting script and runs it against all TS files in the samples
2024-10-28 16:41:49 -07:00
73e249b3c1 Migrate all samples to eslint 9
Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
2024-10-26 17:44:03 -07:00
dec963c83a Update packages plus improved import. (#806) 2023-01-18 14:43:52 +01:00
dbee9a0daf use auto attach children instead of multiple launch configs
This is a new (with js-debug) option that makes debugging child processes much easier. Use it for the LSP subprocesses.

Supplants https://github.com/microsoft/vscode-extension-samples/pull/704
2022-12-06 16:38:21 -08:00
f7f5bee0e5 Update to TS 4.7 2022-05-24 15:04:19 -07:00
3c2d67e305 Bump ws from 6.2.1 to 6.2.2 in /lsp-log-streaming-sample/client
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/6.2.1...6.2.2)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 16:37:12 +00:00
2bc23042f1 Update samples to build with TS 4.5.5 2022-02-09 11:38:40 -08:00
355d5851a8 Build extensions using TS 4.4 2021-10-04 12:24:14 -07:00
4bad174eb8 Migrate remaining samples from tslint to eslint. Fixes #387 2021-08-27 15:08:14 +02:00
3b00e1fd9a Fix compile errors 2021-08-05 14:26:30 +02:00
1f5eb475b6 Update dependencies 2021-08-05 14:24:00 +02:00
cd6c33d101 Updates to target es2019
Fixes #265

Also excludes dom typings from the lib files so that dom methods are not suggested
2020-05-06 12:14:11 -07:00
cc64fa1dc2 Remove use stricts from ts files
This is implicit for modules
2019-05-30 18:27:43 -07:00
dce3875a93 Don't set explicit lib in tsconfigs
The one we get from the `target` is correct in almost all cases for VS Code
2019-05-30 18:24:08 -07:00
22a8ff0217 Use latest vscode or "@types/vscode" 2019-05-10 15:23:49 -07:00
03cf5fa9f1 Enable strict mode for many samples 2019-05-10 14:34:54 -07:00
139fa5b39a Use latest TS version across examples 2019-05-09 16:59:56 -07:00
29149a39a3 Fix E2E test in the lsp-log-streaming-sample 2019-02-06 12:10:33 +00:00
cbd57bff5f Move vscode to dev dependency 2018-11-08 10:13:03 +01:00
b72fae94fa Revert "Pretter for each ts file"
This reverts commit 23674b2cfe.
2018-10-23 22:14:56 -07:00
23674b2cfe Pretter for each ts file 2018-10-10 09:37:51 -07:00
154ad38e3f Convert indentation to tabs for all JSON files 2018-10-08 15:37:24 -07:00
0fda4ad8a1 Stream 2018-09-05 00:40:46 -07:00
b250b88695 Deps 2018-09-05 00:29:43 -07:00
b75dbc8c24 Update client/server lib version for JSON log 2018-09-04 17:51:07 -07:00
6eeb02c5c6 cp -r lsp-sample lsp-log-streaming-sample 2018-09-04 17:48:49 -07:00