When I work with certain types of files, such as: Java file, HTML file or Jasmine Test file I can generate some useful code snippets using Code > Generate
option, for example:
- if I am working with Java file
Code > Generate
allows me to insert getter, setter, constructor etc - if I am working with HTML file
Code > Generate
allows me to insert an XML tag - if I am working with Jasmine Text file
Code > Generate
allows me to insert a scaffolding of a test suit or a singe test case
I was wondering if (and how) I can add my own 'generator'. I know I can use Live Templates, but I like the fact that Code > Generate
gives me a quick list of all available generators.