Search code examples
visual-studio-codevscode-extensions

How to disable/hide CPack and Workflow buttons in VSCode CMake Tools extension?


After VSCode and CMake Tools extension update, there are 3 more buttons in the status bar: CTest, Run CPack, Run Workflow

I don't use those options and have only found how to hide CTest in the settings.

How do I disable or hide the other two?


Solution

  • Go to settings.json and add those lines. This helped me.

        "cmake.options.advanced": {
            "cpack": {
                "statusBarVisibility": "hidden"
            },
            "workflow": {
                "statusBarVisibility": "hidden"
            }
        }