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

Nothing shown in status bar if commit message line length is too long #60

Closed
TomServo3000 opened this issue Aug 14, 2019 · 3 comments
Closed

Comments

@TomServo3000
Copy link

If a commit message line length is too long to display in its entirety, nothing will be displayed at all in the status bar. It would be much better to concatenate the message if possible.

@Sertion
Copy link
Owner

Sertion commented Aug 14, 2019

Hey thomaspugliese!

Are you using commit.summary in the gitblame.statusBarMessageFormat config option and this makes the status bar element disappear?

If this is the case there is not much I can do as vscode hides all status bar items that it can no longer fit in the status bar. I could add a parameter for commit.summary where you could configure the cutoff point yourself (a basic substring) but the vscode extension API does not allow me to measure if a text will fit or not.

@TomServo3000
Copy link
Author

TomServo3000 commented Aug 14, 2019

Are you using commit.summary in the gitblame.statusBarMessageFormat config option and this makes the status bar element disappear?

Yes.

vscode hides all status bar items that it can no longer fit in the status bar.

That sounds like the actual bug then.

@Sertion
Copy link
Owner

Sertion commented Oct 9, 2019

As of now there is nothing I can do here. It is being tracked in vscode#6651.

@Sertion Sertion closed this as completed Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants