You must be registered to post a reply. Click here to register.
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.