lkcampbell / brackets-indent-guides

A Brackets extension to show indent guides in the code editor
149 stars 34 forks source link

Less Obtrusive Styling #13

Closed godismyjudge95 closed 10 years ago

godismyjudge95 commented 10 years ago

It would be great if you could either make the color blend in more with the background or use a dotted styling so as to not interfere with the overall look of the editor. Also, might want to add a condition to see if there is text ahead of the cursor and if not do not put the guides in. See Sublime Text for examples of both of these. Otherwise a really handy extension!

lkcampbell commented 10 years ago

@LeinardoSmith, for your first request, I will probably be putting in an extension preference for the guide color in the future. I can keep this issue open as a reminder

For your second request, there is already brackets-indent-guides.guideStyle extension preference to change to a dotted style if you want it: https://github.com/lkcampbell/brackets-indent-guides#extension-preferences.

For the third request, not sure. Would have to think about it. There are some technical problems with making CodeMirror overlays (the technology behind this extension) act like Sublime.

At any rate, yes, I will consider putting in a brackets-indent-guides.guideColor extension preferences. Thanks for the ideas.

godismyjudge95 commented 10 years ago

@lkcampbell Thanks for the reply! I am not sure what you mean by CodeMirror overlays... all I was talking about was a simple if statement. Check if there is text ahead of the cursor, and if not don't display the guidelines... just thought it might look cleaner.

lkcampbell commented 10 years ago

@LeinardoSmith, Yes, it is probably doable, make it into a extension preference. I think I might split this issue into a color preference request and a "only show indent guides when line has text" request

lkcampbell commented 10 years ago

Issue rewritten as two separate enhancement requests: https://github.com/lkcampbell/brackets-indent-guides/issues/14 and https://github.com/lkcampbell/brackets-indent-guides/issues/15.

Closing.