Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 auto-indentation bug

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
tailsu Posted - Sep 05 2007 : 11:02:25 AM
Auto-indentation sometimes works poorly with 'Include bits and pieces of code' option.

When I write 'std', VA suggests (for example) '::for_each('.
Then I type a ':', so now VA suggests ':for_each('.

However Visual Studio's editor automatically indents the text to the beginning of the line, as if it was a label. Now, if I choose the ':for_each(' suggestion the line remains at the beginning of the line, unlike when I write :: which re-indents it as an expression.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Sep 05 2007 : 6:58:22 PM
Interesting:

case=8631

For now the work around is to either accept VA's suggestion at a different point (after a different amount of typing), so you don't run into this problem or to tell the IDE to format the current line after you have accepted the suggestion.

In VS2005 CTRL-K, CTRL-F does this.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000