mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
Merge branch 'master' of git.labs.intellij.net:idea/community
This commit is contained in:
@@ -139,7 +139,7 @@ public class AddAnnotationFix extends PsiElementBaseIntentionAction implements L
|
||||
final int position = caretModel.getOffset();
|
||||
element = file.findElementAt(position);
|
||||
}
|
||||
return isAvailable(project, editor, element);
|
||||
return element != null && isAvailable(project, editor, element);
|
||||
}
|
||||
|
||||
public void invoke(@NotNull final Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
|
||||
|
||||
@@ -919,6 +919,7 @@
|
||||
|
||||
<action id="Jdbc.OpenConsole"><keyboard-shortcut first-keystroke="control shift F10"/></action>
|
||||
<action id="Hibernate.OpenConsole"><keyboard-shortcut first-keystroke="control shift F10"/></action>
|
||||
<action id="Jpa.OpenConsole"><keyboard-shortcut first-keystroke="control shift F10"/></action>
|
||||
|
||||
<action id="Console.TableResult.PreviousPage"><keyboard-shortcut first-keystroke="control alt UP"/></action>
|
||||
<action id="Console.TableResult.NextPage"><keyboard-shortcut first-keystroke="control alt DOWN"/></action>
|
||||
@@ -941,6 +942,11 @@
|
||||
<action id="Console.Hibernate.Close"><keyboard-shortcut first-keystroke="control alt shift F4"/></action>
|
||||
<action id="Console.Hibernate.Terminate"><keyboard-shortcut first-keystroke="control alt shift DELETE"/></action>
|
||||
|
||||
<action id="Console.Jpa.Execute"><keyboard-shortcut first-keystroke="control ENTER"/></action>
|
||||
<action id="Console.Jpa.Properties"><keyboard-shortcut first-keystroke="alt ENTER"/></action>
|
||||
<action id="Console.Jpa.Close"><keyboard-shortcut first-keystroke="control alt shift F4"/></action>
|
||||
<action id="Console.Jpa.Terminate"><keyboard-shortcut first-keystroke="control alt shift DELETE"/></action>
|
||||
|
||||
<action id="Jdbc.RunSqlScript"><keyboard-shortcut first-keystroke="control shift F10"/></action>
|
||||
|
||||
<action id="Console.Execute"><keyboard-shortcut first-keystroke="ENTER"/></action>
|
||||
|
||||
@@ -34,7 +34,7 @@ public class UrlClassLoader extends ClassLoader {
|
||||
protected static final long NS_THRESHOLD = 10000000;
|
||||
|
||||
public UrlClassLoader(ClassLoader parent) {
|
||||
this(Arrays.asList(((URLClassLoader)parent).getURLs()), null, true, true);
|
||||
this(Arrays.asList(((URLClassLoader)parent).getURLs()), parent.getParent(), true, true);
|
||||
}
|
||||
|
||||
public UrlClassLoader(List<URL> urls, ClassLoader parent) {
|
||||
|
||||
Reference in New Issue
Block a user