Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Write to a different part of VS statusbar from extension

In my extension I'd like to be able to show some text in the VS status bar all the time, so I can't use "alert" part (the leftmost area), since anybody (VS/other extensions) can overwrite it.

It seems that IVsStatusbar doesn't have such a facility, it only has SetText(string) which sets the alert area. However, ReSharper is able to use rightmost area as well, it puts its code inspection info there.

Is there a way either to write to a different area of the status bar, or to hook up into process of setting the text of it (so I could append all the incoming text after my block)?

like image 227
vorou Avatar asked Dec 04 '25 08:12

vorou


1 Answers

I had the same requirement which I asked in MSDN Forum. I was told it is not possible through SDK.

like image 200
utkarsh Avatar answered Dec 05 '25 22:12

utkarsh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!