Swap quotes should now be fixed.
BracketHighlighter
thanks about your quick response.
about my first note try this:
open new blank document.
change syntax to some not ignored by the plugins and type quoted text.
then move the caret between quotes.
the brackets icons will not show in the gutter. you wonât be able to swap quotes too.
itâs super unimportant and few would notice it, but i decided to bring it up since itâs obviously an edge case and might reflect somewhere else.
[quote=âvitaLeeâ]thanks about your quick response.
about my first note try this:
open new blank document.
change syntax to some not ignored by the plugins and type quoted text.
then move the caret between quotes.
the brackets icons will not show in the gutter. you wonât be able to swap quotes too.
itâs super unimportant and few would notice it, but i decided to bring it up since itâs obviously an edge case and might reflect somewhere else.[/quote]
Fixed. An algorithmic oversight on my part. Thanks for letting me know. I wouldnât have caught that for a while .
Thanks for the addon facelessuser,
How can I make it change the color of the brackets only without highlighting?
I also noticed sometimes it takes a second to take action.
[quote=âMaxandâ]Thanks for the addon facelessuser,
How can I make it change the color of the brackets only without highlighting?
I also noticed sometimes it takes a second to take action.[/quote]
I am not sure what you mean.
If you are asking that you would like the bracket font to change color without putting a block or outline or underline around it, then that is impossible with the current ST2 API. If/when that functionality is available, I would have no problem adding that.
If you are looking for a more minimal highlight, I suggest using style âunderlineâ and for the icon put ânoneâ. That will only underline your brackets with a colored underline. That is as minimal as BracketHighlighter can do.
Thanks for the reply facelessuser,
Yes you understood me just right, things is, I just switched from Notepad++ and used to have brackets changing color when caret next to them, no highlight box.
I guess I will have to wait for future implementation.
Again, thanks a lot for this great addon http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif
New version of BH pushed out.
-Better detection of auto-closing tags (hopefully)
-Experimental CFML support (read the readme for more info)
Also, I want to prepare people because very soon I will be removing possibly all of BHâs shortcuts by default. Currently, most of the shortcuts use ctrl+shift+b (or super+shift+b on mac) which apparently overrides one of ST2âs built in shortcuts (something to do with build systemsâŚcanât remember off the top of my head). Anyways, moving forward very soon I will remove the shortcuts and provide an example file instead. This way the user can set up shortcuts they like (you can even keep them the same as they are now if you donât mind the shortcut override; you just will need to define them yourself). This will prevent issues being filed in the future about shortcuts overriding other shortcuts.
Again, all the functionality will remain the same, but the user will have to define their own shortcuts, but I will provide an example file that can be used as a template. So now would be a good time to copy the BH shortcuts to your Default (whatever OS).sublime-keymap file to prepare for the future.
On a side note, if you use the HexViewer plugin, the same will happen for that pluginâs shortcuts as well since it use the same shortcut in its sequences.
Iâve loved this plugin for a long time in my workflow⌠It is so good! Thanks facelessuser for all your time thus far.
However, suddenly it no longer seems to be working? The take home feature for me, to be able to easily select everything between quotes or parens or whatever is no longer functional. I tried changing the shortcut and updating the shortcut in the sublime keymap but to no avail⌠When triggering using the hotkey, simply nothing happens.
Anybody else experiencing this?
This has never stopped working for me. I will verify again tonight on the BH1 branch (I am running BH2 right now ), but if it isnât working for you, there might be a shortcut conflict.
I also have this working for BH2 right now as well (though the shortcuts do not come defined out of the box).
Thanks for your work, faceless!
Please excuse my ignorance if I missed it but has BH2 been released already? I couldnât find it on your github page.
Released officially know, but you can try it out. On the BracketHighlighter Github page, there is a branches drop down list where you can select the BH2 branch. The direct link is here: github.com/facelessuser/Bracket ⌠r/tree/BH2.
I am working on documentation. It is pretty much done. As soon as I can write up all the documentation, I will release it. All planned features etc. are currently in.
sorry if I missed something but is the update going to be automatic from BH1 to BH2 through package control?
Yes, it will be automaticâŚwhich is what I am a little worried about.
I imagine I am going to get a bunch of bug issues of âwhy is X not working like it used toâ, âwhat happend to my shortcutsâ, âwhere did my colors goâ, âWhy are my setting in BracketHighlighter.sublime-settings not workingâ. I am going to have probably a good couple weeks of a lot of people freaking out without reading the documentation. I wish I could get the messages.json working properly with my package in Package Control, but I never have figured it out.
So really if you are waiting for the official version, just sit tight and you will automatically get it. I wanted to get it nice and stable and ensure that my new design was not going to have negative effects before I pushed it out on peopleâŚbut if your curious, it is working real nice .
I realize the new settings file(s) are a bit more complicated, but this allows custom brackets which people seemed so badly to want. The more flexibility that is desired, the more complicated the system. It saves me a great deal of trouble though, because now custom brackets can be added without me ever touching the core codeâŚI canât tell you how happy I am about that .
The messages.json is a bit odd. Iâve noticed (at least before the update, but I assume itâs still the same), that the commit/version times are based on EST. I normally add a couple hours to the current time, then offset it to EST. It may be worth giving it a shot, since, as you said, may users will ask you why x,y, and z are not working anymore. In the worst case scenario, no one gets your message and you get all the issue creation you expect. In the best case, it works and people will (hopefully) read about the updates on the README. Setting up the messages themselves is pretty straight forward. Iâm sure you have looked through the same documentation I have on wbondâs site.
Anyways, thatâs my insight into the messages system of package control. I think itâs worth giving it a shot since, even though Iâm sure you will answer the âwhy isnât this working anymore questionsâ, you would be happier if you didnât have to, or at least had fewer. Anyways, thanks for all the hard work (on this and your other plugins)!
@skuroda thanks for the info, I will give it a try again, it has been a while since I have tried. I would be nice to get it working.
Hi facelessuser
Iâm using BracketHighlighter and itâs great!
However there are 2 problems I couldnât solve.
- Iâd like to make bracket bold when highlighted, so far I have foreground key in my colour scheme, but fontStyle key wonât work.
- Highlighting is fast when I move my cursor line by line, but when I move it without release and then stop, it takes about a second to make highlight.
I tried editing the plugin core, but with no success. Are there any settings for that?
Thanks
- This is a limitation in Sublime Text
- At most, it should be about half a second at most. Basically a match is requested on certain events like: when you move your cursor, when you edit, etc. But doing this can bog down the editor if it was actually done on every key press etc. So there is a system in place, for instance, when you are having a lot of key press events, BH will hold off on matching the brackets until the events slow down. So on these occasions when BH has entered into a mode where it is delaying the matching, you can get a delay when coming out of it. This is much better than the alternative.
Hi Forum,
Iâm having trouble updating BracketHighlighter through Package Control:
ST 2.0.1, Build 2217
Current Version of BH: v2012.10.01.02.30.26
Update offered by Package Control: v2013.03.27.09.00.08
Upgrading fails and I get an error message: âAn error occured while trying to upgrade BracketHighlighter. Please restart ST to finish upgrade.â
Unfortunately restarting doesnât do nothing to solve the problem. Any help is much appreciated. Thanks.
Brilliant package! Very helpful.
I was wondering if there was a way to do the following:
- Make the Highlight Style syntax specific? E.g. I would like the style for a bracket to be âsolidâ when working on a LaTeX file, but âunderlineâ (or default) otherwise.
- Get the highlight to essentially just change the colour of the bracket? Right now I am approximating this behaviour by enabling âsolidâ highlight style and setting the background colour of brackethighlighter.curly in my colour scheme file to match the background colour of the colour scheme.
Cheers!
Thanks!
[quote=âcOrangeâ]
- Make the Highlight Style syntax specific? E.g. I would like the style for a bracket to be âsolidâ when working on a LaTeX file, but âunderlineâ (or default) otherwise.[/quote]
Not currently. It would make the definitions a lot more complicated (more than they already are), but I wonât rule it out.
Doesnât really work. This is a limitation of the Sublime API. I have tried setting the background to match the syntax background and tried changing font color to try and simulate the effect, but it just doesnât work well with sublime. Sorry. If this ever changes in the sublime API moving forward, then I will gladly add the feature.