Commit Graph

115 Commits

Author SHA1 Message Date
Johannes Rieken 9276e615a3 onboard rename to language feature service 2022-01-28 18:31:21 +01:00
Johannes Rieken 5dc873f464 move ReferenceProviderRegistry into new ILanguageFeaturesService service 2022-01-28 18:19:52 +01:00
Johannes Rieken ffdeff7b55 show error when inlay hints command fails, annotate error with source (e.g extension name), fixes https://github.com/microsoft/vscode/issues/141588 2022-01-27 10:47:15 +01:00
Alex Dima d8ca757f2b Move ISingleEditOperation to /core/ (#141174) 2022-01-21 20:35:35 +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 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 62bae334d5 properly propagte cancellation, https://github.com/microsoft/vscode/issues/129528 2022-01-10 15:03:12 +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
Alex Dima c8e2fd7bae Renames 2021-12-29 00:37:35 +01:00
Alex Dima b487b2ccc3 Remove ILanguageService.validateLanguageId 2021-12-28 13:37:22 +01:00
Henning Dieterichs afaa9ac84e More adoption of language configuration service. 2021-12-09 11:24:14 +01:00
Alex Dima 91b97cec91 Debt: Rename IModeService to ILanguageService 2021-12-08 14:36:18 +01:00
Johannes Rieken e9d7fac2c7 fix https://github.com/microsoft/vscode/issues/137415 2021-11-18 18:36:47 +01:00
Johannes Rieken 409041b7ff dedupe workspace symbols results 2021-11-16 14:07:03 +01:00
Alex Dima 11862795ea Remove LanguageIdentifier and ensure tests dispose instantiated LanguagesRegistry objects 2021-10-18 10:29:16 +02: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 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
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 24f9000e97 merge CompletionItemLabel into CompletionItem#label, https://github.com/microsoft/vscode/issues/39441 2021-06-22 14:35:31 +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
Andre Weinand e537fd9e31 first cut of proposed "inline values provider" API 2021-02-16 16:31:33 +01:00
Alexandru Dima 8471235643 Give a higher priority to language configuration set via API call (#114684) 2021-01-27 21:14:41 +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 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 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
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
Johannes Rieken 136cc276d1 proposed API for CodeActionProvider#resolveCodeAction and all the wiring 2020-09-16 12:34:20 +02:00
Martin Aeschlimann fae07df7c3 onTypeRename: wordPattern (for #104823) 2020-08-21 13:54:43 +02:00