Refactoring default visibility

Answered

Is it possible to change the default visibility when using the refactoring tools? I find that 99% of the time when I use the 'Extract [Method/Field/etc]' I am doing so to make things easier to unit test. If I could default those tools to internal instead of private that would be super convenient.

0
1 comment

Hi,

Unfortunately, at this time, we do not have such an option.

I have created a corresponding record on our bug tracker: https://youtrack.jetbrains.com/issue/RSRP-478941. Please upvote it to raise its priority and to monitor the progress of the issue.

 

Kind regards,

Sofia.

0

Please sign in to leave a comment.