Commit Graph

215 Commits

Author SHA1 Message Date
Alexandru Dima
ec1eda0d96 Rename OnEnterRule.oneLineAboveText to previousLineText after API call feedback (#58440) 2021-01-20 17:31:04 +01:00
Wenlu Wang
30f17c9572 Merge branch 'master' into signaure_arguments_label 2021-01-19 11:16:41 +08:00
Alexandru Dima
f101028176 Fixes #114299: Add commands for invoking semantic tokens provider 2021-01-18 17:05:47 +01:00
Wenlu Wang
3c2c937f99 Merge branch 'master' into signaure_arguments_label 2021-01-18 17:38:35 +08:00
Wenlu Wang
fcc00b29f5 Avoid ts changes (#2)
* Add ts server for inline hints

* Add some feature related configure

* Add more config

* Rename all options

* Support range

* Add new contribution point to allow specific context menu of inline hints.

* Fix filename

* Pass range into command

* Support trigger position and prefix/postfix

* Support hover message and contextValue

* Add event listener

* Avoid demo command

* Avoid ts changes
2021-01-18 17:24:23 +08:00
kingwl
9853c8fe6d Fix cr issues 2021-01-13 19:21:51 +08:00
Alexandru Dima
3d500ebd8b Adopt proposed CancellationError (#93686) 2021-01-11 17:31:22 +01:00
kingwl
f93a2b62ef fix cr issues 2021-01-04 21:15:59 +08:00
kingwl
d26dbae6cd Adjust request schedule 2020-12-25 12:08:30 +08:00
kingwl
2697a42ee7 add range WIP 2020-12-25 01:37:42 +08:00
kingwl
2db89c75e6 rename to inline hints 2020-12-25 01:15:16 +08:00
kingwl
d24ab0a201 Improve comments and code style 2020-12-24 15:28:27 +08:00
kingwl
3de96fd237 Simplify code 2020-12-23 18:51:15 +08:00
kingwl
9f5cfc246b Add dummy support 2020-12-23 15:07:33 +08:00
kingwl
8476ff1a9d WIP 2020-12-22 18:34:34 +08:00
Martin Aeschlimann
627ad0b4ee rename OnTypeRename -> LinkedEditing (for #109923) 2020-11-27 16:31:56 +01:00
Martin Aeschlimann
8134d8c9e7 rename to OnTypeRenameRangeProvider. For #109923 2020-11-16 18:07:15 +01:00
Martin Aeschlimann
e69d768e53 adopt feedback for #109923 2020-11-11 15:44:49 +01:00
Johannes Rieken
b3cc19b819 💄 use async-await for code lens provider logic 2020-11-10 09:45:54 +01:00
Martin Aeschlimann
875c2ced66 Finalize FoldingRangeProvider.onDidChangeFoldingRanges. Fixes #108929 2020-11-09 10:29:20 +01:00
Martin Aeschlimann
69a9cb047f onDidChangeFoldingRanges should check for proposed API. Fixes #109496 2020-10-28 12:05:58 +01:00
Johannes Rieken
63eddfc0e9 💄 completion provider display names, https://github.com/microsoft/vscode/issues/109167 2020-10-23 11:58:25 +00:00
Johannes Rieken
85702a3d9d add trigger characters to extension id as a weak way to make providerNames more unique, #109167 2020-10-23 08:52:24 +00:00
Johannes Rieken
f8391ef992 measure duration for completion provider from extensions, #109167 2020-10-22 14:06:36 +00:00
Martin Aeschlimann
fff9302b36 folding: provider event to signal that folding ranges have changed. Fixes #99914 2020-10-19 15:59:56 +02:00
Matt Bierner
5a7d0a1ed2 Adopt resolveCodeAction for JS/TS refactorings 2020-09-18 18:17:31 -07:00
Johannes Rieken
f8ad845310 Allow executeCodeActionProvider API command to set the number of items to resolve, unit test to check that and the whole resolve machinery 2020-09-16 13:52:26 +02:00
Johannes Rieken
136cc276d1 proposed API for CodeActionProvider#resolveCodeAction and all the wiring 2020-09-16 12:34:20 +02:00
Johannes Rieken
44b1737a9c chore - when target might be undefined use target?.dispose() over dispose(target) 2020-09-08 17:34:53 +02:00
Benjamin Pasero
f922e8b757 debt - remove lib.array-ext.d.ts and support Array.includes (fix #102566) (#105404) 2020-08-26 13:07:30 +02:00
Martin Aeschlimann
fae07df7c3 onTypeRename: wordPattern (for #104823) 2020-08-21 13:54:43 +02:00
Wenlu Wang
9d6054c99d Add ts/js deprecated support (#97742)
* Add ts/js deprecated support

* Support callhierarchy

* avoid tags

* fix lint

* fix lint

* Avoid changes

* Avoid assign

* Avoid changes

* Avoid styles

* Add temp deps for build

* update version

* add config item

* fix type

* Use expiremental namepsace

* fix types
2020-06-22 14:01:37 -07:00
Johannes Rieken
9f83b385d4 remove telemetry, update jsdoc, https://github.com/microsoft/vscode/issues/96779 2020-05-27 12:16:15 +02:00
Alex Dima
468706e8e2 Fixes #96664: Accept number[] besides Uint32Array for semantic tokens 2020-05-04 12:02:33 +02:00
Johannes Rieken
ce850e02d5 debt - don't send data that's not needed, make resolve a function not a property 2020-05-04 09:47:19 +02:00
Johannes Rieken
425616820c validate on client (using faster ways), don't send repeated data, #95325 2020-05-04 09:47:19 +02:00
Johannes Rieken
01c243f25f fix #95715 2020-04-21 11:47:13 +02:00
Johannes Rieken
8f1b2e5657 use async-await to prevent new callback-functions, https://github.com/microsoft/vscode/issues/95325 2020-04-17 09:06:34 +02:00
Johannes Rieken
ab24124841 use map over switch, "more strict" signature, don't send default type, https://github.com/microsoft/vscode/issues/95325 2020-04-16 16:14:12 +02:00
Johannes Rieken
17cdb4783e suggest ignores replace or insert range when one of them matches the corresponding default 2020-04-14 12:48:01 +02:00
Alex Dima
7320a04ba0 Add tests to encode/decode SemanticTokensDto 2020-03-24 10:08:14 +01:00
Pine Wu
c833780356 Clean up API and add stopPattern 2020-03-10 12:38:03 -07:00
Alexandru Dima
84c838d1e3 Scaffold on type rename 2020-03-10 12:33:16 -07:00
Alex Dima
c2a604a18c Add DocumentSemanticTokensProvider.onDidChangeSemanticTokens 2020-03-02 13:45:25 +01:00
Johannes Rieken
8b95561098 show names of formatting edits and code actions providers when they block save. also add links that links that open the settings editor for each feature, #90851 2020-02-21 15:35:30 +01:00
Alex Dima
7169e432d8 Fixes #42649 2020-02-17 22:19:03 +01:00
Andre Weinand
e588a9cd1a Introduce evaluatable expression API; fixes #89084 2020-02-14 12:53:56 +01:00
Matt Bierner
fb622a8b83 Move code action documentation contribution point to come from metadata
For #86788
2020-02-11 11:36:23 -08:00
Johannes Rieken
3b2fde6477 more strictFunctions #81574 2020-02-11 09:35:48 +01:00
Johannes Rieken
5d85d2eeef suggest - don't send default ranges for each item 2020-01-23 15:29:50 +01:00