Reputation: 1348
I would like to add code snippets for my robot framework project in PyCharm. I see from the PyCharm docs, the instructions for doing so are here: https://www.jetbrains.com/help/pycharm/2017.1/creating-and-applying-live-templates-code-snippets.html
However, I don't see an option for enabling this in *.robot files. Is this possible, if so how?
Upvotes: 0
Views: 354
Reputation: 386362
I think your only choice might be to have this work in "other" contexts. That means, for example, if you were to edit some other non-robot file that wasn't one of the predefined contexts (python, javascript, sql, etc), it would trigger there as well. In practice this probably won't be much of a problem, unless you edit many different types of "other" files.
Upvotes: 1