Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Join Lines in Eclipse

Tags:

eclipse

According to the release notes of Eclipse 3.3 you can now join lines together with CRTL-ALT-J. This doesn't work for me running Eclipse 3.5 on a Mac. Does it work for anyone else?

like image 993
Damo Avatar asked Apr 06 '10 06:04

Damo


1 Answers

For mac, there is no key binding assigned by default (I'm using Eclipse 3.5 for Mac). You can assign your own bind if you want eg: +Alt+J.

  1. Go to preferences (+,)
  2. Navigation to "General > Keys"
  3. In the filter bar, search for "join". Click on the command "Join Lines"
  4. Click in the "Binding" box and then type the keys you wish to bind to this action.
like image 193
ewalk Avatar answered Oct 03 '22 00:10

ewalk