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

SublimeText 3: Gutter status icons hidden under those from other plugins #436

Closed
JamesHenry opened this Issue Jan 28, 2016 · 5 comments

Comments

Projects
None yet
3 participants
@JamesHenry

I have never written a Sublime package before, so I am not sure if you can even do anything about this, but I thought I would report it nonetheless...

I spent a while trying to debug why I was not getting status icons in the gutter of ST3, despite having feedback in the console that my tests were running, and it turned out it was because the GitGutter plugin's (general title of the issue is just an assumption that this will come up in other similar plugins) git diff icons were taking precedence and being shown instead.

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Jan 28, 2016

Member

Thanks for the investigation and for the report. We'll have a look into how to fix it.

Member

ArtemGovorov commented Jan 28, 2016

Thanks for the investigation and for the report. We'll have a look into how to fix it.

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Jan 29, 2016

Member

So in Sublime Text it's not possible to have multiple gutters, and one has to choose what icons from what plugin to see. There's this long discussion in the GitGutter repo and there's a solution to make GutGutter not to overwrite the icons:

  • create GitGutter.sublime-settings text files,
  • paste the following content there:
{
  // Do not set GitGutter icons in these regions
  // Useful for making sure GitGutter does not override other
  // regions, (e.g. Bookmarks, Linter/BracketHighlighter icons.)
  "protected_regions": ["wallaby_state1", 
                                    "wallaby_state2",
                                    "wallaby_state3",
                                    "wallaby_state4",
                                    "wallaby_state5"]
}
  • save the file to your Sublime installation folder + Packages/User/ (or Data/Packages/User/ if you're on Windows) subfolder.

We will also add a command to toggle wallaby indicators visibility, so that one may use/see other plugins icons.

Member

ArtemGovorov commented Jan 29, 2016

So in Sublime Text it's not possible to have multiple gutters, and one has to choose what icons from what plugin to see. There's this long discussion in the GitGutter repo and there's a solution to make GutGutter not to overwrite the icons:

  • create GitGutter.sublime-settings text files,
  • paste the following content there:
{
  // Do not set GitGutter icons in these regions
  // Useful for making sure GitGutter does not override other
  // regions, (e.g. Bookmarks, Linter/BracketHighlighter icons.)
  "protected_regions": ["wallaby_state1", 
                                    "wallaby_state2",
                                    "wallaby_state3",
                                    "wallaby_state4",
                                    "wallaby_state5"]
}
  • save the file to your Sublime installation folder + Packages/User/ (or Data/Packages/User/ if you're on Windows) subfolder.

We will also add a command to toggle wallaby indicators visibility, so that one may use/see other plugins icons.

@JamesHenry

This comment has been minimized.

Show comment
Hide comment
@JamesHenry

JamesHenry Jan 29, 2016

Thanks a lot for looking it that and for providing the workaround!

Thanks a lot for looking it that and for providing the workaround!

@PWKad

This comment has been minimized.

Show comment
Hide comment
@PWKad

PWKad Feb 20, 2016

You should add a link to this in the sublime installation walk through if you can.

PWKad commented Feb 20, 2016

You should add a link to this in the sublime installation walk through if you can.

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Feb 20, 2016

Member

@PWKad Thanks for the suggestion, done.

Member

ArtemGovorov commented Feb 20, 2016

@PWKad Thanks for the suggestion, done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment