PY-86123 Move inlay provider to a separate file, add tests and preview

GitOrigin-RevId: 8b5e353dd533824f532d608547eb64034fe82bf3
This commit is contained in:
Aleksandr.Govenko
2025-12-22 22:36:14 +00:00
committed by intellij-monorepo-bot
parent af0f19abb9
commit b51231f76a
5 changed files with 163 additions and 76 deletions
@@ -70,6 +70,14 @@
optionId="python.type.inlays.function.return"/>
</codeInsight.declarativeInlayProvider>
<codeInsight.declarativeInlayProvider group="TYPES_GROUP"
bundle="messages.PyPsiBundle"
implementationClass="com.jetbrains.python.inlayHints.PyPseudoKeywordPatternInlayHintsProvider"
isEnabledByDefault="true"
language="Python"
nameKey="INLAY.positional.args.patterns"
providerId="python.pseudo.keyword.pattern.inlays"/>
<codeInsight.inlayActionHandler implementationClass="com.jetbrains.python.inlayHints.PyPseudoKeywordPatternInlayActionHandler"
handlerId="py.pseudo.keyword.pattern"/>