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

Configure buttons in the status bar #212

Closed
mental13 opened this issue Jul 17, 2017 · 8 comments
Closed

Configure buttons in the status bar #212

mental13 opened this issue Jul 17, 2017 · 8 comments
Labels
enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: UI
Milestone

Comments

@mental13
Copy link

I use other VSCode extensions that add buttons to the status bar and cmake tools makes it really cluttered.
I would appreciate options to edit this and hide buttons that are redundant for a specific project

  • Run CTest
  • Make build and debug target the same (one selection for both)
  • Use icons for build and debug buttons
  • Minimize the name of the current project (instead of Cmake: ProjName: Debug: Ready a simple ProjName: Debug would suffice in most cases)
@leira
Copy link

leira commented Jul 27, 2017

Or we can configure to disable these status bar buttons all together.

@no-realm no-realm added the enhancement an enhancement to the product that is either not present or an improvement to an existing feature label Mar 1, 2018
@no-realm no-realm added this to the Backlog milestone Mar 1, 2018
@vector-of-bool
Copy link
Contributor

It's been a while...

Some upcoming UI refactors will change the CMake Tools GUI elements.

@vector-of-bool vector-of-bool modified the milestones: Backlog, 1.1.0 Jun 27, 2018
@vector-of-bool vector-of-bool added this to To do in 1.1.0 via automation Jun 27, 2018
@vector-of-bool
Copy link
Contributor

The buttons will have some clean up in 1.1, but I expect more clean up in 1.2, so I'm going to leave this open and move the milestone to 1.2

@vector-of-bool vector-of-bool modified the milestones: 1.1.0, 1.2.0 Jul 20, 2018
@vector-of-bool vector-of-bool removed this from To do in 1.1.0 Jul 20, 2018
TheZogoth added a commit to TheZogoth/vscode-cmake-tools that referenced this issue Jan 17, 2019
…).

src/cmake-tools.ts
==================
* CMakeTools.configure now executes CTestDriver.reloadTests

src/driver.ts
=============
* new function CMakeDriver.testfilePath
	Returns the path to CTestTestfile.cmake in the build directory
* CMakeDriver._cleanPriorConfiguration
	Added the removal of CTestTestfile.cmake from the build directory.
TheZogoth added a commit to TheZogoth/vscode-cmake-tools that referenced this issue Jul 20, 2019
…).

src/cmake-tools.ts
==================
* CMakeTools.configure now executes CTestDriver.reloadTests
@bobbrow bobbrow modified the milestones: 1.2.0, Backlog Jul 24, 2019
@bobbrow
Copy link
Member

bobbrow commented Jul 24, 2019

VS Code recently added the capability to hide status bar icons from an extension. It's an all-or-nothing toggle, but it should address @leira's comment.

bobbrow pushed a commit that referenced this issue Aug 10, 2019
src/cmake-tools.ts
==================
* CMakeTools.configure now executes CTestDriver.reloadTests
@tanveerbadar
Copy link

Can I upvote this 1000x? Kit selection and build mode (debug/release) are the biggest offenders here, eating into already limited available space.

@michaelkollmann
Copy link

michaelkollmann commented Mar 25, 2020

It'd be very interesting for me as well to customize which buttons are being displayed in the status bar.

I'm using CMake Tools for embedded development and I have to use a different debugger (marus25.cortex-debug) then the native VSCode one. This makes the "Debug" button in the status bare useless for me as I can't use quick debug. So now there is this button down there in the menu bar and I have to tell all my colleagues that they must not click this button. Quiet annoying...

Update:

I now have built my own command bar icons using the gsppvo.vscode-commandbar extension.
This makes it easier to use. Sadly I still rely on the CMake tools commandbar because there is no other way in the UI to set the Variant (Debug / Release) to build.

Is this a feature that is being planned to be add to the Cmake Tools UI?

@bobbrow
Copy link
Member

bobbrow commented Mar 28, 2020

@michaelkollmann, if you are using launch.json to configure debugging because the quick debug button doesn't work, you can actually move the launch.json config into the cmake.debugConfig setting. This allows you to override any of the defaults (e.g. "miDebuggerPath") that you may be needing to change.

@bobbrow
Copy link
Member

bobbrow commented Dec 4, 2020

This issue was addressed in version 1.4 but was never closed. New settings cmake.statusbar.visibility and cmake.statusbar.advanced were added to give you full control over the icons.

@bobbrow bobbrow closed this as completed Dec 4, 2020
@bobbrow bobbrow removed this from the On Deck milestone Dec 4, 2020
@bobbrow bobbrow added this to the 1.4.0 milestone Dec 4, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: UI
Projects
None yet
Development

No branches or pull requests

8 participants