Solvedidea gitignore All files are marked as ignored

Just updated to version and all my files are now marked as ignored.
Here is my .gitignore file:






PhpStorm 2019.1.2
Build #PS-191.7141.52, built on May 8, 2019
JRE: 1.8.0_202-release-1483-b49 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

51 Answers

✔️Accepted Answer


All right, fix has been released with v3.1.2. Now it has to be accepted by the Jetbrains team.


Other Answers:


All right - fix is ready for the deployment. It turned out, that I was checking if the tested file is inside module (so it's not an outer file like /tmp/foo.txt) using module.getModuleContentScope().contains(file) and for some files, SDK returned false, but for their parents/grandparents - true.
In my opinion, it shouldn't work this way, but I've switched the test method to comparing the file's path and everything is displayed correctly.

I'll release v3.1.2 soon after testing for the previous IDE platforms (2018.x/2017.x).

Yes I see there are no rules to ignore all files. This is my work project so I can't share it.
This .gitignore file wasn't changed for a while, but today I updated plugin and problem happend. Restarted phpstorm 2 times and had to disable plugin becuase of this issue.

I just disabled this plugin, It ignores all of my files and folders in my project

Glad to know I'm not alone :)

I just disabled this plugin, It ignores all of my files and folders in my project

Related Issues:

idea gitignore All files are marked as ignored
All right fix has been released with v3.1.2 Now it has to be accepted by the Jetbrains team. ...
idea gitignore NoClassDefFoundError, Version 3.2.0 on IntelliJ 2019.2
Ok let me clarify the whole situation here because we run into some chaos here .ignore plugin was su...
ripgrep Add support for replace in files
This is more easily accomplished using sed than I think people realize sed is quite a beast and is n...
ripgrep hidden files to be searched by default
The following is @okdana's solution but with the .git folder remaining ignored: ...
ripgrep ripgrep no way to exclude directory e.g. Tests and search for all *.c files
@sumonto you're correct $ rg -w str1 -tc -g '!tests/*' would do what you want So is that not working...
ripgrep Option for outputting absolute paths
I don't see how that's a niche problem judging from others mentioning here they have the with the sa...
ripgrep windows doesn't detect stdin automatically
This is the golden ticket for posterity: Namely running rg pat < file will recursively search the cu...
ripgrep fulltext search
I'm a little late to this issue but I'll share this in case it helps @BurntSushi with any ideas ...
gradle intellij plugin Integrate intellij-plugin-verifier
I've written a workaround for this problem in my Randomness plugin It will download the IDEs for you...
intellij rust Debugging broken in 2021.2 on Linux (LLDB)
Thanks for everyone helping us reproduce the issue! We've built a new LLDB bundle (based on LLVM ver...
flutter intellij Can't wrap widget list with new widget assist by Alt+Enter
@wisit-phusi I thought you may disable Dart Quick Assists (Alt+Enter) from IDE To make sure please o...
flutter intellij Android Studio device list shows "loading" and no devices connected
Search everywhere (Shift + Shift): Search for restart flutter daemon: Device should appear after thi...
flutter intellij Auto complete import is ignoring package imports
Fixed with those steps: Switched to beta and back to master clearing .packages .dart_tool directory ...
flutter intellij 'Build Project' action doesn't work for flutter projects
For anyone looking for a workaround From @darrellpf on April 30 ...
flutter intellij An improved console for logging.
I use the logging package for printing logs Being able to filter for loggerName (or parts of the .-s...
flutter intellij Android Studio stuck when creating new Flutter project(macOS)
Hi @HLQ-Struggle This is probably due to insufficient disk permission Can you please make sure you'v...
pgjdbc org.postgresql.jdbc.PgConnection.createClob() is not yet implemented
@mkpaz The property hibernate.jdbc.lob.non_contextual_creation works you just need to use it like th...
springfox @ApiModelProperty throwing NumberFormatException if example value is not set
Hi everybody I solved this issue removing old swagger version (1.5.20) and add new one In pom.xml ...
elasticsearch es crashes with "Native controller process has stopped - no new native processes can be started"
@martin-g Did you find it out? having the same issue Update: setting: - discovery.type=single-node s...
retrofit Kotlin & @Body
You can still use Map just suppress its wildcardness with @JvmSuppressWildcards ...
dbeaver "invalid privatekey" connecting through SSH tunnel
Run this on your key to convert it to RSA private key Helped me ssh-keygen -p -m PEM -f ~/.ssh/id_rs...
RxJava How to keep an Observable alive after onError?
The pattern for this abersnaze is referring to is (swallowing all errors (I'm learning reactive) My ...
junit5 java.lang.NoSuchMethodError: org.junit.platform.commons.util.ReflectionUtils.tryToLoadClass Migrating to 5.4.0
Fixed by replacing: with: JDK: 11 Spring Boot: 2.1.2.RELEASE JUnit: 5.4.0 Maven: 3.6.0 Surefire: 3.0...
capacitor FileReader API not firing
You can try this. Description of the problem: In my project I'm trying to read and convert a Blob do...
springfox Swagger ui stuck on unable to infer base url
I had the same problem using Spring Boot 2.0.0.M4 + Spring Security This solved my issue: I don't kn...
springfox Issue when using Swagger latest version 2.9.2 with Spring boot 2.2.0
Added this to dependency and it worked for me. Hi ...
generator jhipster Uncaught Error: Module build failed: Error: ENOENT: no such file or directory, scandir '**\node_modules\node-sass\vendor'
@lancurtis run npm rebuild node-sass Hi There was an error occured in my chrome on windows 10 x64 wh...
cordova android Build errors about drawable since upgrading to v8.0.0
Hello all ! This error also appears when I do release build after upgrading to cordva-android@8.0.0 ...
Android Iconics Execution failed for task ':app:mergeExtDexDebug'.
Hi I solved the same issue by setting multiDexEnabled true in /android/app/build.gradle like: androi...
elasticsearch Red Cluster State: failed to obtain in-memory shard lock
It looks like there was a primary with no replicas allocated to the node when it got disconnected fr...
docker maven plugin No plugin found for prefix 'docker' in the current project and in the plugin groups
in maven :settings.xml add Running 'mvn docker:build -DdockerImageTags=ci-$JOB_BASE_NAME-$BUILD_NUMB...
dbeaver Postgres connection error
@lcustodio on the SSL page set SSL mode: require and either leave the SSL Factory blank or use the o...
webdrivermanager session not created: This version of ChromeDriver only supports Chrome version 75
I got this working I started getting this error sometime recently in my own code base ...
vscode java Warning: Classpath is incomplete. Only syntax errors will be reported.
Yes I opened a folder that contains a pom.xml file it did not show this warning again I think the wa...
capacitor iOS xcode Project - No such module found ‘Capacitor’
@vi354258 make sure you are opening the Xcode Workspace (App.xcworkspace instead of App.xcodeproj) ...
spring cloud netflix Eureka client shutting down unexpectedly after registering with Eureka server
I got the same problem I resolved it by adding this dependency: My service app-name shuts down unexp...
cordova android Support new Android App Bundle package format
@jfoclpf I got it working on circle ci The steps are: 4 - Upload app.aab to google play. ...
uCrop FileUtils NumberFormatException
This is not a complete solution just nothing will happen But I think users should be able to open fi...
okhttp Android O StrictMode: Untagged socket detected
there would be negligible value to having such a tag Suppose a dev team sets penaltyDeath() for all ...
dbeaver Create a PPA for updating dbeaver under ubuntu
First DBeaver CE PPA is here: Usage: I...
spring boot Maven-failsafe-plugin fails to execute integration tests
A workaround is to configure a classifier for the repackaged jar This allows Failsafe to use the ori...
testcontainers java "Can not connect to Ryuk" on macOS with Docker for Mac
Docker for Mac was released yesterday pushing this issue into the stable version ...
RxJava 3.x: Potential migration/compatibility issues
After careful considerations of all target environments (Android/Desktop/Server) as well as any futu...
mapstruct Mapstruct + lombock failed compilation
Whoever stumbles across this issue now with IntelliJ 2020.3: In my case I could resolve the issue by...
react native iap IOS check if autorenewal subscription is still active
Here is the function I am using that works on both Android and iOS properly sorting on iOS to ensure...
graphql code generator [TypeScript Resolvers] Apollo Server resolvers types mismatch
For anyone wondering where to put the useIndexSignature: true my codegen.yml looks like this (see th...
mockito There is a issue, after I downgrade the Mockito version, it disappeared
Confirmed upgrading to 2.0.0-beta.5 does solve the problem I had to do this for both powermock-api-m...
androidannotations Could not find AndroidManifest.xml file using generation folder
@mihaiAdascalitei Thanks for your solution A little bit improvement. Android build fails with this e...
vscode java The Language Support for Java server crashed 5 times in the last 3 minutes. The server will not be restarted.
Thank you for giving me the setting I was able to figure out what was going wrong...