mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 06:51:17 +07:00
Enable TestScope-specific color in WebStorm and PhpStorm
This commit is contained in:
@@ -57,7 +57,8 @@ public class FileColorsModel implements Cloneable {
|
||||
static {
|
||||
predefinedScopeNameToPropertyKey = new THashMap<String, String>();
|
||||
predefinedScopeNameToPropertyKey.put(NonProjectFilesScope.NAME, "file.colors.enable.non.project");
|
||||
if (PlatformUtils.isIntelliJ() || PlatformUtils.isRubyMine()) {
|
||||
// These IDEs have TestScope registered (via PackagesScopesProvider or TestScopeProvider)
|
||||
if (PlatformUtils.isIntelliJ() || PlatformUtils.isRubyMine() || PlatformUtils.isPhpStorm() || PlatformUtils.isWebStorm()) {
|
||||
predefinedScopeNameToPropertyKey.put(TestsScope.NAME, "file.colors.enable.tests");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user