tomoki1207 / selectline-statusbar

Displays selected lines count in status bar.
https://marketplace.visualstudio.com/items/tomoki1207.selectline-statusbar
MIT License
18 stars 6 forks source link

Change placement on status bar #4

Closed Otiel closed 6 years ago

Otiel commented 6 years ago

I have trouble placing the component exactly where I want on the status bar (see red arrow below). I have set "selectline.alignment": "right".

"selectline.statusbarPriority": 100 places it too far too the left, while "selectline.statusbarPriority": 99 places it too far to the right. Comma values do not seem to be supported. Is there any way to get the placement I want?

image

tomoki1207 commented 6 years ago

Thank you for reporting.

Unfortunately, we can't handle the place as you want. The selectline.statusbarPriority is used as a priority param at StatusBarItem. And may be the statusbaritems between 2 blue arrows have same priority, 100. In case of exists duplicate priorities, only VSCode knows how will be order.

Otiel commented 6 years ago

I was afraid that was the issue here. Thanks for confirming. I might open an issue on https://github.com/Microsoft/vscode and see if they can change the priority of the default items of the status bar.

Otiel commented 6 years ago

Created #38620.