Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 comment indent driving me nuts

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
Mordachai Posted - Jun 06 2017 : 11:08:27 AM
Does anyone know where I can control the auto-format of comments?

I constantly have code such as:


	// obtain a lock and the map itself
	ObtainLock();



Then I paste this before that:
	ASSERT(!bad());	// You probably failed to add DECLARE/IMPLEMENT DYNAMIC to your class

then VS or VA reformats my damn comments to:
	ASSERT(!bad());	// You probably failed to add DECLARE/IMPLEMENT DYNAMIC to your class

			// obtain a lock and the map itself
	ObtainLock();


Thus aligning the later comments to the former.

!@#$!@$!@#$!@#$!@#$ :'(

Seems to me this behavior changed maybe a month ago - and I've been searching for the STFU button ever since.

VS 2015 - Tools|Options|Text Editor|C/C++|Formatting|Indentation - Preserve indentation of comments - on or off do not seem to help :'(
1   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Jun 16 2017 : 8:55:58 PM
Check these two places:
Tools | Options | Text Editor | C/C++ | Formatting | When I paste
VAssistX | Options | Editor | Format after paste

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