Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SC-IDE: add option for matching brackets' background colour to apply to just the brackets #1942

Closed
rygen opened this issue Mar 31, 2016 · 10 comments

Comments

@rygen
Copy link
Contributor

rygen commented Mar 31, 2016

Currently when we set a background colour for matching brackets in the SC-IDE configuration > Editor > Fonts & Colours, that same colour is applied to all text in between them, whereas the foreground colour is applied to the brackets only.

Similar to some other IDE's, I believe it would be useful to have an extra option to style just the brackets, making it easier to highlight them properly without affecting the visibility of the range within brackets.

@rygen rygen changed the title Styling matching brackets affects all text in between Background colour for matching brackets affects all text in between Mar 31, 2016
@jamshark70
Copy link
Contributor

Be aware that some of us like... or rather, love... the current behavior. It makes it millions of times easier to see the range within the matching brackets.

Speaking just for myself, I'd be extremely cross if the current approach disappeared totally. Maybe make it configurable, but this is IMO not a bug.

@rygen rygen changed the title Background colour for matching brackets affects all text in between Feature request: option for matching brackets' background colour to apply to just the brackets Apr 1, 2016
@rygen
Copy link
Contributor Author

rygen commented Apr 1, 2016

I apologise for submitting it as a bug, since it might be a loved feature for a lot more people. I've updated the title and description.

@jamshark70
Copy link
Contributor

I should also add that it's perfectly valid to want a more opaque, stronger background color for brackets. The current design seems to assume otherwise. I don't have a concrete idea for implementation, though.

@telephon
Copy link
Member

excellent, I didn't know that feature existed - really useful!
@rygen: just wondering: what are you using the bracket background color for?

@rygen
Copy link
Contributor Author

rygen commented Apr 13, 2016

@telephon: not much, just to see what's the corresponding opening/closing bracket (and therefore knowing that all that's in between belongs to that scope). Helps me detecting some errors every now and then.

Highlighting all the code in between feels a bit aggressive to me. I do reckon it's just personal preference, and maybe because I'm used to XCode and Coda's workflows... :)
I'm also using a dark background, so having the matching brackets stand out by being highlighted is quite useful. They aren't as easily highlighted if I just change their text colour, whereas if I change their background colour to something that has a high contrast, then I do see them easily but all the code in between becomes a bit impossible to read, as it has other highlight colours that are not affected by this setting. Or maybe I'm just using the wrong colours, haha :)

@telephon
Copy link
Member

ah ok, I see. Well, I guess that's a feature request for the future to have those as separate settings (bracket character background color vs. background between brackets).

@telephon telephon added this to the future milestone Apr 17, 2016
@rygen
Copy link
Contributor Author

rygen commented Apr 17, 2016

Exactly :)

@miczac
Copy link
Contributor

miczac commented Apr 17, 2016

forgive my ignorance, I'm not sure if I understand this request:
screen shot 2016-04-18 at 0 28 16

@jamshark70
Copy link
Contributor

Rygen wants to have a bright, easily visible background color for brackets only, and a less intrusive background color for the material between brackets. That is not currently possible in the ide.

@mossheim
Copy link
Contributor

We're not currently focusing on feature requests, so I'm closing this for now, but saving it here.

@mossheim mossheim changed the title Feature request: option for matching brackets' background colour to apply to just the brackets SC-IDE: add option for matching brackets' background colour to apply to just the brackets Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
IDE improvements
Configurability
Development

No branches or pull requests

5 participants