Using projectService in WebStorm when multiple projects are attached

已回答

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

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

0

请先登录再写评论。