简体   繁体   中英

How can I configure Intellij to custom code generation location?

By default, Intellij generates code in the location by nearest.

For example, when generating getter method, it makes the getter method nearby the caret.

It's not convenient.

So, if I want to generate the getter method at the bottom of current file, how can I customize the location?

IDEA 12 will support it out of the box, it will bundle the Rearranger plug-in which we rewrote from the ground up.

Not sure if the old plug-in for IDEA 11 supports it, but you can give it a try.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM