How can I use the code to execute the "format" command #516
Unanswered
NightMingGit
asked this question in
Q&A
Replies: 3 comments
-
@NightMingGit do you mind sharing your code? Do you have a client that runs in the browser and successfully connects to the Java LSP? Do you see the "Format Document" when you right-click in the editor? Programmatically you can fire commands as such: vscode.commands.executeCommand('myCommand', // pass fitting arguments required for specific commands )
.then(() => {
// do what you need after invocation
}); |
Beta Was this translation helpful? Give feedback.
0 replies
-
Why did you open up a new issue when this question could just be added to the existing discussion? |
Beta Was this translation helpful? Give feedback.
0 replies
-
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.
-
How can I use the code to execute the "format" command
Beta Was this translation helpful? Give feedback.
All reactions