mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
mark method nav offset provider as dynamic
GitOrigin-RevId: f22e67882277e25ec0cf4d270600f2fb1cabcd4c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d752b30121
commit
321465f239
@@ -22,8 +22,8 @@ public class MethodUpDownUtil {
|
||||
}
|
||||
|
||||
public static int[] getNavigationOffsets(PsiFile file, final int caretOffset) {
|
||||
for(MethodNavigationOffsetProvider provider: MethodNavigationOffsetProvider.EP_NAME.getExtensionList()) {
|
||||
final int[] offsets = provider.getMethodNavigationOffsets(file, caretOffset);
|
||||
for (MethodNavigationOffsetProvider provider : MethodNavigationOffsetProvider.EP_NAME.getExtensionList()) {
|
||||
int[] offsets = provider.getMethodNavigationOffsets(file, caretOffset);
|
||||
if (offsets != null && offsets.length > 0) {
|
||||
return offsets;
|
||||
}
|
||||
|
||||
@@ -479,7 +479,7 @@
|
||||
|
||||
<extensionPoint name="framework.detector" interface="com.intellij.framework.detection.FrameworkDetector"/>
|
||||
|
||||
<extensionPoint name="methodNavigationOffsetProvider" interface="com.intellij.codeInsight.navigation.MethodNavigationOffsetProvider"/>
|
||||
<extensionPoint name="methodNavigationOffsetProvider" interface="com.intellij.codeInsight.navigation.MethodNavigationOffsetProvider" dynamic="true"/>
|
||||
|
||||
<extensionPoint name="filePasteProvider" interface="com.intellij.ide.PasteProvider" dynamic="true"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user