New "draw_white_space: boundary" option

Snap 4 weeks ago • updated 4 weeks ago 0

I think it'd be beneficial if there were a new option for draw_white_space that only draws white space on the left most and right most edges of a line so any single white spaces between words or characters in the middle of lines are ignored. Similar to setting editor.RenderWhiteSpace to "boundary" in VS Code. So it'd appear:

def function():
••••if True:
••••••••print("I <3 ST")
••••••••print("I'm aware there's trailing white space on this line")••

More often than not, seeing white space helps with indentation, so having any source code being viewed decluttered with potentially unnecessary information while still maintaining its usefulness would be a win-win.