Add Configuration Flag for Restart Apex Language Server --> Clean Apex DB and Restart
#6266
Closed
zwhip-stripe
started this conversation in
Ideas
Replies: 3 comments
-
|
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming session. We prioritize feature requests with more upvotes and comments. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This issue has been linked to a new work item: W-18497015 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@zwhip-stripe The feature you requested has been delivered in version 63.15.1. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
I consistently have to regenerate the
apex.dbwhenever switching between different git feature branches in an SF project. Otherwise the LSP/jorje-jar is in an erroneous state, and cannot use the replay debugger or other LSP features ( I confirm this by seeing a stacktrace in the output view for the Apex Language Server ).Describe the solution you'd like
The current
restart apex language servercommand is great, I no longer have to do this manually via "delete apex.db and reload vscode window". The new command requires 2 inputs though, as we are given the choice between "clean apex db and restart" vs. "restart".I rarely ever need "restart", so I would like to have a configuration/flag for this extension to always clean the DB and restart, to save some time. With this set to "true", the
Restart Apex Language Serverwill only take 1 enter/input from the user to clean the apex.db and restart the server.Describe alternatives you've considered
I actually started coding my own extension before realizing this functionality already was packaged in the SF vscode extensions. But there is a small lag/wait between the "Restart Apex Server" and the two options (clean & restart vs. restart).
Additional context
Would be happy to provide a PR if that is allowed/this idea is supported.
Beta Was this translation helpful? Give feedback.
All reactions