Regarding the directive alignment, let me rephrase that a little bit. Thanks for the answer, the namespace snippet works nicely. ns) and then press enter, you will be prompted to type the name, e.g. This way, when you type your shortcut (i.e. ![]() Just create the following snippet with shortcut "namespace", "ns" or whatever you like and paste the following line to last editbox of the snippet editor: VA Options -> Advanced -> Correction -> Format after paste If I copy-paste them somewhere else, Visual Assist asks Visual Studio to format the selection which makes them move to the begging of the line. ![]() If I select the lines and press tab, they will move and stays there. Which is hard since VAX isn't keeping track of my current indentation.Īnother unrelated feature that would be nice (and maybe could be accomplished using VA snippets) would be to automatically comment the closing curly braces of namespaces with the namespace name, i.e: This has been bugging me for a while and I'm not really sure whether this is Visual Studio or Visual Assist X behavior.īasically every time you attempt to align #define or any other c++ directives using indentation with tabs or spaces, something moves the directive back to the beginning of the line. Whole Tomato Software Forums - C++ Directive alignment
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |