Skip to Content

Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

This question has been flagged
1 Reply
33 Views

I want to add more Live templates to use in Pycharm that will also be saved to the IS templates repository. How can I do this?

Avatar
Discard
Author Best Answer

In Pycharm go to File->Settings->Editor->Live Templates 

Inside of a group, such as Odoo or Odoo XML you can add a new template with the green + on the right.

In template text you can create variables using $variable$ to which you can define default values and such with the edit variables button. The cursor will jump between these variables when generating the template.

Use $END$ to specify where the cursor will land once all variables have been written or skipped when implementing the template.

Avatar
Discard
Related Posts Replies Views Activity
1
Aug 16
55
1
Jun 16
37
1
May 16
35
1
Jul 16
37
1
May 16
51