Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I configure IDEA to automatically replace => with ⇒ and -> with →? [duplicate]

How can I configure IDEA to automatically replace => with and -> with ?

like image 712
missingfaktor Avatar asked Oct 05 '11 18:10

missingfaktor


People also ask

How do I enable auto suggestions in IntelliJ?

By default, IntelliJ IDEA displays the code completion popup automatically as you type. If automatic completion is disabled, press Ctrl+Shift+Space or choose Code | Code Completion | Type-Matching from the main menu. If necessary, press Ctrl+Shift+Space once again.

How do I duplicate a window in IntelliJ?

You can also do this by holding CTRL and dragging the tab to a new monitor (or any space outside the main window). It'll automatically duplicate the tab in a new window and leave the old tab in the same window. Also works for cloning tabs between two or more windows.


1 Answers

Take a look at this question and answer which makes use of IntelliJ's "Live Templates", in this case scalaz mappings in XML form saved as a file rather than entered from the GUI. This, I guess, is fine with scalaz as all the unicode aliased functions and methods are already present.

like image 167
Don Mackenzie Avatar answered Oct 26 '22 13:10

Don Mackenzie