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

后端 未结 11 1897
失恋的感觉
失恋的感觉 2021-02-04 00:02

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\

相关标签:
11条回答
  • 2021-02-04 00:30

    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.

    0 讨论(0)
  • 2021-02-04 00:35

    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'
    0 讨论(0)
  • 2021-02-04 00:36

    Coderush does structural highlighting:


    (source: devexpress.com)

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

    0 讨论(0)
  • 2021-02-04 00:38

    The current BlueJ editor does exactly what you describe:

    BlueJ editor screenshot

    0 讨论(0)
  • 2021-02-04 00:39

    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.

    0 讨论(0)
  • 2021-02-04 00:41

    allmargins extension works for me in visual studio 2010

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

    0 讨论(0)
提交回复
热议问题