Skip to content
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

Implement a solution for separators #3

Open
spencerwmiles opened this issue Oct 21, 2021 · 1 comment
Open

Implement a solution for separators #3

spencerwmiles opened this issue Oct 21, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@spencerwmiles
Copy link
Owner

In the current implementation, buttons can be dangerously close together and you may accidentally run a task by accident if moving too quickly.

Add a solution to allow for additional spacing or have an object type that would inject a "|" at minimum if desired.

@spencerwmiles spencerwmiles added the enhancement New feature or request label Oct 21, 2021
@spencerwmiles spencerwmiles self-assigned this Oct 22, 2021
@FaBjE
Copy link
Collaborator

FaBjE commented Jan 13, 2023

I found playing with the priority argument in createStatusBarItem() that you can re-order the items you add within the scope of the WHOLE status bar. (Not just the items we add)
Given a low/high enough priority it ends up "between" other statusBarItems of other extensions.

I think whatever is done to enhance this it needs to be within the status bar item.
We could add a config option for a kind of "Prefix-Postfix" that is applied for every button.
But on the contrary, is it that much better than just adding it manually?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants