Is there a way, to create a attribute/method parameter/local variable by type, with same name as type starting with lowercase letter?
Example:
Redi
[ctrl+space], and "RedirectAttributes
" type is proposed
[magic shortcut]
IDE inserts: RedirectAttributes redirectAttributes
If not, where should I start to implement such code completion plugin?
Press Ctrl+space
after the type is added.
PrintWriter -> Ctrl+space proposes printWriter
If a different shortcut is needed, then you would have to implement it. This link explains how to provide a custom keyboard shortcut.