Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse and key maps similar to Idea

 
Eugene Mister
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i've been using Idea and fond of it's key maps:
Ctrl-D to duplicate the current or selected line(s)
Ctrl-x to delete and copy to buffer the deleted line
etc...

how can i do so in Eclipse and how can i assign such actions to the combination of keys?
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
by default, CTRL-D deletes the current line. to change any keystrokes go to Window->Preferences->General->Keys-> find CTRL-D and click EDIT. Remove "delete" from the list. Find "duplicate lines" in the dropdown list of actions. Click Add and then Apply
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic