wisetime-io / vscode-branch-in-window-title

Visual Studio Code extension that shows the current Git branch in the window title
Apache License 2.0
12 stars 6 forks source link

Workspace settings keeps changing #6

Closed Maxim-Filimonov closed 3 years ago

Maxim-Filimonov commented 3 years ago

Hi, I have noticed that the plugin keeps modifying workspace settings.json which my team is using to keep shared vscode settings. Is there a way to configure it to use my local settings.json instead of workspace settings.json?

igumcheg commented 3 years ago

Hi @Maxim-Filimonov, writing into local settings.json will update all the windows of vscode you have opened. Please also note that if you have two windows opened with different git branches used, it can cause infinite loop. Moreover vscode is not providing any tools to update local settings.json gracefully.

I think for your case git commit hook can be used to remove lines updated by plugin in settings.json.