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

[Feature request] Options for a smaller size in the status bar #1612

Closed
Inujel opened this issue Jan 4, 2021 · 2 comments
Closed

[Feature request] Options for a smaller size in the status bar #1612

Inujel opened this issue Jan 4, 2021 · 2 comments
Labels
duplicate a duplicate of an already present issue Feature: UI question

Comments

@Inujel
Copy link

Inujel commented Jan 4, 2021

The finite space in the status bar of vscode is often a limiting factor of the UI. I often have to choose which extension I want to display or hide in order to see what I want.

I find sad that the cmake tools extension often takes about the half of my screen with a good part of it being not that useful.

image

It would be great if the extension could provide some settings to reduce the usage of the space in the status bar.

My thoughts are:

  • image

    • Having the name of the current configuration is useful
    • I think the current icon does not convey any useful information. I'd rather have either
      • The CMake logo, which could indicate that this area of the status bar is used by cmake tools
      • An icon indicating that this button is used to switch between configurations (but I have no further idea)
    • The "CMake: " prefix is not useful
    • The information provided by the ": Ready" suffix could maybe be provided with an overlay of the button icon?
  • image

    • This is the biggest offender. I rarely switch between kits and it takes a huge amount of space. I think having the button without text would be perfectly fine.
  • image

    • The "Build" text should be redundant. The icon should suffice. However, maybe the gear is not the best choice of icon for this. Maybe something more in the spirit of the compilation icon from Visual Studio would be clearer. Even without changing the icon, I think offering the option to remove the text would be great.
    • Offering the option to select different targets to build and to run might be useful in some cases, but I find it to be a burden more often than not. I think having the option to select a single target for both building and running would be good in itself, and would reduce the amount of space used by the extension.
  • image

    • The text could be removed.

All in all, my ideal display would be something like
image
(Done in paint with a trackpad, please be forgiving)

Thanks for reading this. Please keep in mind that I'm suggesting to add options, not to change the default look of the extension.

@bobbrow
Copy link
Member

bobbrow commented Jan 5, 2021

We added two settings in 1.4.0 to allow you to control how the status bar appears. #212

Please take a look at cmake.statusbar.visibility and cmake.statusbar.advanced which should give you full control over the appearance of the status bar. In your case, I think you would want to set cmake.statusbar.visibility to "icon" and then under cmake.statusbar.advanced override the appropriate items to make them "visible" or "compact" according to your preference.

@bobbrow bobbrow added duplicate a duplicate of an already present issue Feature: UI question labels Jan 5, 2021
@bobbrow bobbrow closed this as completed Jan 5, 2021
@Inujel
Copy link
Author

Inujel commented Jan 5, 2021

Oh, this is great, I'm sorry I missed it.

I did search for "status bar" before posting this, but it shows many many other unrelated issues before #212.

Anyway thx, this is perfect.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate a duplicate of an already present issue Feature: UI question
Projects
None yet
Development

No branches or pull requests

2 participants