Get rid of the extra indentation under properties in VS

Hello,

this is not strictly speaking an UE4 question, but more related to Visual Studio.

Does anyone know any way to make VS stop indenting automatically what comes under a UPROPERTY or UFUNCTION macro?

It’s just a pain to always un-indent each time>

Thanks!

Well I just found out this thread : https://answers.unrealengine.com/questions/36489/c-macro-indent-visual-studio.html which helped me solve the issue by setting Block instead of Smart in the indentation settings of VS.

I’ll see in the long run if there are any drawbacks using this setting.

I know this has already been answered, but figured I would point out that I recently wrote a visual studio extension to fix issues around UE4 macros when using smart indenting. You can find it and instructions for installation on my github: GitHub - hackalyze/ue4-vs-extensions: Useful UE4 Visual Studio extensions.