Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code Git decorations disappear

I'm new to VSCode, and am really liking it. The Git integration on the Mac is really superb.

However, when I switched that project over to Linux, the Git decorators (indicating changed files) disappear from the File Explorer view. They still show up on the Git view in the left panel. Also, no indicators show up in the file editing window.

Looked online for help, which mainly says to turn on the option to show decorators ("git.decorators.enabled": true), which are on already.

Edit: if it matters, I'm using Mac 10.13.6 / VSC 1.28 Ubuntu 16.04 under Parallels / VSC 1.29.0 Ubuntu 18.04.1 under VirtualBox / VSC 1.28.2

Spent yesterday chasing this, and changing options, without success. I could just keep editing on Mac, and skip Linux, but with Linux improving every release, it'll only be a matter of time until I migrate...

Any suggestions on what I could do to bring those back on Linux? I'm pretty sure I saw them yesterday morning, then they went away as I did more stuff, and never came back.

like image 456
jvonehr Avatar asked Nov 14 '18 22:11

jvonehr


1 Answers

Are you using symlink pointing to a folder? It appears that if I use the path of the symlink to a folder to open the project, the Git decorations would disappear from the File Explorer view, and if using the absolute path to that folder, then the Git decorations would appear.

like image 76
Lingchao Cao Avatar answered Oct 18 '22 21:10

Lingchao Cao