Filtering Run/Debug Configuration based on Scope/Project

Are there plans for filtering Run/Debug Configurations by Scope or current active Project?

Background:

We have multiple Projects based on a common used Core-Codebase. We manage it in a single mono-repository, so it's easy to work with one PHPStorm Window and multiple Directory Content Roots (one for the "base" stuff, and one for every single web-project).

We tried to attach multiple Projects in one PHPStorm Window but it has no Advantages over the content-root approach.

 

What we want to see is some kind of "automatically" filtering run/debug configurations, depending on the current project (also if we have multiple projects attached in one window). But it seems, that run-debug configurations came only from the "main" project, also on the multi-project window)

Such like this:

Main Project is "Core"

Attached is "Web Project A", "Web Project B".

When I work in a Editor Tab, which is part of Project B, I want to see only run debug configurations which were defined for Project B (like "show Homepage of Project B, Unit-tests for Project B" etc..

If I switch the Editor Tab to a Project A related file, the dropdown should change contents to Project-A specific Configurations... and so on...

Alternatively I could imagine to create "Scopes" and make run debug configurations related to scopes like "whole project, project A Scope" etc..

0

You can workaround this by creating folders for run configurations:

0

请先登录再写评论。