use Live templates like emmet works
using emmet in html, I can type .forexampleclassname and I get: <div class="forexampleclassname"></div>
is it possible to create Live template like that?
for example when I type: ..mycustomtext and hit TAB, I want to get: console.log('mycustomtext');
I tried something like this :)

请先登录再写评论。
This is what the postfix templates can be used for; actually we have a predefined template for
console.log: just entermycustomtext.logand hitTab- it will be transformed toconsole.log(mycustomtext);. But you can define your own templates in Settings | Editor | General | Postfix Completion