Solvedidea gitignore All files are marked as ignored

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

vendor
public_html/.maintenance
.idea
protected/data/script_map.json

config/docker/logs/
config/docker/etc/php.d/local-xxx.ini
config/docker/local/.bash_history
.sass-cache
/cache.properties
/build/logs/
/build/coverage/
scripts/deploy/
.php_cs.cache
public_html/sitemaps/*

/tests/Codeception/_output/
/tests/Codeception/_support/_generated/

config/php/settings.php
build

public_html/bower/
/phpunit.xml
node_modules/
/public_html/build/

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

hsz
450

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

image

Other Answers:

hsz
103

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:

127
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. ...
22
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...
107
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...
40
ripgrep hidden files to be searched by default
The following is @okdana's solution but with the .git folder remaining ignored: ...
23
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...
21
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...
3
ripgrep windows doesn't detect stdin automatically
This is the golden ticket for posterity: Namely running rg pat < file will recursively search the cu...
3
ripgrep fulltext search
I'm a little late to this issue but I'll share this in case it helps @BurntSushi with any ideas ...
6
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...
6
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...
133
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...
21
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...
21
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 ...
21
flutter intellij 'Build Project' action doesn't work for flutter projects
For anyone looking for a workaround From @darrellpf on April 30 ...
16
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...
5
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...
360
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...
189
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 ...
180
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...
173
retrofit Kotlin & @Body
You can still use Map just suppress its wildcardness with @JvmSuppressWildcards ...
158
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...
154
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 ...
152
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...
126
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...
121
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...
105
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 ...
101
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...
92
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 ...
90
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...
89
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...
83
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...
78
dbeaver Postgres connection error
@lcustodio on the SSL page set SSL mode: require and either leave the SSL Factory blank or use the o...
74
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 ...
72
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...
70
capacitor iOS xcode Project - No such module found ‘Capacitor’
@vi354258 make sure you are opening the Xcode Workspace (App.xcworkspace instead of App.xcodeproj) ...
65
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...
63
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. ...
61
uCrop FileUtils NumberFormatException
This is not a complete solution just nothing will happen But I think users should be able to open fi...
61
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 ...
60
dbeaver Create a PPA for updating dbeaver under ubuntu
First DBeaver CE PPA is here: https://launchpad.net/~serge-rider/+archive/ubuntu/dbeaver-ce Usage: I...
55
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...
55
testcontainers java "Can not connect to Ryuk" on macOS with Docker for Mac 2.4.0.0
Docker for Mac 2.4.0.0 was released yesterday pushing this issue into the stable version ...
52
RxJava 3.x: Potential migration/compatibility issues
After careful considerations of all target environments (Android/Desktop/Server) as well as any futu...
51
mapstruct Mapstruct + lombock failed compilation
Whoever stumbles across this issue now with IntelliJ 2020.3: In my case I could resolve the issue by...
48
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...
48
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...
46
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...
45
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...
43
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 java.jdt.ls.vmargs setting I was able to figure out what was going wrong...