code icon indicating copy to clipboard operation
code copied to clipboard

Have an indentation guides option

Open jeremypw opened this issue 4 years ago • 2 comments

Problem

Some times extraneous spaces get inserted at the start of lines when cutting and pasting from another source. It is then hard to tell which lines are correctly indented by a multiple of 4 spaces.

Proposal

Vertical dotted lines at the correct tab spacing in the space preceding indented lines would be useful for detecting extraneous spaces.

Prior Art

Other IDEs like Geany implement this IndentationGuidesGeany You can easily see in the example that there is an extraneous space before a closing brace.

jeremypw avatar May 31 '21 15:05 jeremypw

Gnome builder has a similar open issue here and Christian Hergert suggests to fix this in SourceView.

igordsm avatar Sep 23 '21 02:09 igordsm