how to use build all in the VSCode look like spring tool suits?

Peng Zhengan 20 Reputation points
2023-03-22T03:37:48.8666667+00:00

hello!

I want get some help about VSCode.

recently ,I use the VSCode to replace spring tool suits.

but I can not use build all in the java project.

when the java code be changed,if do not restart the local server , the changed code can not effected.

how to use build all in the VSCode?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,087 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 28,761 Reputation points Microsoft Vendor
    2023-03-22T06:35:44.62+00:00

    Hi @Peng Zhengan

    Welcome to Microsoft Q&A! 

    You are using Visual Studio Code, which is different from Visual Studio IDE. The tag “Microsoft Build” is related to Visual Studio, for more questions about Visual Studio Code, we suggest you post it to the Stack Overview tagged visual-studio-code forum or GitHub repository where you would get professional support for this product.

    Thanks for your understanding. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Peng Zhengan 20 Reputation points
    2023-04-14T03:03:26.17+00:00

    I was resolved this question by myself. you should dependence of [org.springframework.boot:spring-boot-devtools'] for vscode . when you start the local server, and change the java code. use [Hot Code Replace] can effected you change. Snipaste_2023-04-14_11-02-53

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.