intellij-community
intellij-community copied to clipboard
[python] Add pyAssignedTo element pattern for language injection rules
Ability to check for specific property and attribute assignments in language injection rules.
Here is a screenshot showing what I want to achieve. Why should language injections only be possible in method arguments? If you assign a string literal to a specific property or attribute it should be possible to inject a language as well.