mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't use GetChildrenHack for Node RCs
This commit is contained in:
+5
-1
@@ -123,7 +123,11 @@ public abstract class XValueContainerNode<ValueContainer extends XValueContainer
|
||||
}
|
||||
|
||||
RunProfile runProfile = LangDataKeys.RUN_PROFILE.getData(DataManager.getInstance().getDataContext(tree));
|
||||
return !(runProfile instanceof RunConfiguration && ((RunConfiguration)runProfile).getType().getDisplayName().startsWith("JavaScript"));
|
||||
if (runProfile instanceof RunConfiguration) {
|
||||
String id = ((RunConfiguration)runProfile).getType().getId();
|
||||
return !(id.startsWith("Javascript") || id.startsWith("Node"));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user