New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Language Injection #2
Comments
I wrote regex for this Begin: (Builder\.load_string\(|kv = )(\s*['"]{3}|[\s ^\n\r]*['"]) End: (['"]{3}|['"])(\s*\)|) Matches: Builder.load_string("""
BoxLayout:
Widget:
""") Builder.load_string(
"""
BoxLayout:
Widget:
"""
) kv = """
BoxLayout:
Widget:
""" |
@noembryo I didn't figure out how to use Language Injection Settings. That regex is just to help you |
Well, almost totally bad news.. :o( One little thing that I did though, was to use YAML for the injection. ... and you have some kind of injection that is not much, but better then nothing... |
Closing this for now, and waiting for the official JetBrains support... |
Hi! I like your settings file.
Unfortunately, I often write kv-code inside python.
I found feature in PyCharm to make Language injections. (Settings > Editor > Language Injections) but I could not figure out how to use it.
Maybe you can add this setting to your settings file?
The text was updated successfully, but these errors were encountered: