Minor renaming & tweaks.
This commit is contained in:
parent
680b811e22
commit
9b93ea05fc
@ -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.
|
||||
|
@ -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)
|
@ -40,7 +40,7 @@
|
||||
<lang.documentationProvider language="MC68000"
|
||||
implementationClass="de.platon42.intellij.plugins.m68k.documentation.M68kSymbolDefinitionDocumentationProvider"/>
|
||||
<lang.documentationProvider language="MC68000"
|
||||
implementationClass="de.platon42.intellij.plugins.m68k.documentation.M68kLabelDocumentationProvider"/>
|
||||
implementationClass="de.platon42.intellij.plugins.m68k.documentation.M68kLabelDefinitionDocumentationProvider"/>
|
||||
<lang.documentationProvider language="MC68000"
|
||||
implementationClass="de.platon42.intellij.plugins.m68k.documentation.M68kMacroDefinitionDocumentationProvider"/>
|
||||
<lang.documentationProvider language="MC68000"
|
||||
|
@ -8,7 +8,7 @@ import org.junit.jupiter.api.Test
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
|
||||
@ExtendWith(LightCodeInsightExtension::class)
|
||||
internal class M68KLabelDocumentationProviderTest : AbstractDocumentationProviderTest() {
|
||||
internal class M68kLabelDocumentationProviderTest : AbstractDocumentationProviderTest() {
|
||||
|
||||
@Test
|
||||
internal fun check_documentation_for_a_label_definition(@MyFixture myFixture: CodeInsightTestFixture) {
|
Loading…
Reference in New Issue
Block a user