Format document does not work in VS 2022 when defines are involved. Typing the code is ok, but if you format the whole document (Ctrl-K, Ctrl-D) nothing is indented. If the defines are commented out all works fine. Region / Endregion doesn't help...
// STATIC DEFINE TEST := 100``
FUNCTION TEST()
WHILE(TRUE)
sleep(100)
ENDDO
RETURN
STATIC DEFINE TEST := 100
FUNCTION TEST()
WHILE(TRUE)
sleep(100)
ENDDO
RETURN
Format document does not work in VS 2022 when defines are involved. Typing the code is ok, but if you format the whole document (Ctrl-K, Ctrl-D) nothing is indented. If the defines are commented out all works fine. Region / Endregion doesn't help...