register PythonCommenter in the module where it's defined (python.psi.impl)

GitOrigin-RevId: b6c84e51058da5a78b9ae8270b682006b98e1950
This commit is contained in:
Petr Golubev
2022-11-03 11:48:28 +01:00
committed by intellij-monorepo-bot
parent 18de827d20
commit b461792bc2
2 changed files with 2 additions and 1 deletions

View File

@@ -59,6 +59,8 @@
implementationClass="com.jetbrains.python.formatter.PyWhiteSpaceFormattingStrategy"/>
<lang.lineWrapStrategy language="Python" implementationClass="com.jetbrains.python.formatter.PyLineWrapPositionStrategy"/>
<lang.commenter language="Python" implementationClass="com.jetbrains.python.PythonCommenter"/>
<!-- PyFunctionTypeAnnotation -->
<lang.parserDefinition language="PyFunctionTypeComment"
implementationClass="com.jetbrains.python.codeInsight.functionTypeComments.PyFunctionTypeAnnotationParserDefinition"/>

View File

@@ -43,7 +43,6 @@
<editorHighlighterProvider filetype="Python" implementationClass="com.jetbrains.python.PyEditorHighlighterProvider"/>
<lang.syntaxHighlighterFactory language="Python" implementationClass="com.jetbrains.python.highlighting.PySyntaxHighlighterFactory"/>
<lang.braceMatcher language="Python" implementationClass="com.jetbrains.python.PyBraceMatcher"/>
<lang.commenter language="Python" implementationClass="com.jetbrains.python.PythonCommenter"/>
<lang.foldingBuilder language="Python" implementationClass="com.jetbrains.python.PythonFoldingBuilder"/>
<lang.findUsagesProvider language="Python" implementationClass="com.jetbrains.python.findUsages.PythonFindUsagesProvider"/>
<lang.namesValidator language="Python" implementationClass="com.jetbrains.python.refactoring.rename.PythonNamesValidator"/>