Using projectService in WebStorm when multiple projects are attached

Answered

I have a projectService that implements PersistentStateComponent for saving project level information.

Since WebStorm 2019.2, it's now possible to have multiple projects opened in the same WebStorm window.

I would like to get the Project objects of the projects and feed this to the projectService so I can access/update the project level information.

Is this possible?

0
1 comment

Multiple Projects in WebStorm actually map to Modules, not distinct Project instances. See com.intellij.openapi.module.ModuleManager#getModules

0

Please sign in to leave a comment.