Skip to content
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

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

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

… lazy-resolved

Signed-off-by: Sheng Chen <sheche@microsoft.com>
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 <sheche@microsoft.com>
@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 <sheche@microsoft.com>
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 <sheche@microsoft.com>
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 <sheche@microsoft.com>
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.

None yet

2 participants