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

Improve documentation for lsp-execute-code-action #4097

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

Hi-Angel
Copy link
Contributor

@Hi-Angel Hi-Angel commented Jul 12, 2023

lsp-execute-code-action is a user-facing function that can be executed e.g. when clangd says "fix available". But as it stands, the function description is too abstract, so unless you know details around lsp-protocol codeAction, you won't figure out what it's for. Fix that by clarifying what a user can use it for.

This came up after me trying to find some way to "apply the clangd fix" and not finding anything useful offhand, and then going to gitter and asking a question there.

`lsp-execute-code-action` is a user-facing function that can be
executed e.g. when clangd says "fix available". But as it stands, the
function description is too abstract, so unless you know details
around lsp-protocol `codeAction`, you won't figure out what it's
for. Fix that by clarifying what a user can use it for.
@ericdallo
Copy link
Member

thank you!

@ericdallo ericdallo merged commit 39390d3 into emacs-lsp:master Jul 12, 2023
13 of 14 checks passed
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