diff --git a/README.md b/README.md index 14d4e1b..6302f4b 100644 --- a/README.md +++ b/README.md @@ -92,9 +92,9 @@ Provides the assigned value of a `=`, `set` or `equ` symbol definition when hove #### M68kMacroDefinition -When used over a macro invocation, shows the expanded macro contents. +When used over a macro invocation, shows the expanded macro contents (only the \1 to \9 and \a to \z are expanded according to the parameters used). -#### M68kLabel +#### M68kLabelDefinition Shows the comments above the label (local or global) and an end-of-line comment, if available. If the first statement after the label is a directive like `include` or `dc.b`, it will be shown, too. diff --git a/src/main/java/de/platon42/intellij/plugins/m68k/documentation/M68kLabelDocumentationProvider.kt b/src/main/java/de/platon42/intellij/plugins/m68k/documentation/M68kLabelDefinitionDocumentationProvider.kt similarity index 95% rename from src/main/java/de/platon42/intellij/plugins/m68k/documentation/M68kLabelDocumentationProvider.kt rename to src/main/java/de/platon42/intellij/plugins/m68k/documentation/M68kLabelDefinitionDocumentationProvider.kt index 384c6ed..af6e90f 100644 --- a/src/main/java/de/platon42/intellij/plugins/m68k/documentation/M68kLabelDocumentationProvider.kt +++ b/src/main/java/de/platon42/intellij/plugins/m68k/documentation/M68kLabelDefinitionDocumentationProvider.kt @@ -8,7 +8,7 @@ import de.platon42.intellij.plugins.m68k.psi.M68kLocalLabel import de.platon42.intellij.plugins.m68k.psi.M68kNamedElement import de.platon42.intellij.plugins.m68k.psi.M68kStatement -class M68kLabelDocumentationProvider : AbstractM68kDocumentationProvider() { +class M68kLabelDefinitionDocumentationProvider : AbstractM68kDocumentationProvider() { override fun getQuickNavigateInfo(element: PsiElement, originalElement: PsiElement?): String? { return generateDoc(element, originalElement) diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 0255fbe..f63b278 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -40,7 +40,7 @@ + implementationClass="de.platon42.intellij.plugins.m68k.documentation.M68kLabelDefinitionDocumentationProvider"/>