Plugin is saying that I'm tracking ignored files but it's wrong
See original GitHub issuePrerequisites
- Plugin is in the latest version
- Issue was not reported yet
- Stack trace (if provided) contains
mobi.hsz.idea.gitignore
package name
Description
After I open a project the plugin presents a popup in the lower right corner that tells me “Ignored files found that are tracked” I click the “Show details” button to see the files and I notice that it’s listing files that while they are listed in the .gitignore file they are being excluded from being ignored so they should not be counted as files that are being ignored in .gitignore
Stack trace if available.
Steps to Reproduce
Just logging in produces the pop up. I’ve proved a screenshot so you can see the problem
Expected behavior: What you expect to happen To not display this popup message
Actual behavior: What actually happens Displays this popup message
Reproduces how often: What percentage of the time does it reproduce? 100%
Versions
Plugin: Version: 2.4.0
Can be found in Settings > Plugins > .ignore
IDE: 2017.3.4
Can be found in Help > About. Click on the copy icon on the left.
OS: Windows 10 Pro
Information about operation system - type, version.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top GitHub Comments
I think the line you have in your gitignore file “experiments/bin/gen/” ignores the whole folder so the line after it “!experiments/bin/gen/init_.py” doesn’t do anything and that’s why it’s still being ignored.
I would suggest changing “experiments/bin/gen/” to “experiments/bin/gen/*” and that might fix the problem.
This feature will be disabled with v3.1.0