question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin is saying that I'm tracking ignored files but it's wrong

See original GitHub issue

Prerequisites

  • 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. image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kevincam3commented, Apr 25, 2018

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.

0reactions
hszcommented, May 7, 2019

This feature will be disabled with v3.1.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I make Git forget about a file that was tracked, but is ...
.gitignore will prevent untracked files from being added (without an add -f ) to the set of files tracked by Git. However, Git...
Read more >
How to ignore a tracked file in git without deleting it?
Execute git rm --cached put/here/your/file.ext for each file or git rm --cached folder/\* if they are in a folder. (It is /\* because...
Read more >
Ignore files in your Git repo - Azure - Microsoft Learn
Ignore changes to untracked files by using a .gitignore file; Ignore changes to untracked files by using an exclude file; Stop tracking a ......
Read more >
New files are mixed together with .gitignore'd files under "Added and ...
I noticed that Plastic SCM is listing newly created files (in this case .cs script files) under "added and private". Issue is, that...
Read more >
16 Most common Google Tag Manager mistakes
So you've started working on a new project, set up all triggers, variables, tags, etc., but you get way too little data (as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found