Skip to content

Add a setting to control whether 'textEdit' of completion items can be resolved #3072

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 23, 2023

Conversation

jdneo
Copy link
Collaborator

@jdneo jdneo commented Apr 18, 2023

Use a setting to control whether to append textEdit to the resolveSupport of completion.

This allows us to have a fallback when lazy-resolving textEdit no longer works in the future, while still comply with the protocol.

Requires eclipse-jdtls/eclipse.jdt.ls#2600

@jdneo jdneo force-pushed the cs/textEditResolveFlag branch from 4fbd9e0 to 6cd77d2 Compare April 18, 2023 08:35
@jdneo jdneo requested review from fbricon, snjeza and rgrunber April 19, 2023 02:00
Copy link
Collaborator

@testforstephen testforstephen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. A minor comment is to add the new setting to README as well.

Signed-off-by: sheche <[email protected]>
@testforstephen testforstephen added this to the End April 2023 milestone Apr 23, 2023
@testforstephen testforstephen merged commit f8c989b into redhat-developer:master Apr 23, 2023
@jdneo jdneo deleted the cs/textEditResolveFlag branch April 24, 2023 02:26
gayanper pushed a commit to gayanper/vscode-java that referenced this pull request May 27, 2023
…e resolved (redhat-developer#3072)

* Add a setting to control whether 'textEdit' of completion item can be lazy-resolved

Signed-off-by: Sheng Chen <[email protected]>
gayanper pushed a commit to gayanper/vscode-java that referenced this pull request May 30, 2023
…e resolved (redhat-developer#3072)

* Add a setting to control whether 'textEdit' of completion item can be lazy-resolved

Signed-off-by: Sheng Chen <[email protected]>
gayanper pushed a commit to gayanper/vscode-java that referenced this pull request Jun 14, 2023
…e resolved (redhat-developer#3072)

* Add a setting to control whether 'textEdit' of completion item can be lazy-resolved

Signed-off-by: Sheng Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants