Sublime Forum

Multiple gutter icons: how to decide which is visible?

#1

I am writing a plugin that uses gutter icons, and have found that if there is already a gutter icon on the selected line, then my gutter icon is not visible. Is there a way to ensure my icon is visible without removing the existing icon/region?

to clarify a bit, my plugin places gutter icons to denote breakpoints, and if I am using gitgutter, the gitgutter icons take priority over my breakpoint icons. i need my icons to take priority without being able to access the other plugin’s icons.

0 Likes

#2

I’d like to be able to specify my own order according to what I deem most important, preferably in the settings in some form of array: e.g.

gutter_order: 
  "SublimeLinter", // Most important
  "BracketHighlighter",
  "GitGutter"
  "*" // any others
]
0 Likes