Sublime Forum

BracketHighlighter2 BETA Branch

#61

Seems doable, tedious mostly, really.

So I have to do this for all the icons except those that don’t make sense to have them, correct? If so, should I just fork the project and when I finish do a pull request?

  • Eduan
0 Likes

#62

OK, well I forked the project, I’m gonna start working on it, expect it today or tomorrow. :smile:

0 Likes

#63

[quote=“Eduan”]Seems doable, tedious mostly, really.

So I have to do this for all the icons except those that don’t make sense to have them, correct? If so, should I just fork the project and when I finish do a pull request?

  • Eduan[/quote]

You understand the problem quite well. Very tedious. More than I cared to do.

But, you will make a lot of people happy :smile:. You are not the first to request this; my answer has always been the same, and I have yet to see icons. So it will be nice to actually get icons.

0 Likes

#64

[quote]Indeed, hahaha

  • Kurtjmac
    [/quote]

Status report, finished closing tags (quite easy. :stuck_out_tongue: )

Gonna finish opening brackets now.

BTW, I’m also including the quotes, I think I’m gonna make a single quotes icon also, gonna make opening/closing icons for single/double quotes. :smiley:

0 Likes

#65

Make sure you test the small icons by shrinking your font and then move the cursor around.

0 Likes

#66

I’ve run across a block, how do you actually enable the package so that I can test it? lol

0 Likes

#67

OK, well I wasn’t able to test it cause I wasn’t able to figure it out.

But I have updated the icons, and it’s ready, so you just gotta test it using my fork:
github.com/Greduan/BracketHighlighter

  • Eduan
0 Likes

#68

Did you restart ST2 after installing it? Also, the folder must be called BracketHighlighter under packages.

I will try giving it a go later tonight.

Make sure you commit it or I can’t test it.

0 Likes

#69

Is there a way to use package control to grab a branch other than master of BracketHighlighter?

0 Likes

#70

Go to User/Package Control.sublime-settings and add the link to the repository. key at the bottom of the file:

[pre=#151515] “SublimeWebColors”,
“Terminal”,
“Theme - Phoenix”,
“VBScript”
],
“package_name_map”:
{
“sublime-languages”: “AAALanguages”
},
“repositories”:

    "https://github.com/facelessuser/BracketHighlighter/tree/BH2",
    "https://github.com/netatoo/phoenix-theme",
    "https://github.com/bizoo/SmartCursor",
    "https://github.com/facelessuser/sublime-languages",
    "https://github.com/facelessuser/FuzzyFileNav"
][/pre]

Then issue the Package Control: Upgrade Package command and pick BracketHighlighter

0 Likes

#71

@eduan don’t forget to commit your icons to your branch. I can’t test them if they aren’t there. And thanks for your effort.

0 Likes

#72

[quote=“facelessuser”]

Go to User/Package Control.sublime-settings and add the link to the repository. key at the bottom of the file:

[pre=#151515] “SublimeWebColors”,
“Terminal”,
“Theme - Phoenix”,
“VBScript”
],
“package_name_map”:
{
“sublime-languages”: “AAALanguages”
},
“repositories”:

    "https://github.com/facelessuser/BracketHighlighter/tree/BH2",
    "https://github.com/netatoo/phoenix-theme",
    "https://github.com/bizoo/SmartCursor",
    "https://github.com/facelessuser/sublime-languages",
    "https://github.com/facelessuser/FuzzyFileNav"
][/pre]

Then issue the Package Control: Upgrade Package command and pick BracketHighlighter[/quote]

It just tells me there are no packages available for upgrade.

0 Likes

#73

Try restarting ST2, it might not have updated its list of packages to upgrade yet. On restart, it might upgrade the package for you…then you would have to restart again because it is so different than the old version.

EDIT: Post your package control settings file if you are still having trouble so I can verify everything is in there correct. Oh, and if you never had BrackeHighlighter installed in the first place, just install it like normal.

0 Likes

#74

[quote=“facelessuser”]Try restarting ST2, it might not have updated its list of packages to upgrade yet. On restart, it might upgrade the package for you…then you would have to restart again because it is so different than the old version.

EDIT: Post your package control settings file if you are still having trouble so I can verify everything is in there correct. Oh, and if you never had BrackeHighlighter installed in the first place, just install it like normal.[/quote]

I had never had it installed in the first place. Thanks for your help.

I like the default styling of this much better than the 1.X BH; it’s much less in-your-face without sacrificing usefulness.

0 Likes

#75

Thanks to @Eduan for create a billion tiny icons, we now have different icons when brackets are on the same line and not.

Might need to restart to see it.


0 Likes

#76

[quote=“facelessuser”]Thanks to @Eduan for create a billion tiny icons, we now have different icons when brackets are on the same line and not.

Might need to restart to see it.

[attachment=0]Screen Shot 2012-10-27 at 10.48.07 AM.png[/attachment][/quote]

Yay! You’re welcome. :smile:

Expect some Retina display support soon (as soon as I figure it out). People out there with Retina display, be ready to test and take huge screenshots.

0 Likes

#77

@Eduan before you waste too much time, you should make sure that ST2 actually uses retina gutter icons. I looked in the default theme, and there are no retina icons there. So I wonder if ST2 actually supports retina gutter icons.

0 Likes

#78

Well it does say in the changelog that it added Retina display support. And also the Soda theme has working Retina display support. So all we have to do is figure out how to make the package use Retina icons.

0 Likes

#79

I think I remember some people saying gutter icons weren’t supported. But if they are supported, all you have to do is double the size and but @2x at the end of the name.

So icon.png will have a retina version called icon@2x.png which is twice the width and twice the hight.

0 Likes

#80

OK, thanks for the info. :smile:

I did have the idea of making it double the size, but didn’t know about the @2x at the end. I will start working on them now. :smile:

Even if they’re not supported currently, they will eventually I imagine, so the earlier the better. :smile:

0 Likes