Errorneous code cleanup

When i apply a code cleanup on VB files all end constructs (End If, End Select, ...) are preceedes by spaces instead of tabs. In the Tabs section of the Visual Studio options dialog i set "Smart Tabs", and "Keep Tabs". I disabled "Pretty Listing" in the VB specific options.


1 comment

I've got similar problem in XAML editor, latest EAP build, VS2010 RC. I use VS settings 'use space' for indenting, but when I use Auto cleanup on XAML file, tabs are added instead of all previous space occurences. It should use VS settings and replace all tabs with spaces, or at least not to replace existing spaces used for indentation.


Please sign in to leave a comment.