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.