mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
suggest to create groovy run configuration for classes when there are @Grab annotations in the file
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ public class ApplicationConfigurationProducer extends JavaRuntimeConfigurationPr
|
||||
return myPsiElement;
|
||||
}
|
||||
|
||||
protected RunnerAndConfigurationSettings createConfigurationByElement(Location location, final ConfigurationContext context) {
|
||||
public RunnerAndConfigurationSettings createConfigurationByElement(Location location, final ConfigurationContext context) {
|
||||
location = JavaExecutionUtil.stepIntoSingleClass(location);
|
||||
if (location == null) return null;
|
||||
final PsiElement element = location.getPsiElement();
|
||||
|
||||
Reference in New Issue
Block a user