+3

TextMate 2 style list box as a snippet placeholder

Tommi Tissari il y a 11 ans 0

In TextMate 2 you can make a snippet placeholder such as: 

${1|red,green,blue|} 

And when you land on that placeholder, a list box pops up which lists the specified entries: red, green and blue. Then you can select one of those entries using arrow up/down keys, and hit tab to select and move to the next placeholder.