-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Commands can write to status bar #177
Conversation
I think we should just remove it entirely or move the message to the status bar. |
We could move the message to the status bar. |
👍 |
f3dca1a
to
52224e4
Compare
@@ -81,12 +81,16 @@ export class ModeHandler implements vscode.Disposable { | |||
} | |||
} | |||
|
|||
private setupStatusBarItem(text : string) : void { | |||
private setupModeStatusBarItem(text : string) : void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we consolidate these functions? setupModeStatusBarItem
and setupStatusBarItem
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
I've passed the mode handler down to the command. Will there be more than one instance of mode handler? Otherwise we could make it a singleton and that could simplify the API. |
Nah, this is fine. Thanks! |
Commands can write to status bar
Fixes #156.