Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse getter/setter shortcut key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse getter/setter shortcut key" Watch "Eclipse getter/setter shortcut key" New topic
Author

Eclipse getter/setter shortcut key

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302
    
    6

Is there a shortcut key to bring up the generate getters/setters dialog for a class in Eclipse? I can't seem to find it and I miss my Intellij's ALT-INSERT.


GenRocket - Experts at Building Test Data
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
Not by default, but you can customise all the keyboard shortcuts to your heart's content.

Edit: look at window->preferences->general->keys
[ June 21, 2006: Message edited by: Jeroen T Wenting ]

42
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302
    
    6

Originally posted by Jeroen T Wenting:
Not by default, but you can customise all the keyboard shortcuts to your heart's content.

Edit: look at window->preferences->general->keys

[ June 21, 2006: Message edited by: Jeroen T Wenting ]


Ahh, ok. Did that. Took me a bit to figure it out. But all is good now. CTRL-SHIFT-G brings up my dialog.

Thanks.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16542
    
  25

ALT+S, R is the builtin shortcut, for what it's worth.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Eclipse getter/setter shortcut key