views:

116

answers:

1

Many of the methods in scalaz have symbolic unicode equivalents, such as forever and (of course, I have this the wrong way round, the symbolic methods really have ASCII equivalents).

The project contains a live templates XML file for IDEA so these can be auto-completed, I believe by using the forever+TAB shortcut (in the above instance).

I can't figure out how to import this live template into IDEA and actually use it, though. How can I do that?

+8  A: 

Live Templates XML file should be placed under IDEA configuration directory, templates subdirectory.

IDEA configuration folder location would depend on your platform:

  • Windows: USERPROFILE\.IntelliJIdeaXX\config
  • Linux: ~/.IntelliJIdeaXX/config
  • Mac OS X: ~/Library/Preferences/IntelliJIdeaXX

Where XX is IDEA version (90 for IDEA 9.x).

Make sure to close IDEA before copying the XML into the templates directory.

CrazyCoder
Worth saying as well that one needs to check the encoding of the source files is UTF-8 to get this to work.
oxbow_lakes

related questions