Commit Graph

206 Commits

Author SHA1 Message Date
Johannes Rieken
a24000a9a3 For parts with location and command: give link gesture to location and append command to context menu, add more jsdoc for API, remove dead code, https://github.com/microsoft/vscode/issues/16221#issuecomment-264527520 2022-01-20 14:47:05 +01:00
Johannes Rieken
15db136c3c use Dto<T> util in more places, some clean-up/alignment of caching logic 2022-01-19 15:12:22 +01:00
Johannes Rieken
d4dde3aa06 support label part tooltip in addition to item tooltip, https://github.com/microsoft/vscode/issues/16221#issuecomment-264527520 2022-01-19 13:54:35 +01:00
Johannes Rieken
8ef8933a1a incorporate API feedback, https://github.com/microsoft/vscode/issues/16221 2022-01-19 09:23:48 +01:00
Johannes Rieken
f30e6a710d make trace provider logging more minification friendly 2022-01-18 14:47:05 +01:00
Johannes Rieken
7718b8ef72 make token to race against mandatory optional, https://github.com/microsoft/vscode/issues/140557 2022-01-18 13:38:56 +01:00
Johannes Rieken
56a830bc68 on ext-host race selection ranges, workspace symbols, and document symbols against cancellation, https://github.com/microsoft/vscode/issues/140557 2022-01-18 13:33:07 +01:00
Johannes Rieken
57eaad7de3 on the ext-host, race call and type hierarchy against cancellation so save bandwidth, https://github.com/microsoft/vscode/issues/140557 2022-01-18 13:25:20 +01:00
Johannes Rieken
19e3ef41bd In the ext-host, race goto-symbol features against cancellation, https://github.com/microsoft/vscode/issues/140557 2022-01-18 13:08:25 +01:00
Johannes Rieken
ad5dd4e736 add trace logging for inlay hint adapter, ignore out of range hint silently 2022-01-14 16:05:27 +01:00
Johannes Rieken
e5703c8405 allow to race against cancellation when invoking _withAdapter, never log cancellation errors, https://github.com/microsoft/vscode/issues/140557 2022-01-12 16:17:39 +01:00
Johannes Rieken
1a18335429 💄 simpliy typings around adapter logic 2022-01-12 09:46:52 +01:00
Johannes Rieken
8f8d0a9cc4 make sure inlay hints are within range asked for, https://github.com/microsoft/vscode/issues/16221 2022-01-12 09:20:08 +01:00
Johannes Rieken
1cfc360e4b drop and warn when inlay hint has empty label, https://github.com/microsoft/vscode/issues/16221 2022-01-11 09:36:29 +01:00
Johannes Rieken
2586299c42 experiment with InlayHintLabelPart and source location as "anchor action",
https://github.com/microsoft/vscode/issues/129528
2022-01-07 20:47:33 +01:00
Johannes Rieken
3677cc48a8 support to resolve inlay hints for hover and for future display parts, https://github.com/microsoft/vscode/issues/129528 2022-01-06 16:30:04 +01:00
Alex Dima
973684056e Rename modes to languages 2021-12-30 18:52:15 +01:00
Henning Dieterichs
075ba020e8 Fixes #137000. SelectedCompletionInfo now has the members completionKind and isSnippetText. 2021-11-23 15:31:04 +01:00
Johannes Rieken
409041b7ff dedupe workspace symbols results 2021-11-16 14:07:03 +01:00
Johannes Rieken
5dcc08052c change back onDidChaonDidChangeInlayHints, ignore events for model for which a request is currently pending, https://github.com/microsoft/vscode/issues/13043 2021-10-11 10:32:00 +02:00
Johannes Rieken
bbff19b5ba allow to send onDidChangeInlayHints-event for specific uris, https://github.com/microsoft/vscode/issues/130430 2021-10-04 12:17:10 +02:00
Johannes Rieken
cc365575fc extract and reuse DocumentSelector-transformer, https://github.com/microsoft/vscode/issues/133331 2021-09-17 16:33:42 +02:00
Henning Dieterichs
aeb8b4be9a Updates inline completion provider API docs and renames selectedSuggestionInfo to selectedCompletionInfo. 2021-08-26 12:05:15 +02:00
Henning Dieterichs
60c88bb233 allows inline suggestion providers to interact with the suggest widget. 2021-08-19 17:03:06 +02:00
Johannes Rieken
e30d70f9f5 turn language status API proposal into push model, https://github.com/microsoft/vscode/issues/129037 2021-07-21 12:51:14 +02:00
Johannes Rieken
4508c29d35 first cut for language status API proposal, https://github.com/microsoft/vscode/issues/129037 2021-07-21 10:22:36 +02:00
Johannes Rieken
f50840e91b add type hierarchy API test, fix conversion direction for arguments, also fix call hierarchy 2021-07-15 13:08:00 +02:00
Yan Zhang
8135848f77 add type hierarchy provider
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2021-07-15 11:48:28 +08:00
Johannes Rieken
90197cbc94 use async-await in extHostLanguageFeatures, stop using asPromise 2021-07-02 12:18:48 +02:00
Johannes Rieken
24f9000e97 merge CompletionItemLabel into CompletionItem#label, https://github.com/microsoft/vscode/issues/39441 2021-06-22 14:35:31 +02:00
Johannes Rieken
f2fe357377 fix test failure 2021-06-07 13:06:43 +02:00
Johannes Rieken
32106ee154 drop links with paths longer than 50'000 characters, https://github.com/microsoft/vscode/issues/124942 2021-06-07 12:28:26 +02:00
Henning Dieterichs
f32b38aa21 Allows to directly return an array of inline completions instead of an InlineCompletionList. 2021-06-02 15:13:55 +02:00
Henning Dieterichs
d1ed9c8bf3 Adds proposed API for window.getInlineCompletionItemController(...).onDidShowCompletionItem. 2021-05-26 20:34:04 +02:00
Henning Dieterichs
231c155d31 Refactors the inline completion feature. 2021-05-21 19:40:38 +02:00
Henning Dieterichs
9086ecd9f0 Renames Suggestion to Completion and cleans up API 2021-05-21 11:29:08 +02:00
Henning Dieterichs
09ab8ad202 wip 2021-05-19 17:05:31 +02:00
Alex Dima
32db232a53 Scaffold ghost text 2021-05-17 15:39:26 +02:00
Johannes Rieken
a1e69b746f rename InlineHint to InlayHint, make it InlayHint only and keep OverlayHint as a future, separate feature, remove hover message 2021-04-30 14:51:40 +02:00
Matt Bierner
49d05f998f Add CodeActionTriggerKind api proposal
For #118084
Fixes #118087
2021-03-03 17:36:07 -08:00
Andre Weinand
e537fd9e31 first cut of proposed "inline values provider" API 2021-02-16 16:31:33 +01:00
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