Skip to content

statusBarColors modifies workspace settings.json #1565

@mgood

Description

@mgood
  • Click thumbs-up 👍 on this issue if you want it!
  • Click confused 😕 on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


What did you do?

Enabled "vim.statusBarColorControl": true

What happened instead?

The status bar color changes as expected, but it also saves those changes to my workspace .vscode/settings.json. My team keeps this file checked into Git for shared project settings, so these changes show up in my Git status and I have to be sure not to commit them.

A warning in the docs could help other users avoid the confusion about where these changes are coming from.

A more complete fix might require new APIs in VSCode for extensions to control the color without writing them to the settings file. A direct API call would probably also be more responsive. There is a noticeable delay between changing modes and the color updating that I found slightly distracting.

Technical details:

  • VSCode Version: 1.11.2
  • VsCodeVim Version: 0.6.18
  • OS: Mac Sierra

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions