vscode-tomcat icon indicating copy to clipboard operation
vscode-tomcat copied to clipboard

Allow Tomcat JVM Options / Deploy Status to sync across vscode projects

Open JustAnotherSoftwareDeveloper opened this issue 6 years ago • 2 comments

  • VSCode Version:
  • OS Version:
  • Tomcat Extension Version:

Steps to Reproduce:

  1. Launch a Project using vscode tomcat
  2. Go to a different project that uses vscode tomcat

This is a doozy

The tomcat menus do not reflect status/changes, even once the window is reloaded. This is an issue as the underlying tomcat application is the same (assuming same tomcat folder), regardless of instance.

At the very least I think the deploy status should be reflected across projects.

If I had a wishlist, I would prefer a system similar to netbeans:

  • JVM options are global per tomcat instance
  • In any project, you'd be able to view the deployed applications
  • In the tomcat submenu, you'd be able to undeploy or stop instances of any single application.

Let me know what you think. This is a pretty big feature request

@JustAnotherSoftwareDeveloper Agree it is a feature request.

We currently preserve the servers.json file in vscode extension workspace to not interrupt users and mark all tomcat servers information. VSCode create each instance of extension a different folder and remove them safely after use. If we would share the servers information across projects, we could consider preserve the servers information in a global location and initialize it during the launch of tomcat extension. Wanna give it a try?

SummerSun avatar Jul 06 '18 02:07 SummerSun

I'd be happy to give it a try, but I think I would like to focus on issue #218 first if that's something that you'd want to move forward with.