KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm not sure how to phrase this in a search, however I was curious if there's a shortcut in eclipse to allow us to declare a variable type based on what's after the equal. For example: firstname = User.getFirstName(); The minute you press enter , it would add "String" to the beginning of the line so it becomes: String firstname = User.getFirstName(); Or even a shortcut key would suffice. There are times when a class name might be long, or something like: Iterator<Entry<String, String>> which is long enough that a shortcut or auto add would be handy. I'm not sure if this exists though. Thanks guys.
Tags (comma-separated)
Save Edits
Cancel