This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Add a "Rome: Restart LSP Server" command #3524
Labels
E-VScode
Editors: VSCode
enhancement
New feature request or improvement to existing functionality
good first issue
Good for newcomers
task
A task, an action that needs to be performed
Discussed in #3202
Originally posted by lgarron September 10, 2022
Environment information
What happened?
While adopting Rome for an existing codebase, I regularly need to edit
rome.json
and work with the revisited changes. There is currently no way to restart the LSP from the command palette other than the very heavy-handed "Reload Window" command. This has several undesirable side effects, such as losing recent file edit (undo) history.Expected result
It would be nice to have a "Restart LSP Server" command, similar to other LSP extensions.
Automatically updating the LSP config when
rome.json
changes (#3195) would go a significant way towards many of the use cases for a "Restart LSP Server" command.But there are some cases where it's useful to restart the LSP server even when
rome.json
hasn't changed, such as when you are re-compiling the LSP binary in-place (e.g. because you're recompiling it from scratch during developement/debugging of Rome itself).Code of Conduct
Related Discussion: https://discord.com/channels/678763474494423051/940194723870683166/1035478240019615795
The text was updated successfully, but these errors were encountered: