Forum Replies Created
-
AuthorPosts
-
kaworuParticipantkaworuParticipant
Funny something new happened, I went to the options, Tools -> Options, Text Editor -> C/C++ (VisualGDB) -> Formatting Engine, changed “Default Formatting Engine” to “SysProgsFormat”, restarted VS, and now Ctrl+K,D works differently, but still not correctly – see attachment.
So for now my conclusion is, as follows:
- If Text Editor -> C/C++ -> Formatting -> Indentation, option “indent case labels” is selected
- And in Text Editor -> C/C++ (VisualGDB) -> Formatting Engine, “Default Formatting Engine” is set to “SysProgsFormat”, then indentation is made before case label – this is expected – and after case label – this is wrong;
- If in Text Editor -> C/C++ (VisualGDB) -> Formatting Engine, “Default Formatting Engine” is set to “Clang format”, then indentation is not made neither before nor after case label;
Also changing this options requires reloading the project, i would expect this change to be taken into account right away or at lest would be nice to have info somewhere, “changing this option requires restart”, or something.
Attachments:
You must be logged in to view attached files.kaworuParticipantExcept – It doesn’t work. Switched to “Regular Intellisense” (first screenshot), restarted VS, reloaded project, Ctrl+K,D and it still doesn’t follow VS’s formatting settings (see screenshots). Confirmed that on Clang Intellisense Diagnostic Console “Native VC++” is selected.
Attachments:
You must be logged in to view attached files. -
AuthorPosts