live_templates examples not working in PyCharm
Hi All,
I downloaded the live_templates examples, build it via "gradlew build", then loaded the live_templates-2.0.0.zip file in my PyCharm. Sofar it looks OK.
Now when I'm trying to use the TitleCaseMacro, nothing happens. I'm test it as follows:
- created a markdown file (.md)
- typed some text
- selected the text
- invoke the live templates.
It then shows "No surround templates defined in this context"
Running PyCharm 2021.2.3
I hope someone can give me some pointers. Many thanks!
Please sign in to leave a comment.
Hi,
Do you see the newly added live templates in "Preferences | Editor | Live Templates" ?
Could you please give a link to the instructions you followed to add the templates from the zip file?
Hi,
When I run:
I see do that folder. But, when iI install the zip in PyCharm it does not. However the plugin is installed (according to the checkbox), also didn't gave any error message.
I suspect maybe the plugin needs to be signed? I actually just want to build a simple plugin -private use- that I can use to make live a bit easier for one of my projects. No need to publish anything.
To build the plugin I did the following:
Ah, so this is a custom plugin. If it's a third-party plugin, I'd recommend contacting the developer.
If this is your plugin, you can ask the question at the forum dedicated to plugin development: https://intellij-support.jetbrains.com/hc/en-us/community/topics/200366979-IntelliJ-IDEA-Open-API-and-Plugin-Development