Home Download Buy Blog Forum Support

Alternating Block Colors

Alternating Block Colors

Postby kpthunder on Fri Oct 05, 2012 5:37 pm

This is an idea that came to me while considering opening brace on the current line vs opening brace on the next line. Why not make nested code blocks subtlety alternate between different colors (like RES on reddit for comments). I made a quick demo to demonstrate what I am talking about.


  • Click on a block of code to select it. Click outside the code to deselect everything.
  • Because of the way I used transparency in the demo, inner code blocks are darker than outer code blocks.
  • This will probably work better for languages which force proper formatting (e.g., Python). I do not know how well this would work with messy code.
Posts: 3
Joined: Sat Jul 07, 2012 6:32 am

Re: Alternating Block Colors

Postby adzenith on Fri Oct 05, 2012 5:45 pm

Xcode lets you do something like this to preview how code will fold... but it doesn't hang around unless you're hovering over the fold bar on the left.
xcode.png (16.97 KiB) Viewed 998 times
Posts: 1403
Joined: Mon Oct 19, 2009 9:12 pm

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 4 guests