-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitDecoration.ignoredResourceForeground Theme Bug #37857
Comments
It doesn't work for me on the latest insiders:
Basically, when I modify the |
Also, the |
One more example:
|
When a file is already tracked by git, adding it to |
re #37857 (comment) @vvs What am I missing? (I did tweak the ignored color to be quite strong here) |
Yeah, that was a bad example, so I posted a better one :)
You don't seem to be missing anything, everything works fine on your side. :) The question is what am I missing, since it doesn't work for me. Nothing in the console logs either. With modified settings and without modified settings, it doesn't matter. I tried to remove the theme settings, the color customizations, still not working. Tried to disable all extensions, no change. Basically, no matter what I do I wasn't able to actually color the ignored files... |
Can you check with the Git output (Git: Show Git Output)? It should print invocation of the |
Yes, I see the When I run the same command in the console, I see, among other things, the following:
The VS Code correctly handles the IGNORE file as ignored, and it is not shown in the source control tab. The only part missing is the actual coloring of the file, for some reason. |
If it helps at all, I'm having the exact same problem as @vvs. I've deleted all my custom settings in case one of those was conflicting, but I still get the same behaviour. |
re #37857 (comment) @vss Maybe a casing issue... Can you open the file and copy&paste its path (from the explorer or tab title) and compare with the check-ignore-command? re #37857 (comment) only check-ignore commands are important here... /cc @joaomoreno |
@jrieken I've created a brand-new repository, that contains only Here's what I see in the git log:
And here's what I see when I copy-paste that command in the console:
This doesn't seem to be case-related. |
Like that? Including the quotes and double backslashes? Or is that just a console artefact? |
Exactly like that, with quotes and everything. |
Great, now we are talking... Can you try with the |
@vvs I have also pushed a change to master that uses |
@jrieken Things are getting weirder and weirder. I don't think the your changes made it into insiders build yet, so I've built the VS Code from sources myself to try it out, and I see that Furthermore, I see that the files are properly ignored and colored (!!!) for the small test projects I created to test the problem. But my main (big) project is still not fixed for some reason. I'll wait for the official insiders build to try it there and report back with the weird behaviors I see (I am hesitant to report them now, since that could be caused by my custom build). |
Yeah, I have missed the insider-train by 2 hours... It's good to know my change made this a little better... |
@vvs Can you try with latest insiders please? |
@jrieken It works now, even for me 😄 Thank you! |
Hmm, the latest insiders is completely broken for me, does not provide ANY git functionality anymore. In the log I see:
The git in command line is naturally fine and works exactly like it worked yesterday.
P.S. I am going to reinstall VS Code and see if it helps... |
I've filed the git breakage in the separate issue (#38244). Once it is fixed, I could try to verify the fix for this issue. |
@vvs re #37857 (comment) That cannot be related to this change... |
Have cherry-picked the changes for the 1.18.1 |
(1 theme extensions excluded)
Hi Folks,
On the back of your great 1.18 release, I have been updating Contrast Theme with the new
gitDecoration.*
properties. I don't believegitDecoration.ignoredResourceForeground
works. All the others work just fine.Reproduces without extensions: Yes/No
The text was updated successfully, but these errors were encountered: