Variable names in Automatically Generated code
When IntelliJ creates/inserts mouse methods, it names the MouseEvent as 'e'
For example,
public void mouseMoved(MouseEvent e)
Is there some way to change this?
For example to 'mouseEvent'
Thanks,
Ted
请先登录再写评论。
If you're talking about overriding/implementing MouseListener methods, IDEA
is probably taking the parameter name from the parent class. (That is, they're
probably defined as "MouseEvent e" in MouseListener.) I don't think there's
a way to change it.