Code Cleanup do not work as expected

I just installed build 2110 into Visual Studio 2008. I'm working on a VB solution and tried to cleanup a class file. I've defined a profile for VB in the code cleanup options where i checked all three VB options. Two things happened: First there is a mix between leading tabs and leading spaces. This is an old issue i reported (RSRP-99313). Second is that there are a couple of redundant "Me." in the code. I ecxpected that they are removed by the cleanup as i checked "Shorten qualified references" (see screenshot).

cleanup.jpg
Regards
Klaus

2 comments

Hello Klaus,

'Shorten qualified references' option should not remove redundant 'Me'. In
C# code cleanup there's a separate option for 'this' that is called "Arrange
'this' qualifier", a similar option has not been implemented for VB.NET yet.
There's a request in our tracker: http://youtrack.jetbrains.net/issue/RSRP-203441
and you're welcome to vote for it. Thank you!

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

I just installed build 2110 into Visual Studio 2008. I'm working on a
VB solution and tried to cleanup a class file. I've defined a profile
for VB in the code cleanup options where i checked all three VB
options. Two things happened: First there is a mix between leading
tabs and leading spaces. This is an old issue i reported
(http://youtrack.jetbrains.net/issue/RSRP-99313). Second is that there
are a couple of redundant "Me." in the code. I ecxpected that they are
removed by the cleanup as i checked "Shorten qualified references"
(see screenshot).

Image:cleanup.jpg
Regards
Klaus
---
Original message URL:
http://devnet.jetbrains.net/message/5297908#5297908



0

Klaus, feels like you and I are the only VB.NET developers here :-). I figured I'd report it.

0

Please sign in to leave a comment.