Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top