[quickdoc] Implemented syntax highlighting for Kotlin quick doc hints
authorAlexander Bashkirov <alexander.bashkirov@jetbrains.com>
Sun, 26 Sep 2021 16:49:44 +0000 (19:49 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Sun, 26 Sep 2021 17:49:30 +0000 (17:49 +0000)
commit60e704b75904e8bf7d112d73766ec5caba5e8a6b
tree1a5881ddd31fbec377ff9765436aca1fd573b55d
parente8ad4658593e60199e990d623f3f25eb19a5a751
[quickdoc] Implemented syntax highlighting for Kotlin quick doc hints

GitOrigin-RevId: dc6771bea7937604ea20cea19ebd194fa2aa2ffe
75 files changed:
plugins/kotlin/fir/src/org/jetbrains/kotlin/idea/fir/highlighter/visitors/DeclarationHighlightingVisitor.kt
plugins/kotlin/fir/src/org/jetbrains/kotlin/idea/fir/highlighter/visitors/TypeHighlightingVisitor.kt
plugins/kotlin/fir/src/org/jetbrains/kotlin/idea/fir/highlighter/visitors/VariableReferenceHighlightingVisitor.kt
plugins/kotlin/frontend-independent/src/org/jetbrains/kotlin/idea/highlighter/HighlightingUtils.kt [moved from plugins/kotlin/fir/src/org/jetbrains/kotlin/idea/fir/highlighter/HighlightingUtils.kt with 67% similarity]
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/KotlinDocumentationProvider.kt
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/codeInsight/hints/KotlinCallChainHintsProvider.kt
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/kdoc/KDocRenderer.kt
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/parameterInfo/HintsDescriptorRendererOptions.kt
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/parameterInfo/HintsTypeRenderer.kt
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/parameterInfo/KotlinIdeDescriptorOptions.kt [new file with mode: 0644]
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/parameterInfo/KotlinIdeDescriptorRenderer.kt [new file with mode: 0644]
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/parameterInfo/KotlinIdeDescriptorRendererHighlightingManager.kt [new file with mode: 0644]
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/parameterInfo/LambdaImpicitHints.kt
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/parameterInfo/TypeHints.kt
plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/editor/quickDoc/JavadocNavigationTest.kt
plugins/kotlin/idea/tests/testData/codeInsight/renderingKDoc/difficultKDoc.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/AnonymousObjectLocalVariable.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/AtConstantWithUnderscore.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/AtFunctionParameter.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/AtImplicitLambdaParametEnd.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/AtImplicitLambdaParameter.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/AtLocalFunction.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/AtTypeParameter.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/AtVariableDeclaration.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/ConstructorVarParameter.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/DeprecationWithReplaceInfo.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/EscapeHtmlInsideCodeBlocks.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/ExtensionReceiver.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/ExtensionReceiverEnd.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/Formatting.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/IndentedCodeBlock.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaClassConstructorUsedInKotlin.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaClassUsedInKotlin.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaDocFromOverridenClass.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaDocFromOverridenInterface.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaMethodUsedInKotlin.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/JavaMethodUsedInKotlinInParen.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/KotlinClassUsedFromJava.java
plugins/kotlin/idea/tests/testData/editor/quickDoc/KotlinPackageClassUsedFromJava.java
plugins/kotlin/idea/tests/testData/editor/quickDoc/LateinitName.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/MethodFromStdLib.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnClassDeclarationWithNoPackage.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEmptySecondaryConstructor.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumClassReference.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumDeclaration.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumEntry.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumEntryUsage.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumUsage.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumValueOfFunction.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnEnumValuesFunction.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnFunctionDeclarationWithGFMTable.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnFunctionDeclarationWithPackage.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnInheritedMethodUsage.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnInheritedPropertyUsage.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsage.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageInParen.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageMultiline.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithBracketsInParam.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithCodeBlock.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithMarkdown.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithMultilineParam.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReceiver.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReturnAndLink.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithReturnAndThrows.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithSee.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/OnMethodUsageWithTypeParameter.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/Samples.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/TailrecName.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/TopLevelMethodFromJava.java
plugins/kotlin/idea/tests/testData/editor/quickDoc/TypeNamesFromStdLibNavigation.kt
plugins/kotlin/idea/tests/testData/editor/quickDoc/renderAnnotatedExtensionFunctionType.kt
plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/fqName/code/usage.kt
plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/simple/code/usage.kt
plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/typeParameters/code/usageNestedTypeParameters.kt
plugins/kotlin/idea/tests/testData/kdoc/multiModuleResolve/typeParameters/code/usageSingleTypeParameter.kt