Is there an IDE out there that does structural syntax highlighting?Write C++ in a graphical scratch-like way?Emacs mode that highlight Lisp formsSo what's the deal with F#, now that it's been open-sourced?What does the [Flags] Enum Attribute mean in C#?How do I “Add Existing Item” an entire directory structure in Visual Studio?Syntax highlighting code with JavascriptEclipse syntax highlighting preferences save and restoreWhat's the difference between the 'ref' and 'out' keywords?All possible array initialization syntaxesSyntax highlighting/colorizing catHow to customise file type to syntax associations in Sublime Text?What methods are there to identify brace/ curly bracket pairs in the Visual Studio IDE?How to manually set language for syntax highlighting in Visual Studio Code

Why do ¬, ∀ and ∃ have the same precedence?

How to preserve electronics (computers, iPads and phones) for hundreds of years

How to get directions in deep space?

How many arrows is an archer expected to fire by the end of the Tyranny of Dragons pair of adventures?

What (the heck) is a Super Worm Equinox Moon?

Doesn't the system of the Supreme Court oppose justice?

Can you use Vicious Mockery to win an argument or gain favours?

Pre-mixing cryogenic fuels and using only one fuel tank

What is the highest possible scrabble score for placing a single tile

Can I say "fingers" when referring to toes?

What features enable the Su-25 Frogfoot to operate with such a wide variety of fuels?

Will number of steps recorded on FitBit/any fitness tracker add up distance in PokemonGo?

Why is the "ls" command showing permissions of files in a FAT32 partition?

Make a Bowl of Alphabet Soup

Stack Interview Code methods made from class Node and Smart Pointers

Change the color of a single dot in `ddot` symbol

Taxes on Dividends in a Roth IRA

What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?

What kind of floor tile is this?

What is going on with gets(stdin) on the site coderbyte?

Why do Radio Buttons not fill the entire outer circle?

Does "he squandered his car on drink" sound natural?

How could a planet have erratic days?

Shouldn’t conservatives embrace universal basic income?



Is there an IDE out there that does structural syntax highlighting?


Write C++ in a graphical scratch-like way?Emacs mode that highlight Lisp formsSo what's the deal with F#, now that it's been open-sourced?What does the [Flags] Enum Attribute mean in C#?How do I “Add Existing Item” an entire directory structure in Visual Studio?Syntax highlighting code with JavascriptEclipse syntax highlighting preferences save and restoreWhat's the difference between the 'ref' and 'out' keywords?All possible array initialization syntaxesSyntax highlighting/colorizing catHow to customise file type to syntax associations in Sublime Text?What methods are there to identify brace/ curly bracket pairs in the Visual Studio IDE?How to manually set language for syntax highlighting in Visual Studio Code













24















Somewhat inspired by this question about a graphical programming environment. I don't think that C++ or C# are really conducive to this type of environment, but perhaps there's something halfway there.



Lot's of IDEs that I've used will use syntax highlighting to change the foreground (or even the background) colour of text for keywords, strings, comments, etc...



Are there IDEs out there that will highlight larger syntactic structures? Here's an example of what I'm thinking of.



Example code structure http://img256.imageshack.us/img256/9441/codestructure.png



(Please don't comment on my poor choice of colours... I'm not a graphic designer for a reason.)



While it's not a graphical drag-and-drop environment, the highlighting would still give an overall view of the structure of the code. Personally, learning C# after years of C++, I still catch myself tripping over the fact that at the end of a file you usually have the end of a class and the end of a namespace, so the end of a function is two-levels in. (In a C++ code file, the end of a function is usually at the top level of indentation). I help myself out there by throwing in little comments at the close brackets:



 } // end class 
} // end namespace


But it seems to me that some automatic colouring would make that completely unnecessary. Anyway, has this been done already? Bonus if it's an add-on to Visual Studio.










share|improve this question
























  • Never seen anything like it, but I'll take two!

    – Jon B
    Mar 18 '09 at 21:05











  • Kind of simillar to that code rush addin MS released(I think it was code rush they did it with) but it highlights syntax blocks although it does it by using lines btw the elements....

    – JoshBerke
    Mar 18 '09 at 21:07











  • I'd love that. The only issues I see is indents aren't strictly required as part of the language specification (as opposed to say Python) so it'd look a little weird if for whatever insane reason you'd choose not to index and turn off VS auto-formatter

    – Davy8
    Mar 18 '09 at 21:27











  • Davy8 - My implementation of the concept (Codekana) doesn't look at indentation, it analyzes the syntax. It works just fine with most common indentation schemes people use, and with most weird but sensible ones too.

    – jonbho
    Mar 21 '09 at 20:56















24















Somewhat inspired by this question about a graphical programming environment. I don't think that C++ or C# are really conducive to this type of environment, but perhaps there's something halfway there.



Lot's of IDEs that I've used will use syntax highlighting to change the foreground (or even the background) colour of text for keywords, strings, comments, etc...



Are there IDEs out there that will highlight larger syntactic structures? Here's an example of what I'm thinking of.



Example code structure http://img256.imageshack.us/img256/9441/codestructure.png



(Please don't comment on my poor choice of colours... I'm not a graphic designer for a reason.)



While it's not a graphical drag-and-drop environment, the highlighting would still give an overall view of the structure of the code. Personally, learning C# after years of C++, I still catch myself tripping over the fact that at the end of a file you usually have the end of a class and the end of a namespace, so the end of a function is two-levels in. (In a C++ code file, the end of a function is usually at the top level of indentation). I help myself out there by throwing in little comments at the close brackets:



 } // end class 
} // end namespace


But it seems to me that some automatic colouring would make that completely unnecessary. Anyway, has this been done already? Bonus if it's an add-on to Visual Studio.










share|improve this question
























  • Never seen anything like it, but I'll take two!

    – Jon B
    Mar 18 '09 at 21:05











  • Kind of simillar to that code rush addin MS released(I think it was code rush they did it with) but it highlights syntax blocks although it does it by using lines btw the elements....

    – JoshBerke
    Mar 18 '09 at 21:07











  • I'd love that. The only issues I see is indents aren't strictly required as part of the language specification (as opposed to say Python) so it'd look a little weird if for whatever insane reason you'd choose not to index and turn off VS auto-formatter

    – Davy8
    Mar 18 '09 at 21:27











  • Davy8 - My implementation of the concept (Codekana) doesn't look at indentation, it analyzes the syntax. It works just fine with most common indentation schemes people use, and with most weird but sensible ones too.

    – jonbho
    Mar 21 '09 at 20:56













24












24








24


6






Somewhat inspired by this question about a graphical programming environment. I don't think that C++ or C# are really conducive to this type of environment, but perhaps there's something halfway there.



Lot's of IDEs that I've used will use syntax highlighting to change the foreground (or even the background) colour of text for keywords, strings, comments, etc...



Are there IDEs out there that will highlight larger syntactic structures? Here's an example of what I'm thinking of.



Example code structure http://img256.imageshack.us/img256/9441/codestructure.png



(Please don't comment on my poor choice of colours... I'm not a graphic designer for a reason.)



While it's not a graphical drag-and-drop environment, the highlighting would still give an overall view of the structure of the code. Personally, learning C# after years of C++, I still catch myself tripping over the fact that at the end of a file you usually have the end of a class and the end of a namespace, so the end of a function is two-levels in. (In a C++ code file, the end of a function is usually at the top level of indentation). I help myself out there by throwing in little comments at the close brackets:



 } // end class 
} // end namespace


But it seems to me that some automatic colouring would make that completely unnecessary. Anyway, has this been done already? Bonus if it's an add-on to Visual Studio.










share|improve this question
















Somewhat inspired by this question about a graphical programming environment. I don't think that C++ or C# are really conducive to this type of environment, but perhaps there's something halfway there.



Lot's of IDEs that I've used will use syntax highlighting to change the foreground (or even the background) colour of text for keywords, strings, comments, etc...



Are there IDEs out there that will highlight larger syntactic structures? Here's an example of what I'm thinking of.



Example code structure http://img256.imageshack.us/img256/9441/codestructure.png



(Please don't comment on my poor choice of colours... I'm not a graphic designer for a reason.)



While it's not a graphical drag-and-drop environment, the highlighting would still give an overall view of the structure of the code. Personally, learning C# after years of C++, I still catch myself tripping over the fact that at the end of a file you usually have the end of a class and the end of a namespace, so the end of a function is two-levels in. (In a C++ code file, the end of a function is usually at the top level of indentation). I help myself out there by throwing in little comments at the close brackets:



 } // end class 
} // end namespace


But it seems to me that some automatic colouring would make that completely unnecessary. Anyway, has this been done already? Bonus if it's an add-on to Visual Studio.







c# visual-studio ide syntax-highlighting






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 23 '17 at 11:53









Community

11




11










asked Mar 18 '09 at 20:59









EclipseEclipse

38.7k15100162




38.7k15100162












  • Never seen anything like it, but I'll take two!

    – Jon B
    Mar 18 '09 at 21:05











  • Kind of simillar to that code rush addin MS released(I think it was code rush they did it with) but it highlights syntax blocks although it does it by using lines btw the elements....

    – JoshBerke
    Mar 18 '09 at 21:07











  • I'd love that. The only issues I see is indents aren't strictly required as part of the language specification (as opposed to say Python) so it'd look a little weird if for whatever insane reason you'd choose not to index and turn off VS auto-formatter

    – Davy8
    Mar 18 '09 at 21:27











  • Davy8 - My implementation of the concept (Codekana) doesn't look at indentation, it analyzes the syntax. It works just fine with most common indentation schemes people use, and with most weird but sensible ones too.

    – jonbho
    Mar 21 '09 at 20:56

















  • Never seen anything like it, but I'll take two!

    – Jon B
    Mar 18 '09 at 21:05











  • Kind of simillar to that code rush addin MS released(I think it was code rush they did it with) but it highlights syntax blocks although it does it by using lines btw the elements....

    – JoshBerke
    Mar 18 '09 at 21:07











  • I'd love that. The only issues I see is indents aren't strictly required as part of the language specification (as opposed to say Python) so it'd look a little weird if for whatever insane reason you'd choose not to index and turn off VS auto-formatter

    – Davy8
    Mar 18 '09 at 21:27











  • Davy8 - My implementation of the concept (Codekana) doesn't look at indentation, it analyzes the syntax. It works just fine with most common indentation schemes people use, and with most weird but sensible ones too.

    – jonbho
    Mar 21 '09 at 20:56
















Never seen anything like it, but I'll take two!

– Jon B
Mar 18 '09 at 21:05





Never seen anything like it, but I'll take two!

– Jon B
Mar 18 '09 at 21:05













Kind of simillar to that code rush addin MS released(I think it was code rush they did it with) but it highlights syntax blocks although it does it by using lines btw the elements....

– JoshBerke
Mar 18 '09 at 21:07





Kind of simillar to that code rush addin MS released(I think it was code rush they did it with) but it highlights syntax blocks although it does it by using lines btw the elements....

– JoshBerke
Mar 18 '09 at 21:07













I'd love that. The only issues I see is indents aren't strictly required as part of the language specification (as opposed to say Python) so it'd look a little weird if for whatever insane reason you'd choose not to index and turn off VS auto-formatter

– Davy8
Mar 18 '09 at 21:27





I'd love that. The only issues I see is indents aren't strictly required as part of the language specification (as opposed to say Python) so it'd look a little weird if for whatever insane reason you'd choose not to index and turn off VS auto-formatter

– Davy8
Mar 18 '09 at 21:27













Davy8 - My implementation of the concept (Codekana) doesn't look at indentation, it analyzes the syntax. It works just fine with most common indentation schemes people use, and with most weird but sensible ones too.

– jonbho
Mar 21 '09 at 20:56





Davy8 - My implementation of the concept (Codekana) doesn't look at indentation, it analyzes the syntax. It works just fine with most common indentation schemes people use, and with most weird but sensible ones too.

– jonbho
Mar 21 '09 at 20:56












11 Answers
11






active

oldest

votes


















7














The closest thing that I've seen is Codekana, although doesn't have "background syntax-highlighting" it colorizes the different flow-control structures:




(source: codekana.com)





(source: codekana.com)



  • Red for loops

  • Green for if-blocks

  • Brown for else-blocks

  • Aquamarine for switch-blocks

  • Olive for exception blocks

  • Orange for 'return'





share|improve this answer

























  • Having the line that connects the indentation level helps too.

    – EBGreen
    Mar 18 '09 at 21:12











  • Especially since the lines are colorized based on the structure they represent.

    – Eclipse
    Mar 18 '09 at 21:13






  • 1





    I can has eclipse plugin?

    – Chris Nava
    Mar 18 '09 at 21:17











  • implementing this sort of color scheme would be fairly trivial in Vim, I would think...

    – rmeador
    Mar 18 '09 at 21:23











  • Nice...now do it. I'm too lazy.

    – EBGreen
    Mar 18 '09 at 21:24


















16














I'm the author of Codekana. Indeed, what you describe above was the main goal for the product. BTW, I'm about to publish an article about the "making of" and the underlying technology, which is pretty nifty. It will probably be available next week (March 26, '09 or so). Recommended reading, if I may say so myself.



The reason Codekana only provides outlines, instead of a colored background, are limitations in VS's text rendering extensibility. I will hopefully be able to implement a solid-background version at some point in the future, although it will definitely require serious hacking and "rocket surgery".



I would have commented above, instead of providing another answer, but my reputation doesn't allow commenting. :(



[UPDATE: Thanks for the upvotes, now I can comment!]






share|improve this answer

























  • I'm looking forward to your write-up. I'm playing around with the demo right now, and it's looking pretty good.

    – Eclipse
    Mar 21 '09 at 21:12











  • Josh: Thanks! Let me know if anything acts up, via the support form, I'll get back in touch via email. Or on Twitter, I recently joined (jonbho).

    – jonbho
    Mar 22 '09 at 0:05


















7














Coderush does structural highlighting:



alt text
(source: devexpress.com)



It quite feasible you could write your own plugin with DevExpress that achieves your exact original screen shot.






share|improve this answer
































    3














    The current BlueJ editor does exactly what you describe:



    BlueJ editor screenshot






    share|improve this answer






























      0














      The Visual Studio IDE does this already, but with a different visualization - you can expand and contract nested blocks by clicking the +/- buttons on the left margin.






      share|improve this answer























      • Ehh...I'm not a huge fan of code folding.

        – EBGreen
        Mar 18 '09 at 21:10











      • Yes, but those don't give any clue as to the type of structure (whether it's an if statement, a class defintition, a catch block, etc..

        – Eclipse
        Mar 18 '09 at 21:11











      • @EBGreen - agreed. In my experience code folding allows people to write obscenely large methods and then just hide it in a fold to hide the code smell. I've encountered folds that were over 1K lines long, next to several other 1K line folds in the same method.

        – Matt
        Mar 18 '09 at 21:32


















      0














      A nice idea. Personally, I really don't like folding editors, but this would be quite tolerable - you'd want to be able to toggle it on/off easily though. Perhaps someone has already done this for the hyper-programmable editors like vim and emacs?






      share|improve this answer























      • I think I saw an emacs implementation on SO a few months ago...

        – dmckee
        Mar 18 '09 at 21:16


















      0














      I think Xcode 3 does roughly what you want, especially with Focus Follows Selection enabled. Individual blocks are highlighted as you hover over them in the sidebar.






      share|improve this answer























      • Using an Apple tool to develop C# sounds...ummm...special...

        – EBGreen
        Mar 18 '09 at 21:17











      • The question mentions C#, but also C++, and doesn't really seem to focus on any language at all.

        – Sören Kuklau
        Mar 18 '09 at 21:38











      • You are correct, but with the C# and Visual Studio tag I would say that MS focus is likely.

        – EBGreen
        Mar 19 '09 at 13:39


















      0














      You should try this Addin and you will never work in visual studio without it,
      http://www.jetbrains.com/resharper/features/index.html



      PS: I'm not affiliated with this company or product but I'm an addict using it and I can never work without it, it saves me alot of time in my coding tasks and code exploration and debugging.






      share|improve this answer






























        0














        I'm working on a Visual Studio extension inspired by this question. You can see what I have so far here:



        http://lorgonblog.wordpress.com/2010/11/12/the-f-compiler-source-release-making-it-easy-to-write-cool-visual-studio-extensions/






        share|improve this answer






























          0














          There's also a free extension that at least draws the guide lines colored according to what they belong to. For instance, if guides in green and so on:
          Example screenshot



          It's called StructureAdornment and you can get it in the Extension Manager or from the Visual Studio Gallery.



          I find it quite handy.






          share|improve this answer
































            0














            allmargins extension works for me in visual studio 2010



            Tool-->Exention Manager --> search for allmargins






            share|improve this answer






















              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f660076%2fis-there-an-ide-out-there-that-does-structural-syntax-highlighting%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              11 Answers
              11






              active

              oldest

              votes








              11 Answers
              11






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              7














              The closest thing that I've seen is Codekana, although doesn't have "background syntax-highlighting" it colorizes the different flow-control structures:




              (source: codekana.com)





              (source: codekana.com)



              • Red for loops

              • Green for if-blocks

              • Brown for else-blocks

              • Aquamarine for switch-blocks

              • Olive for exception blocks

              • Orange for 'return'





              share|improve this answer

























              • Having the line that connects the indentation level helps too.

                – EBGreen
                Mar 18 '09 at 21:12











              • Especially since the lines are colorized based on the structure they represent.

                – Eclipse
                Mar 18 '09 at 21:13






              • 1





                I can has eclipse plugin?

                – Chris Nava
                Mar 18 '09 at 21:17











              • implementing this sort of color scheme would be fairly trivial in Vim, I would think...

                – rmeador
                Mar 18 '09 at 21:23











              • Nice...now do it. I'm too lazy.

                – EBGreen
                Mar 18 '09 at 21:24















              7














              The closest thing that I've seen is Codekana, although doesn't have "background syntax-highlighting" it colorizes the different flow-control structures:




              (source: codekana.com)





              (source: codekana.com)



              • Red for loops

              • Green for if-blocks

              • Brown for else-blocks

              • Aquamarine for switch-blocks

              • Olive for exception blocks

              • Orange for 'return'





              share|improve this answer

























              • Having the line that connects the indentation level helps too.

                – EBGreen
                Mar 18 '09 at 21:12











              • Especially since the lines are colorized based on the structure they represent.

                – Eclipse
                Mar 18 '09 at 21:13






              • 1





                I can has eclipse plugin?

                – Chris Nava
                Mar 18 '09 at 21:17











              • implementing this sort of color scheme would be fairly trivial in Vim, I would think...

                – rmeador
                Mar 18 '09 at 21:23











              • Nice...now do it. I'm too lazy.

                – EBGreen
                Mar 18 '09 at 21:24













              7












              7








              7







              The closest thing that I've seen is Codekana, although doesn't have "background syntax-highlighting" it colorizes the different flow-control structures:




              (source: codekana.com)





              (source: codekana.com)



              • Red for loops

              • Green for if-blocks

              • Brown for else-blocks

              • Aquamarine for switch-blocks

              • Olive for exception blocks

              • Orange for 'return'





              share|improve this answer















              The closest thing that I've seen is Codekana, although doesn't have "background syntax-highlighting" it colorizes the different flow-control structures:




              (source: codekana.com)





              (source: codekana.com)



              • Red for loops

              • Green for if-blocks

              • Brown for else-blocks

              • Aquamarine for switch-blocks

              • Olive for exception blocks

              • Orange for 'return'






              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Mar 7 at 5:00









              Glorfindel

              16.6k115172




              16.6k115172










              answered Mar 18 '09 at 21:10









              CMSCMS

              600k162847815




              600k162847815












              • Having the line that connects the indentation level helps too.

                – EBGreen
                Mar 18 '09 at 21:12











              • Especially since the lines are colorized based on the structure they represent.

                – Eclipse
                Mar 18 '09 at 21:13






              • 1





                I can has eclipse plugin?

                – Chris Nava
                Mar 18 '09 at 21:17











              • implementing this sort of color scheme would be fairly trivial in Vim, I would think...

                – rmeador
                Mar 18 '09 at 21:23











              • Nice...now do it. I'm too lazy.

                – EBGreen
                Mar 18 '09 at 21:24

















              • Having the line that connects the indentation level helps too.

                – EBGreen
                Mar 18 '09 at 21:12











              • Especially since the lines are colorized based on the structure they represent.

                – Eclipse
                Mar 18 '09 at 21:13






              • 1





                I can has eclipse plugin?

                – Chris Nava
                Mar 18 '09 at 21:17











              • implementing this sort of color scheme would be fairly trivial in Vim, I would think...

                – rmeador
                Mar 18 '09 at 21:23











              • Nice...now do it. I'm too lazy.

                – EBGreen
                Mar 18 '09 at 21:24
















              Having the line that connects the indentation level helps too.

              – EBGreen
              Mar 18 '09 at 21:12





              Having the line that connects the indentation level helps too.

              – EBGreen
              Mar 18 '09 at 21:12













              Especially since the lines are colorized based on the structure they represent.

              – Eclipse
              Mar 18 '09 at 21:13





              Especially since the lines are colorized based on the structure they represent.

              – Eclipse
              Mar 18 '09 at 21:13




              1




              1





              I can has eclipse plugin?

              – Chris Nava
              Mar 18 '09 at 21:17





              I can has eclipse plugin?

              – Chris Nava
              Mar 18 '09 at 21:17













              implementing this sort of color scheme would be fairly trivial in Vim, I would think...

              – rmeador
              Mar 18 '09 at 21:23





              implementing this sort of color scheme would be fairly trivial in Vim, I would think...

              – rmeador
              Mar 18 '09 at 21:23













              Nice...now do it. I'm too lazy.

              – EBGreen
              Mar 18 '09 at 21:24





              Nice...now do it. I'm too lazy.

              – EBGreen
              Mar 18 '09 at 21:24













              16














              I'm the author of Codekana. Indeed, what you describe above was the main goal for the product. BTW, I'm about to publish an article about the "making of" and the underlying technology, which is pretty nifty. It will probably be available next week (March 26, '09 or so). Recommended reading, if I may say so myself.



              The reason Codekana only provides outlines, instead of a colored background, are limitations in VS's text rendering extensibility. I will hopefully be able to implement a solid-background version at some point in the future, although it will definitely require serious hacking and "rocket surgery".



              I would have commented above, instead of providing another answer, but my reputation doesn't allow commenting. :(



              [UPDATE: Thanks for the upvotes, now I can comment!]






              share|improve this answer

























              • I'm looking forward to your write-up. I'm playing around with the demo right now, and it's looking pretty good.

                – Eclipse
                Mar 21 '09 at 21:12











              • Josh: Thanks! Let me know if anything acts up, via the support form, I'll get back in touch via email. Or on Twitter, I recently joined (jonbho).

                – jonbho
                Mar 22 '09 at 0:05















              16














              I'm the author of Codekana. Indeed, what you describe above was the main goal for the product. BTW, I'm about to publish an article about the "making of" and the underlying technology, which is pretty nifty. It will probably be available next week (March 26, '09 or so). Recommended reading, if I may say so myself.



              The reason Codekana only provides outlines, instead of a colored background, are limitations in VS's text rendering extensibility. I will hopefully be able to implement a solid-background version at some point in the future, although it will definitely require serious hacking and "rocket surgery".



              I would have commented above, instead of providing another answer, but my reputation doesn't allow commenting. :(



              [UPDATE: Thanks for the upvotes, now I can comment!]






              share|improve this answer

























              • I'm looking forward to your write-up. I'm playing around with the demo right now, and it's looking pretty good.

                – Eclipse
                Mar 21 '09 at 21:12











              • Josh: Thanks! Let me know if anything acts up, via the support form, I'll get back in touch via email. Or on Twitter, I recently joined (jonbho).

                – jonbho
                Mar 22 '09 at 0:05













              16












              16








              16







              I'm the author of Codekana. Indeed, what you describe above was the main goal for the product. BTW, I'm about to publish an article about the "making of" and the underlying technology, which is pretty nifty. It will probably be available next week (March 26, '09 or so). Recommended reading, if I may say so myself.



              The reason Codekana only provides outlines, instead of a colored background, are limitations in VS's text rendering extensibility. I will hopefully be able to implement a solid-background version at some point in the future, although it will definitely require serious hacking and "rocket surgery".



              I would have commented above, instead of providing another answer, but my reputation doesn't allow commenting. :(



              [UPDATE: Thanks for the upvotes, now I can comment!]






              share|improve this answer















              I'm the author of Codekana. Indeed, what you describe above was the main goal for the product. BTW, I'm about to publish an article about the "making of" and the underlying technology, which is pretty nifty. It will probably be available next week (March 26, '09 or so). Recommended reading, if I may say so myself.



              The reason Codekana only provides outlines, instead of a colored background, are limitations in VS's text rendering extensibility. I will hopefully be able to implement a solid-background version at some point in the future, although it will definitely require serious hacking and "rocket surgery".



              I would have commented above, instead of providing another answer, but my reputation doesn't allow commenting. :(



              [UPDATE: Thanks for the upvotes, now I can comment!]







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Mar 21 '09 at 20:48

























              answered Mar 21 '09 at 19:34









              jonbhojonbho

              21517




              21517












              • I'm looking forward to your write-up. I'm playing around with the demo right now, and it's looking pretty good.

                – Eclipse
                Mar 21 '09 at 21:12











              • Josh: Thanks! Let me know if anything acts up, via the support form, I'll get back in touch via email. Or on Twitter, I recently joined (jonbho).

                – jonbho
                Mar 22 '09 at 0:05

















              • I'm looking forward to your write-up. I'm playing around with the demo right now, and it's looking pretty good.

                – Eclipse
                Mar 21 '09 at 21:12











              • Josh: Thanks! Let me know if anything acts up, via the support form, I'll get back in touch via email. Or on Twitter, I recently joined (jonbho).

                – jonbho
                Mar 22 '09 at 0:05
















              I'm looking forward to your write-up. I'm playing around with the demo right now, and it's looking pretty good.

              – Eclipse
              Mar 21 '09 at 21:12





              I'm looking forward to your write-up. I'm playing around with the demo right now, and it's looking pretty good.

              – Eclipse
              Mar 21 '09 at 21:12













              Josh: Thanks! Let me know if anything acts up, via the support form, I'll get back in touch via email. Or on Twitter, I recently joined (jonbho).

              – jonbho
              Mar 22 '09 at 0:05





              Josh: Thanks! Let me know if anything acts up, via the support form, I'll get back in touch via email. Or on Twitter, I recently joined (jonbho).

              – jonbho
              Mar 22 '09 at 0:05











              7














              Coderush does structural highlighting:



              alt text
              (source: devexpress.com)



              It quite feasible you could write your own plugin with DevExpress that achieves your exact original screen shot.






              share|improve this answer





























                7














                Coderush does structural highlighting:



                alt text
                (source: devexpress.com)



                It quite feasible you could write your own plugin with DevExpress that achieves your exact original screen shot.






                share|improve this answer



























                  7












                  7








                  7







                  Coderush does structural highlighting:



                  alt text
                  (source: devexpress.com)



                  It quite feasible you could write your own plugin with DevExpress that achieves your exact original screen shot.






                  share|improve this answer















                  Coderush does structural highlighting:



                  alt text
                  (source: devexpress.com)



                  It quite feasible you could write your own plugin with DevExpress that achieves your exact original screen shot.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Mar 7 at 5:01









                  Glorfindel

                  16.6k115172




                  16.6k115172










                  answered Mar 18 '09 at 21:24









                  Sam SaffronSam Saffron

                  89.9k68285479




                  89.9k68285479





















                      3














                      The current BlueJ editor does exactly what you describe:



                      BlueJ editor screenshot






                      share|improve this answer



























                        3














                        The current BlueJ editor does exactly what you describe:



                        BlueJ editor screenshot






                        share|improve this answer

























                          3












                          3








                          3







                          The current BlueJ editor does exactly what you describe:



                          BlueJ editor screenshot






                          share|improve this answer













                          The current BlueJ editor does exactly what you describe:



                          BlueJ editor screenshot







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Aug 11 '11 at 13:33









                          fredoverflowfredoverflow

                          166k68322596




                          166k68322596





















                              0














                              The Visual Studio IDE does this already, but with a different visualization - you can expand and contract nested blocks by clicking the +/- buttons on the left margin.






                              share|improve this answer























                              • Ehh...I'm not a huge fan of code folding.

                                – EBGreen
                                Mar 18 '09 at 21:10











                              • Yes, but those don't give any clue as to the type of structure (whether it's an if statement, a class defintition, a catch block, etc..

                                – Eclipse
                                Mar 18 '09 at 21:11











                              • @EBGreen - agreed. In my experience code folding allows people to write obscenely large methods and then just hide it in a fold to hide the code smell. I've encountered folds that were over 1K lines long, next to several other 1K line folds in the same method.

                                – Matt
                                Mar 18 '09 at 21:32















                              0














                              The Visual Studio IDE does this already, but with a different visualization - you can expand and contract nested blocks by clicking the +/- buttons on the left margin.






                              share|improve this answer























                              • Ehh...I'm not a huge fan of code folding.

                                – EBGreen
                                Mar 18 '09 at 21:10











                              • Yes, but those don't give any clue as to the type of structure (whether it's an if statement, a class defintition, a catch block, etc..

                                – Eclipse
                                Mar 18 '09 at 21:11











                              • @EBGreen - agreed. In my experience code folding allows people to write obscenely large methods and then just hide it in a fold to hide the code smell. I've encountered folds that were over 1K lines long, next to several other 1K line folds in the same method.

                                – Matt
                                Mar 18 '09 at 21:32













                              0












                              0








                              0







                              The Visual Studio IDE does this already, but with a different visualization - you can expand and contract nested blocks by clicking the +/- buttons on the left margin.






                              share|improve this answer













                              The Visual Studio IDE does this already, but with a different visualization - you can expand and contract nested blocks by clicking the +/- buttons on the left margin.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Mar 18 '09 at 21:09









                              Daniel EarwickerDaniel Earwicker

                              94.5k31179257




                              94.5k31179257












                              • Ehh...I'm not a huge fan of code folding.

                                – EBGreen
                                Mar 18 '09 at 21:10











                              • Yes, but those don't give any clue as to the type of structure (whether it's an if statement, a class defintition, a catch block, etc..

                                – Eclipse
                                Mar 18 '09 at 21:11











                              • @EBGreen - agreed. In my experience code folding allows people to write obscenely large methods and then just hide it in a fold to hide the code smell. I've encountered folds that were over 1K lines long, next to several other 1K line folds in the same method.

                                – Matt
                                Mar 18 '09 at 21:32

















                              • Ehh...I'm not a huge fan of code folding.

                                – EBGreen
                                Mar 18 '09 at 21:10











                              • Yes, but those don't give any clue as to the type of structure (whether it's an if statement, a class defintition, a catch block, etc..

                                – Eclipse
                                Mar 18 '09 at 21:11











                              • @EBGreen - agreed. In my experience code folding allows people to write obscenely large methods and then just hide it in a fold to hide the code smell. I've encountered folds that were over 1K lines long, next to several other 1K line folds in the same method.

                                – Matt
                                Mar 18 '09 at 21:32
















                              Ehh...I'm not a huge fan of code folding.

                              – EBGreen
                              Mar 18 '09 at 21:10





                              Ehh...I'm not a huge fan of code folding.

                              – EBGreen
                              Mar 18 '09 at 21:10













                              Yes, but those don't give any clue as to the type of structure (whether it's an if statement, a class defintition, a catch block, etc..

                              – Eclipse
                              Mar 18 '09 at 21:11





                              Yes, but those don't give any clue as to the type of structure (whether it's an if statement, a class defintition, a catch block, etc..

                              – Eclipse
                              Mar 18 '09 at 21:11













                              @EBGreen - agreed. In my experience code folding allows people to write obscenely large methods and then just hide it in a fold to hide the code smell. I've encountered folds that were over 1K lines long, next to several other 1K line folds in the same method.

                              – Matt
                              Mar 18 '09 at 21:32





                              @EBGreen - agreed. In my experience code folding allows people to write obscenely large methods and then just hide it in a fold to hide the code smell. I've encountered folds that were over 1K lines long, next to several other 1K line folds in the same method.

                              – Matt
                              Mar 18 '09 at 21:32











                              0














                              A nice idea. Personally, I really don't like folding editors, but this would be quite tolerable - you'd want to be able to toggle it on/off easily though. Perhaps someone has already done this for the hyper-programmable editors like vim and emacs?






                              share|improve this answer























                              • I think I saw an emacs implementation on SO a few months ago...

                                – dmckee
                                Mar 18 '09 at 21:16















                              0














                              A nice idea. Personally, I really don't like folding editors, but this would be quite tolerable - you'd want to be able to toggle it on/off easily though. Perhaps someone has already done this for the hyper-programmable editors like vim and emacs?






                              share|improve this answer























                              • I think I saw an emacs implementation on SO a few months ago...

                                – dmckee
                                Mar 18 '09 at 21:16













                              0












                              0








                              0







                              A nice idea. Personally, I really don't like folding editors, but this would be quite tolerable - you'd want to be able to toggle it on/off easily though. Perhaps someone has already done this for the hyper-programmable editors like vim and emacs?






                              share|improve this answer













                              A nice idea. Personally, I really don't like folding editors, but this would be quite tolerable - you'd want to be able to toggle it on/off easily though. Perhaps someone has already done this for the hyper-programmable editors like vim and emacs?







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Mar 18 '09 at 21:14







                              anon



















                              • I think I saw an emacs implementation on SO a few months ago...

                                – dmckee
                                Mar 18 '09 at 21:16

















                              • I think I saw an emacs implementation on SO a few months ago...

                                – dmckee
                                Mar 18 '09 at 21:16
















                              I think I saw an emacs implementation on SO a few months ago...

                              – dmckee
                              Mar 18 '09 at 21:16





                              I think I saw an emacs implementation on SO a few months ago...

                              – dmckee
                              Mar 18 '09 at 21:16











                              0














                              I think Xcode 3 does roughly what you want, especially with Focus Follows Selection enabled. Individual blocks are highlighted as you hover over them in the sidebar.






                              share|improve this answer























                              • Using an Apple tool to develop C# sounds...ummm...special...

                                – EBGreen
                                Mar 18 '09 at 21:17











                              • The question mentions C#, but also C++, and doesn't really seem to focus on any language at all.

                                – Sören Kuklau
                                Mar 18 '09 at 21:38











                              • You are correct, but with the C# and Visual Studio tag I would say that MS focus is likely.

                                – EBGreen
                                Mar 19 '09 at 13:39















                              0














                              I think Xcode 3 does roughly what you want, especially with Focus Follows Selection enabled. Individual blocks are highlighted as you hover over them in the sidebar.






                              share|improve this answer























                              • Using an Apple tool to develop C# sounds...ummm...special...

                                – EBGreen
                                Mar 18 '09 at 21:17











                              • The question mentions C#, but also C++, and doesn't really seem to focus on any language at all.

                                – Sören Kuklau
                                Mar 18 '09 at 21:38











                              • You are correct, but with the C# and Visual Studio tag I would say that MS focus is likely.

                                – EBGreen
                                Mar 19 '09 at 13:39













                              0












                              0








                              0







                              I think Xcode 3 does roughly what you want, especially with Focus Follows Selection enabled. Individual blocks are highlighted as you hover over them in the sidebar.






                              share|improve this answer













                              I think Xcode 3 does roughly what you want, especially with Focus Follows Selection enabled. Individual blocks are highlighted as you hover over them in the sidebar.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Mar 18 '09 at 21:15









                              Sören KuklauSören Kuklau

                              15.1k43671




                              15.1k43671












                              • Using an Apple tool to develop C# sounds...ummm...special...

                                – EBGreen
                                Mar 18 '09 at 21:17











                              • The question mentions C#, but also C++, and doesn't really seem to focus on any language at all.

                                – Sören Kuklau
                                Mar 18 '09 at 21:38











                              • You are correct, but with the C# and Visual Studio tag I would say that MS focus is likely.

                                – EBGreen
                                Mar 19 '09 at 13:39

















                              • Using an Apple tool to develop C# sounds...ummm...special...

                                – EBGreen
                                Mar 18 '09 at 21:17











                              • The question mentions C#, but also C++, and doesn't really seem to focus on any language at all.

                                – Sören Kuklau
                                Mar 18 '09 at 21:38











                              • You are correct, but with the C# and Visual Studio tag I would say that MS focus is likely.

                                – EBGreen
                                Mar 19 '09 at 13:39
















                              Using an Apple tool to develop C# sounds...ummm...special...

                              – EBGreen
                              Mar 18 '09 at 21:17





                              Using an Apple tool to develop C# sounds...ummm...special...

                              – EBGreen
                              Mar 18 '09 at 21:17













                              The question mentions C#, but also C++, and doesn't really seem to focus on any language at all.

                              – Sören Kuklau
                              Mar 18 '09 at 21:38





                              The question mentions C#, but also C++, and doesn't really seem to focus on any language at all.

                              – Sören Kuklau
                              Mar 18 '09 at 21:38













                              You are correct, but with the C# and Visual Studio tag I would say that MS focus is likely.

                              – EBGreen
                              Mar 19 '09 at 13:39





                              You are correct, but with the C# and Visual Studio tag I would say that MS focus is likely.

                              – EBGreen
                              Mar 19 '09 at 13:39











                              0














                              You should try this Addin and you will never work in visual studio without it,
                              http://www.jetbrains.com/resharper/features/index.html



                              PS: I'm not affiliated with this company or product but I'm an addict using it and I can never work without it, it saves me alot of time in my coding tasks and code exploration and debugging.






                              share|improve this answer



























                                0














                                You should try this Addin and you will never work in visual studio without it,
                                http://www.jetbrains.com/resharper/features/index.html



                                PS: I'm not affiliated with this company or product but I'm an addict using it and I can never work without it, it saves me alot of time in my coding tasks and code exploration and debugging.






                                share|improve this answer

























                                  0












                                  0








                                  0







                                  You should try this Addin and you will never work in visual studio without it,
                                  http://www.jetbrains.com/resharper/features/index.html



                                  PS: I'm not affiliated with this company or product but I'm an addict using it and I can never work without it, it saves me alot of time in my coding tasks and code exploration and debugging.






                                  share|improve this answer













                                  You should try this Addin and you will never work in visual studio without it,
                                  http://www.jetbrains.com/resharper/features/index.html



                                  PS: I'm not affiliated with this company or product but I'm an addict using it and I can never work without it, it saves me alot of time in my coding tasks and code exploration and debugging.







                                  share|improve this answer












                                  share|improve this answer



                                  share|improve this answer










                                  answered Mar 22 '09 at 9:31









                                  BishoyBishoy

                                  2,5461630




                                  2,5461630





















                                      0














                                      I'm working on a Visual Studio extension inspired by this question. You can see what I have so far here:



                                      http://lorgonblog.wordpress.com/2010/11/12/the-f-compiler-source-release-making-it-easy-to-write-cool-visual-studio-extensions/






                                      share|improve this answer



























                                        0














                                        I'm working on a Visual Studio extension inspired by this question. You can see what I have so far here:



                                        http://lorgonblog.wordpress.com/2010/11/12/the-f-compiler-source-release-making-it-easy-to-write-cool-visual-studio-extensions/






                                        share|improve this answer

























                                          0












                                          0








                                          0







                                          I'm working on a Visual Studio extension inspired by this question. You can see what I have so far here:



                                          http://lorgonblog.wordpress.com/2010/11/12/the-f-compiler-source-release-making-it-easy-to-write-cool-visual-studio-extensions/






                                          share|improve this answer













                                          I'm working on a Visual Studio extension inspired by this question. You can see what I have so far here:



                                          http://lorgonblog.wordpress.com/2010/11/12/the-f-compiler-source-release-making-it-easy-to-write-cool-visual-studio-extensions/







                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Nov 12 '10 at 10:24









                                          BrianBrian

                                          106k15209281




                                          106k15209281





















                                              0














                                              There's also a free extension that at least draws the guide lines colored according to what they belong to. For instance, if guides in green and so on:
                                              Example screenshot



                                              It's called StructureAdornment and you can get it in the Extension Manager or from the Visual Studio Gallery.



                                              I find it quite handy.






                                              share|improve this answer





























                                                0














                                                There's also a free extension that at least draws the guide lines colored according to what they belong to. For instance, if guides in green and so on:
                                                Example screenshot



                                                It's called StructureAdornment and you can get it in the Extension Manager or from the Visual Studio Gallery.



                                                I find it quite handy.






                                                share|improve this answer



























                                                  0












                                                  0








                                                  0







                                                  There's also a free extension that at least draws the guide lines colored according to what they belong to. For instance, if guides in green and so on:
                                                  Example screenshot



                                                  It's called StructureAdornment and you can get it in the Extension Manager or from the Visual Studio Gallery.



                                                  I find it quite handy.






                                                  share|improve this answer















                                                  There's also a free extension that at least draws the guide lines colored according to what they belong to. For instance, if guides in green and so on:
                                                  Example screenshot



                                                  It's called StructureAdornment and you can get it in the Extension Manager or from the Visual Studio Gallery.



                                                  I find it quite handy.







                                                  share|improve this answer














                                                  share|improve this answer



                                                  share|improve this answer








                                                  edited Feb 8 '17 at 14:33









                                                  Community

                                                  11




                                                  11










                                                  answered Sep 2 '11 at 8:35









                                                  primfaktorprimfaktor

                                                  1,5541729




                                                  1,5541729





















                                                      0














                                                      allmargins extension works for me in visual studio 2010



                                                      Tool-->Exention Manager --> search for allmargins






                                                      share|improve this answer



























                                                        0














                                                        allmargins extension works for me in visual studio 2010



                                                        Tool-->Exention Manager --> search for allmargins






                                                        share|improve this answer

























                                                          0












                                                          0








                                                          0







                                                          allmargins extension works for me in visual studio 2010



                                                          Tool-->Exention Manager --> search for allmargins






                                                          share|improve this answer













                                                          allmargins extension works for me in visual studio 2010



                                                          Tool-->Exention Manager --> search for allmargins







                                                          share|improve this answer












                                                          share|improve this answer



                                                          share|improve this answer










                                                          answered Mar 24 '15 at 15:06









                                                          nghiavtnghiavt

                                                          205412




                                                          205412



























                                                              draft saved

                                                              draft discarded
















































                                                              Thanks for contributing an answer to Stack Overflow!


                                                              • Please be sure to answer the question. Provide details and share your research!

                                                              But avoid


                                                              • Asking for help, clarification, or responding to other answers.

                                                              • Making statements based on opinion; back them up with references or personal experience.

                                                              To learn more, see our tips on writing great answers.




                                                              draft saved


                                                              draft discarded














                                                              StackExchange.ready(
                                                              function ()
                                                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f660076%2fis-there-an-ide-out-there-that-does-structural-syntax-highlighting%23new-answer', 'question_page');

                                                              );

                                                              Post as a guest















                                                              Required, but never shown





















































                                                              Required, but never shown














                                                              Required, but never shown












                                                              Required, but never shown







                                                              Required, but never shown

































                                                              Required, but never shown














                                                              Required, but never shown












                                                              Required, but never shown







                                                              Required, but never shown







                                                              Popular posts from this blog

                                                              Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

                                                              Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

                                                              Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved