Search code examples
visual-studiovisual-studio-2012curly-braces

how can i add vertical lines between curly brackets in visual studio 2012?


the vertical lines between curly bracket that contain (functions, clacess, orders..etc)

there is a picture about it :

enter image description here

the question is how to activate it in my visual studio 2012 ultimate , cause i Don't have it .



└─ Updated : the solution here : https://stackoverflow.com/a/42346020/7465452


Solution


  • as i recently known this option Not standard feature that included in V-studio
    so the solution i found for this Question is "Add-In" called : " Indent Guides "

    the Result will be similar to this picture :

    enter image description here


    to add it follow this instruction down below :

    1 ) - install the Addin from the the main website :
    ................................................................................

    2 ) - After Installation complete restart your V-Studio and go to Edit the add-in from :

    Tools-->Options...

    then from the right side menu chose :

    Options.. --> Indent Guides

    then you get full control of colors and other options you would change to fit your style :

    enter image description here

    and if you want to Disable or Enable this Addin with a shortcut way from the menu go to ( Edit ) then chose :

    Edit --> Advanced --> View Indent Guides