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

Support lsp_workspace_commands with arguments #11079

Open
Feel-ix-343 opened this issue Jul 2, 2024 · 2 comments · May be fixed by #12075 or #12527
Open

Support lsp_workspace_commands with arguments #11079

Feel-ix-343 opened this issue Jul 2, 2024 · 2 comments · May be fixed by #12075 or #12527
Labels
C-enhancement Category: Improvements

Comments

@Feel-ix-343
Copy link
Contributor

Description: #9210

@Feel-ix-343 Feel-ix-343 added the C-enhancement Category: Improvements label Jul 2, 2024
@ModProg
Copy link

ModProg commented Jan 5, 2025

I would also like to see this, in my usecase it is a spell checking lsp where you can switch the spell checking language via a SetLanguage command, but that obviously only works if you can send it the correct language.

@dam4rus
Copy link

dam4rus commented Feb 5, 2025

I've seen the PR that adds this functionality, which is nice. But are there any plans to somehow provide configuration for each workspace command of an LSP? E.g. gopls's tidy command accepts a json object like this {"URIs": ["file:///path/to/module/dir"]}. Typing this every time I want to run tidy could be pretty cumbersome. In this exact case it would make sense to always send the lsp's root directory in this format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
3 participants