2

VS Code added a button to AI-generate commit messages. I don't want nor need this feature. Is there any way to remove the button from the UI entirely? I have already chosen "Hide Copilot" in the title bar.

The "generate Commit Message" button in the commit message field

"Hide Copilot" still leaves the above button.

2
  • is this question different from stackoverflow.com/q/75377406/11107541 ? Commented Sep 29 at 9:35
  • @starball The core issue is the same (get rid of AI features) but there are version specific differences: "generate commit messages" does not exist in the other q&a, top answers don't mention the disabling AI features setting but refer to hiding copilot (which is a different setting now). Commented Sep 29 at 10:08

1 Answer 1

1

There is a different setting for disabling all AI features apart from "Hide Copilot". As per the official documentation:

You can disable the built-in AI features in VS Code with the [chat.disableAIFeatures setting](vscode://settings/chat.disableAIFeatures) [The link opens the VS Code setting directly.], similar to how you configure other features in VS Code. This disables and hides features like chat or inline suggestions in VS Code and disables the Copilot extensions. You can configure the setting at the workspace or user level.

[...]

If you have previously disabled the built-in AI features, your choice is respected upon updating to a new version of VS Code

"Hide copilot" and the disable-all-AI-features-setting are different settings in different places. This already caused confusion. The decision to make this all opt-out and seem to be deliberate and final as per this Github issue.

Sign up to request clarification or add additional context in comments.

2 Comments

I have "chat.disableAIFeatures": true in my config, yet the "generate commit message" button remains.
Have you tries setting it via the settings menu itself?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.