Let's discuss Jentos IDE in this single thread.
So I post question from private mail here:
Ability to declare custom @snippets?
Is there such a feature and if so, how do I do that? I want to make some snippets to make writing code for my custom framework I'm building on top of Mojo and Cerberus easier.
Yes, we can use code templetes in Jentos.
How to use:
* create file
templates.txt in Jentos root dir;
* fill it with templates in this format: <name>code is here</name> (like html tags)
* restart IDE
* type [name] in IDE and press Tab - it shoulf replace template's name with template's body.
Don't know when I lose file with templates in binary releases.
Example of templates.txt:
<l>Local </l>
<f>Field </f>
<g>Global </g>
<fu>Function </fu>
<m>Method </m>
<p>Print "%cursor%"</p>
<for>For Local k:Int = 0 Until %cursor%
Next</for>
When you typed `fu` and pressed Tab you'll get `Function ` instead.
Note: there is a special word
%cursor% to move cursor in that place.
Have a good coding.
