There is no option to create a new dynamic web project in vs code like eclipse. Is there is a way to do it like templates?
I tried to figure out but none helps
First you need to install the Community Server Connectors extension.
Then Ctrl+Shift+P --> Servers: Add Local Servers....
In the pop-up explorer window, select the decompressed tomcat root directory (that is, the value of the system environment variable CATALINA_HOME).
Confirm that the information is correct and click Finish.
Select the generated war package, right-click and select Run on Server.
In the SERVERS view, right-click on the tomcat service and select Server Actions... --> Show in browser... --> http://localhost:8080/demo/.
The browser will open and display the project page.