Getting the compilation status from a vscode extension #2094
Answered
by
germainaubert
germainaubert
asked this question in
Q&A
-
Hello ! I'm working on a vscode extension in which I have to get the compilation status of some java code written in vscode. I have been looking over the vscode-java extension interface but couldn't find any function that might help me. Is there a way to get such an information from the vscode-java extension? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
germainaubert
Sep 8, 2021
Replies: 1 comment 2 replies
-
Update: I found the solution. All I had to do is add the vscode-java extension in the extension dependencies (package.json). |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
rgrunber
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update: I found the solution.
All I had to do is add the vscode-java extension in the extension dependencies (package.json).
Then I was able to call the compile command using
vscode.commands.executeCommand
.