Files
openide/python/IntelliLang-python/resources/META-INF/intellilang-python-support.xml
Mikhail Golubev 1121d314bb PY-21493 PY-23270 Python IntelliLang injectors are aware of f-strings
and considered before the dedicated injector for f-strings takes place.
Also, PyInjectionUtil.registerStringLiteralInjection now takes care of
f-string injections itself.
2018-07-16 22:38:21 +03:00

14 lines
846 B
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<idea-plugin>
<extensions defaultExtensionNs="org.intellij.intelliLang">
<languageSupport implementation="com.jetbrains.python.intelliLang.PyLanguageInjectionSupport"/>
<injectionConfig config="resources/pyInjections.xml"/>
</extensions>
<extensions defaultExtensionNs="com.intellij">
<patterns.patternClass className="com.jetbrains.python.patterns.PythonPatterns" alias="py"/>
<!-- These must be registered before PyFStringsInjector, otherwise it won't allow to inject anything else inside f-strings -->
<multiHostInjector implementation="com.jetbrains.python.intelliLang.PyConfigurationInjector" order="before f-strings"/>
<multiHostInjector implementation="com.jetbrains.python.intelliLang.PyTemporaryInjector" order="before f-strings"/>
</extensions>
</idea-plugin>