Half a croissant, on a plate, with a sign in front of it saying '50c'
h a l f b a k e r y
Like you could do any better.

idea: add, search, annotate, link, view, overview, recent, by name, random

meta: news, help, about, links, report a problem

account: browse anonymously, or get an account and write.

user:
pass:
register,


               

Rainbow Spaces

Colourize your "white space"
  (+2)
(+2)
  [vote for,
against]

For when you need to see what your white space is made of (tabs or spaces, how many?) and where they are (any spaces before that line break?), colourize them so they're easier to see. Also allow for adjacent spaces or tabs to all be coloured differently so you can count how many are in each run. Fully customizable to use colours and or patterns that are easiest to see or more pleasing to you,

This would helpful for Python programmers as well as anyone who prefers to endlessly tweak their settings in lieu of getting any real work done - and to make sure nobody else will ever be able to use your computer.

a1, Apr 24 2024

[link]






       The most important invisible characters don't take up any space, so they can't be coloured in.
pertinax, Apr 24 2024
  

       I tried but the marking pens really made a smeary mess.
a1, Apr 25 2024
  

       [+]
Voice, Apr 25 2024
  

       //in lieu of getting any real work done - and to make sure nobody else will ever be able to use your [code]//   

       I had a (at the time, perfectly rational, but now on reflection) chaotic-evil phase where I used to adopt utf Greek letters for oft-used variables in my code - lots of lambdas, rhos and sigmas peppered about the place.   

       Sometimes I like to imagine I can hear the swearing drifting in the wind as new hires are asked to maintain the code.
zen_tom, Apr 26 2024
  

       I used to work with a scientist who did something similar, and your imaginings are spot-on.
a1, Apr 26 2024
  

       I thought show non-printing characters was a well known thing   

       Is the proposed idea for a rendering system for normal characters, or an encoding system for coloured characters? I.e. are we proposing a UTFcode block for differently coloured spaces?
pocmloc, Apr 27 2024
  

       // show non-printing characters was a well known thing //   

       Absolutely is. What I propoose is to show them in various colours, especially adjacent runs of the same characters, Consider a run of 7 (or whas it 8?) spaces. If each adjacent one was a different colour (red, orange, yellow, green, blue, indigo, violet) it would be eaiser to count them.   

       Prettier, too.
a1, Apr 27 2024
  
      
[annotate]
  


 

back: main index

business  computer  culture  fashion  food  halfbakery  home  other  product  public  science  sport  vehicle