Template for Extract Method

Is it possible to use a template to drive the Extract Method operation? For example, one might like to extract the selected code and prepend logging (e.g., call entry) in the body of the newly created method.

If this is not currently possible, I'd sure like the feature. I have practiced TDD for a long time...so I'm constantly refactoring.

BTW, R# is the bomb!

1 comment
Avatar
Andrey Serebryansky
Comment actions Permalink

Hello Rjae,

Thank you for feedback! It's not possible at the moment, but I've logged
a feature request: http://youtrack.jetbrains.net/issue/RSRP-187243 and you're
welcome to vote for it.

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Is it possible to use a template to drive the Extract Method
operation? For example, one might like to extract the selected code
and prepend logging (e.g., call entry) in the body of the newly
created method.

If this is not currently possible, I'd sure like the feature. I have
practiced TDD for a long time...so I'm constantly refactoring.

BTW, R# is the bomb!

---
Original message URL:
http://devnet.jetbrains.net/message/5268906#5268906



0

Please sign in to leave a comment.