public class JavadocNavigationDelegate extends EditorNavigationDelegateAdapter
EditorNavigationDelegate.Result
EP_NAME
Constructor and Description |
---|
JavadocNavigationDelegate() |
Modifier and Type | Method and Description |
---|---|
EditorNavigationDelegate.Result |
navigateToLineEnd(Editor editor,
DataContext dataContext)
Improves navigation in case of incomplete javadoc parameter descriptions.
|
static EditorNavigationDelegate.Result |
navigateToLineEnd(Editor editor,
PsiFile psiFile) |
public EditorNavigationDelegate.Result navigateToLineEnd(Editor editor, DataContext dataContext)
/** * @param i[caret] * @param secondArgument */ abstract void test(int i, int secondArgument);We expect the caret to be placed in position of parameter description start then (code style is condifured to align parameter descriptions):
/** * @param i [caret] * @param secondArgument */ abstract void test(int i, int secondArgument);or this one for non-aligned descriptions:
/** * @param i [caret] * @param secondArgument */ abstract void test(int i, int secondArgument);
navigateToLineEnd
in interface EditorNavigationDelegate
navigateToLineEnd
in class EditorNavigationDelegateAdapter
editor
- current editorpublic static EditorNavigationDelegate.Result navigateToLineEnd(Editor editor, PsiFile psiFile)