[2112]Extract method not work as expected in VB

i tried to extract a method in my VB code. In general extract method works, just the placing of the method call is not correct. Given the following code:

  <some code...>


  'This is a comment
  <code to refactor...>

the result is:

<some code...>
  MyRefactoredMethod()


'This is a comment

and should be

<some code...>


  'This is a comment
  MyRefactoredMethod()

Regards
Klaus

1 comment
Comment actions Permalink

Klaus, we think alike. Found the same a few days ago:

http://youtrack.jetbrains.net/issue/RSRP-232071

0

Please sign in to leave a comment.