mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[yaml] IJPL-64341 IJ-CR-147338 Introduce extension to collect known yaml tags corresponding to different technologies built on top of yaml language
(cherry picked from commit f747f667d17473fedcfe02452f4d70b218a0bf00) GitOrigin-RevId: 34089fc0a4b7cafc94b3f55912d6843747884b0b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
29bb5c47e5
commit
9136f0f7d5
@@ -0,0 +1,13 @@
|
||||
package org.jetbrains.yaml.psi
|
||||
|
||||
import com.intellij.openapi.extensions.ExtensionPointName
|
||||
import com.intellij.openapi.util.NlsSafe
|
||||
|
||||
interface YamlTagRecogniser {
|
||||
companion object {
|
||||
@JvmField
|
||||
val EP_NAME = ExtensionPointName.create<YamlTagRecogniser>("com.intellij.yaml.tagRecogniser")
|
||||
}
|
||||
|
||||
fun isRecognizedTag(tagText: @NlsSafe String): Boolean
|
||||
}
|
||||
@@ -174,6 +174,9 @@
|
||||
</extensions>
|
||||
|
||||
<extensionPoints>
|
||||
<extensionPoint qualifiedName="com.intellij.yaml.tagRecogniser"
|
||||
interface="org.jetbrains.yaml.psi.YamlTagRecogniser"
|
||||
dynamic="true"/>
|
||||
<extensionPoint qualifiedName="com.intellij.yaml.customStructureViewFactory"
|
||||
interface="org.jetbrains.yaml.structureView.YAMLCustomStructureViewFactory"
|
||||
dynamic="true">
|
||||
|
||||
Reference in New Issue
Block a user