szensk / sublmoon

Sublime + Moonscript configuration.
7 stars 4 forks source link

Smarter string interpolation #4

Open spacekookie opened 7 years ago

spacekookie commented 7 years ago

Something that sublime text does with ruby when it comes to string interpolation is pretty amazing.

When you type a # symbol inside of a "..." block, it will automagically insert the{...} symbols and put your pointer between them so that when you type # in a string, you can immediately go and type the variable you want to print and move on.

Would be awesome to see that in moonscript as well, especially because the syntax is the same

szensk commented 7 years ago

You should try leafo's tmbundle. https://github.com/leafo/moonscript-tmbundle

I haven't touched this package in years.