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

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
Shambler Posted - Oct 29 2014 : 09:49:08 AM
I have some code that is visually formatted in a particular way:
.TabWellContentLeft()
[
	SNew(STextBlock)
	.Text(FString(TEXT("Filter:")))
]


I want to add the following code:
.TabWellContentLeft()
[
	SNew(STextBlock)
	.VAlign(VAlign_Center)
	.Text(FString(TEXT("Filter:")))
]


To start with, I have the cursor placed where the pipe '|' char is:
.TabWellContentLeft()
[
	SNew(STextBlock)
	|
	.Text(FString(TEXT("Filter:")))
]


When I type the dot '.', some kind of autoformatting happens, and it types like this:
.TabWellContentLeft()
[
	SNew(STextBlock)
.
	.Text(FString(TEXT("Filter:")))
]


The dot should be indented, but for some reason, is not.

The feature that is causing this, is the "Convert dot to -> (in C/C++)" feature - even though no conversion happens here, it still seems to apply some auto-formatting, which removes the indent.

Would be good if this were fixed, as when I try to write code with this syntax, I end up having to correct that indent a lot - which is awkward; thanks.
2   L A T E S T    R E P L I E S    (Newest First)
Shambler Posted - Oct 31 2014 : 1:43:34 PM
Both of those workarounds look good; cheers!
feline Posted - Oct 30 2014 : 6:04:55 PM
I am seeing the same effect here. Thank you for the clear description.

case=57139

I have a couple of possible work arounds, the first is to press space or tab before typing the dot, the second is to press Ctrl-K, Ctrl-F to trigger the IDE's format command, which will fix the indenting after you have finished typing the line.

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