-
Notifications
You must be signed in to change notification settings - Fork 176
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
File colouring not working #462
Comments
Experiencing the same issues: VersionsPlugin:Version: 2.1.1 IDE:PhpStorm 2017.2.1 OS:Ubuntu Minimal (XFCE) 64bit 16.10 |
This seems related (although possibly not identical) to #453 |
I was having the same issue on OS X Sierra/PHPStorm 2017.2.1 and fell back to 2.0.4 and all is as it should be. I also sent the guy some money, because I didn't realize how much I've come to depend on knowing what's being ignored! |
Same issue, seriously messing with workflow. |
I'm having the same issue. Also, if I have the "Enable ignored file status coloring" checked when I start PHPStorm, and then disable it, the following exception is thrown (I hope this helps):
|
just installed 2017.2.2 and updated plugin. File colouring gone. |
Thank you guys for the report and all the details. I have released Can you please install the newest EAP version and confirm if it resolves this problem for you? |
@hsz thanks for your work. This has partially fixed it. We have a .gitignore that looks like this
We're getting no file colouring on e.g. httpdocs/siteconfig But we also have another .gitignore at httpdocs/themes/default/.gitignore and it's defined ignores are greyed out successfully. Additionally, we now have an exception being thrown.
|
@hailwood Thank for the quick feedback. Can you please check |
@hsz, No worries, I'll do what I can to help. We now have no file colours at all, and the contents of the directories that were being coloured before are now unlistable (sits there "loading..."). We also now have four different StackOverflowError exceptions being thrown. https://gist.github.com/hailwood/5b69684ce43734c49bb01e3e61e38a8e#file-gistfile1-txt Version: 2.2.0-RC3 |
…lowError, associate new files with IgnoreFileType in proper thread
@hailwood |
You're my hero @hsz thanks for your hard work. I'll be donating https://www.paypal.me/hsz on payday! |
I have install version 2.2.0 and it's seems to work fine but only till first restart of IDE. After restart of IDE it doesn't coloring again. If I remove the plugin and install it again it will work fine till next restart. Please fix it. |
yeah, stopped working after reboot |
Yes, not working for me either in Rider 2017.2 EAP still. This is with 2.2.1-RC1. Also, every line says "entry is never used." |
Confirmed. Workaround is to edit |
I confirm v2.2.1 fixes the issue (after cache invalidation), thanks! Edit: Actually it still doesn't work for files ignored by global Git ignore file. |
Cache invalidation is works till first restart of IDE. UPD: BTW I tried PhpStorm 2017.3 EAP and it's works fine even with version 2.2.0 |
I confirm in Rider that it does work to invalidate the cache, until you restart the IDE, then all coloring is gone again. |
if you have 2 projects and do invalidate cache then coloring works only in second opened project. |
Coloring isn't work anymore after I updated to PHPStrom 2017.2.4. |
Seeing same issue as @ikovalyov with latest phpstorm 2017.2.4 and the latest plugin release today. Coloring is buggy and comes and goes when multiple projects are open. |
still buggy when multiple projects opened |
With latest version it's even worse. Invalidate cache and restart enables colouring for few seconds and then it's gone. Not working at all now. |
Yes it's still buggy, but OK when I really need it I simply cut (cmd + x) all rules from the projects .gitignore, save the file, paste everything back, save the file again, and colouring is working again for quite a while. Even when switching between projects. |
lol, this "lifehack" works ) |
Confirmed that leymannx's workaround works with 2.3.0 and IDEA 2017.2.5 |
I don't have the issue anymore with plugin version 2.3.2 on PhpStorm 2017.3, even with rules from my global ignore file. |
@julienfalque you're right, updated to 2017.3 and everything is OK! |
Still not working for me in PyCharm 2017.3 |
Actually the issue still comes back randomly. |
It's still the only thing that is not working on in Version 2.3.2 in PhpStorm 2017.2 on Ubuntu 16.04. Files and folders are not marked as ignored. Sometimes (but not often) a reload of the pagetree seems to help - colors are ok for a short time. Opening the next project and the colors are all default again. |
After a few changes connected to the performance and indexing, we have |
@hsz no issues here Did we want this issue closed? |
Seems to work fine except when indexation is in progress: file colouring stops working until indexation is complete. This feels weird when e.g. on a PHP project using PhpStorm I remove the vendor directory and then run |
@hailwood thank you for the confirmation. @julienfalque This is because ignoring depends on indexed files. ;) |
I still having this issue. Sometimes the workaround suggestion from comment 327782046 works, sometimes doesn't. PhpStorm 2018.2 EAP .ignore plugin: 2.6.2 |
Seems to still work fine for me PhpStorm 2018.2 EAP .ignore plugin: 2.6.2 Difference is my Kernel is one point behind yours, I'm running the jetbrains built JDK whereas you have a manually installed Oracle version, and your JRE is slightly behind mine I wonder if you attempt to switch to the Jetbrains JDK if that would fix it? Would help narrow down the issue at least. |
I tried the Jetbrains JDK for 5 minutes, the colour of the elements in the Project tree was all right, but I could not use it any longer, because the font antialiasing is terrible with OpenJDK. |
Okay, so that helps by letting @hsz know it's an issue only on Oracle Java. With the project tree looking like this I'd be interested in seeing a screenshot comparison with the Oracle JDK @Sweetchuck |
IntelliJ IDEA 2019.2 introduced native support for the dot-ignore files handling of Git (.gitignore), Mercurial (.hgignore), and Perforce (.p4ignore). Because of that, this issue is now obsolete. |
Prerequisites
mobi.hsz.idea.gitignore
package nameDescription
Running the latest phpstorm eap and the latest version of the plugin the file colours no longer work (ignored files still show with default colours in file tree).
I feel it may actually be an issue with the identification of the ignored files rather than the colouring as the "Hide ignored files" also has no effect.
There is no exception being thrown.
I have tried disabling the setting and invalidating cache + restart, then enabling and invalidating cache + restart to no avail so it does not appear to be a project issue (also occurs over all projects).
I will note however that after invalidating the cache and restarting, during indexing for the last ~5 seconds the colours do work, but only in the last part of the indexing and they stop working again after it has completed.
Versions
Plugin:
Version: 2.1.1
IDE:
PhpStorm 2017.2.1 EAP
Build #PS-172.3968.23, built on August 26, 2017
JRE: 1.8.0_152-release-915-b11 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.8.0-59-generic
OS:
Kubuntu 64bit 16.10
The text was updated successfully, but these errors were encountered: