Any way to highlight both braces on Gedit?, it's annoying when you have several braces joined and is not clear which one are you pointing.
Highlighting both braces would be a simple solution to know exactly what are the starting and ending ones.
Thanks.
Actually this feature does exist, to an extent anyway, in Gedit (2, in my case). Under preferences there is a check box in the view tab on the bottom called "Bracket Matching".
With that checked you can highlight the opposite bracket delimiter by putting your cursor over its twin. It goes both ways.
However, seeing that I use ruby, which utilizes "do/end" tags instead of curly brackets, I'm still looking for a hack for that. I'll try to remember to come back and share any more information that I find.
I have an option in my gedit 2.30 for this:
Edit -> Preferences -> Bracket Matching
At first I could't find where the preferences are located, I chose the harder option.
Ctrl + Alt + t
and type dconf-editor
org
--> gnome
--> gedit
--> preferences
bracket-matching
and turn on flaggsettings set org.gnome.gedit.preferences.editor bracket-matching true
In Ubuntu 18.04, Gnome 3.28 the preferences are located in the left corner near the Activities.
Preferences
--> view
--> Highlighting
--> Highlight matching brackets
Currently (Gedit 3.14.0) it works as it has been already mentioned:
Preferences -> View thumbnail -> Highlight matching brackets
Both brackets are highlighted.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With