This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 17011
    
  26

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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Eclipse getter/setter shortcut key
 
It's not a secret anymore!