I thought scopes would work and they do to a point like for Find Usages. Other actions like ctrl-click (Choose Declaration) and ctrl-shift-n (Go to file) use the entire project and not the current scope.
How can I tell WebStorm that I want to work with App A and easily switch to App B or App C? Settings > Directories would work but time consuming as we have a complicated file structure (including generated minified testing and production files).
IDE really considers all your code as part of the same project.
Can you just create 3 separate projects and a fourth one for the library and switch between them (or have multiple windows open at the same time)?
So I have created a project called web-project-app-a and configured it's folders as Resource Roots. It appears I also have to Exclude all the other folders even though they aren't defined as Resource Roots? Otherwise they show up under ctrl-shift-n etc.
When done, is there a way to clone the web-project-app-a to web-project-app-b and just tweak the folders or do I need to start from scratch?
Yes -- you cannot have it done in straightworward way. The reason -- project settinsg are stored in .idea subfolder -- that's how IDE recognizes the projects. There is a workaround (playing manually with Content Roots and locations) -- create project anywhere else (that's where project settings will be stored), then "Settings | Directories", detach current Content Root and attach new one (desired folder) instead (via "Add Content Root" button).
This is getting me closer to what I want but the downside is it no longer detects my Subversion source control. When my project and content root was at the top-level it automatically detected Subversion. Any ideas?
Figured it out by changing Settings > Version Control and deleting default entry and adding my top-level project.
Several of us our evaluation WebStorm for Sencha Ext JS and Touch development and so far it's great!