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

cmd: Remove completion CLI command #852

Merged
merged 1 commit into from
Apr 6, 2022
Merged

Conversation

radeksimko
Copy link
Member

Background

This command was added in the early versions of LS primarily for debugging purposes of completion. We have since gotten more confident in the completion logic and also in the client-side, either reducing the need to debug or using the VS Code extension w/ log for debugging instead.

Finally @dbanck published https://github.com/dbanck/go-lsp-test which can further aid debugging with any LSP feature and act as a language client.

Keeping the command around also makes refactoring often more difficult than necessary.


Just for clarity for anyone less familiar with the codebase landing here - this is removing a completion CLI command, not completion functionality, which of course remains available via LSP (as exposed via serve CLI command).

@radeksimko radeksimko changed the title cmd: Remove completion CLI command cmd: Remove completion CLI command Apr 6, 2022
@radeksimko radeksimko requested a review from a team April 6, 2022 09:16
Copy link
Member

@dbanck dbanck left a comment

Choose a reason for hiding this comment

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

👍

@radeksimko radeksimko merged commit e22e3cc into main Apr 6, 2022
@radeksimko radeksimko deleted the remove-completion-cmd branch April 6, 2022 10:05
@radeksimko radeksimko added this to the v0.27.0 milestone Apr 6, 2022
@radeksimko radeksimko self-assigned this Apr 6, 2022
@github-actions
Copy link

This functionality has been released in v0.27.0 of the language server.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants