Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

More flexible customizable templating

$
0
0

So a new zen coding like experience has been created called hayaku

 

 

http://hayakubundle.com/

 

It could sort of work with regex based live templates as noted here:

 

http://youtrack.jetbrains.com/issue/IDEA-29982

 

oh

o:h

ovhi

overfl:hidn

 

all create

 

overflow: hidden

 

and these are other examples

 

h10 -> height: 10px

ml-1.5 -> margin-left: 1.5em (switches to em by default since there can't be a point decimal value)

w50p -> width: 50%

cF -> color: #fff

bg80 -> background: #808080

 

But really it's about bringing in customizability into the IDE without having to build a java plugin. IntellijEval looks good but it isn't as deeply integrated as this though maybe it can be. Perhaps as a workaround, is there a way to trigger text processing for text to the left of the cursor without selecting the text and have that processing done via an external script? It isn't just that hayaku is nice, and that its fast, but that it can be triggered the way Zen is with a tab. It doesn't break the flow and the source of it is easily modifiable without going through a compile/build cycle.

 

Just airing some thoughts here.

 

Message was edited by: Michael Wills Clarifications to workar


Viewing all articles
Browse latest Browse all 5661

Trending Articles