46 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
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
48f100fab8 Convert the sample to use pull diagnostics 2024-02-27 12:45:29 +01:00
ac5f1bc757 Update dependencies and server launch config (#932) 2023-12-18 12:56:33 +01:00
ebb0455400 Fix incorrect usage of 'an' 2023-11-28 21:08:27 +01:00
dfb20f12d4 Update dependencies (#826) 2023-02-28 10:19:15 +01:00
4af6cd05ce Update dependencies 2022-03-01 09:53:31 +01:00
0d36653b0d Bump all targets to es2020
Fixes #530
2022-02-28 13:45:21 -08:00
2bc23042f1 Update samples to build with TS 4.5.5 2022-02-09 11:38:40 -08:00
af8c35e1fd rename vscode-test package 2021-07-15 12:19:44 -07:00
bcc03a7064 Running audit fix on repos
This bumps the lodash version across the samples
2021-05-11 13:59:53 -07:00
4d299f64e5 Update dependencies 2021-04-06 11:49:31 +02:00
103d932c05 Upgrade example to lsp 7.0.0 2021-01-15 09:08:06 +01:00
b789046ec1 Improve comments
Mostly this commit is dealing with the following line being out of date with the current state of the code.

> The text document manager supports full document sync only
2020-06-09 07:07:21 -05:00
eb477566c1 Convert example to incremental text sync 2020-05-07 12:13:14 +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
e1ecdaec89 Update LSP Sample 2020-03-26 13:54:06 +01:00
351c1a4b49 Fix invalid comments at lsp-sample 2019-10-02 23:41:13 +09:00
30cd2019f9 Move to latest version of LSP libraries 2019-08-16 10:03:27 +02: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
03cf5fa9f1 Enable strict mode for many samples 2019-05-10 14:34:54 -07:00
0b26276bb6 Use vscode/@types for most extension samples
Fixes #180

Changes from using `vscode` to `@types/vscode` for the majority of extension samples. The `@types/vscode` package is much smaller and does not pull in any dependencies.

Other changes:

- Remove so empty test files
- Bump engine versions to match @types/vscode versions
- Use `npm run compile` for most `vscode:prepublish` scripts
2019-05-09 14:52:38 -07:00
28bc263424 Fix code according to Microsoft/vscode-docs#2512 2019-03-26 10:30:27 -07:00
8d66544bde typo: "diagnosic" should be "diagnostic" 2019-02-19 09:01:02 -05:00
358c67055b Grammar 2018-12-16 18:46:25 -08:00
d0c54d148d Remove all tsconfig.base.json and make samples not dependent on root files 2018-10-31 16:01:59 -07:00
5f5ae92db2 More code cleanup 2018-10-26 11:15:09 +02: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
d76840b91a Fixes #83: Couldn't resolve dependent task 'npm: watch:[client and server]' 2018-07-24 11:49:49 +02:00
160635ad47 Normalize code style for lsp-sample 2018-07-01 00:19:23 -07:00
a41fb59a04 Deps and minor script fix 2018-06-25 22:04:05 -07:00
1274b4cc6a Minor tweaks to the LSP example 2018-06-04 12:31:30 +02:00
98b4f09845 Rename lsp-multi-root-sample to lsp-sample and delete old one 2018-06-04 12:10:27 +02:00
a2d8952b58 Fixes #60: Type error in lsp-sample/server/src/server.ts 2018-04-16 09:26:57 +02:00
227d7cb001 move capabilities to textDocument 2018-03-28 11:23:33 -07:00
0c4d2e0ecc support for multi-location diagnostics 2018-03-21 15:54:49 -07:00
4a1d8c37ff Update LSP sample 2018-02-20 11:14:35 +01:00
ac5ce55089 Fixes #42: lsp-sample compilation error 2018-02-01 15:44:28 +01:00
9247d4d523 Merge pull request #44 from jan-dolejsi/master
Adding SnippetString-based completion sample which demonstrates how d…
2017-12-15 09:36:03 +01:00
7b9c376aad Adding SnippetString-based completion sample which demonstrates how dynamic context-sensitive snippets can be created. 2017-12-12 18:53:54 +01:00
036c659c52 Moving to npm5 2017-11-22 13:38:21 +01:00
cc17dabbae Mover sxample to latest version of the LSP 2017-09-08 15:59:00 +02:00
b2e0685b28 Stricter error checking 2017-09-04 21:47:00 +02:00
b399ceb149 Allign standard lsp example with new lsp structure 2017-09-04 17:43:23 +02:00