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 shows incorrect information

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

The plugin is over-riding the Git ignore data or getting it wrong. Files that should be tracked are showing as ignored in the IDE when this plugin is enabled.

Steps to Reproduce

  1. Create a new project
  2. Create a directory, parent
  3. Create a subdirectory under parent, notignored
  4. Create a subdirectory under notignored, subdirectory
  5. Put a file called test.txt in both notignored and subdirectory
  6. Put the following codeblock in .gitignore in the parent directory
# Exclude everything
*
!.gitignore

# Whitelist include
!notignored
!notignored/**

Expected behavior:

The plugin should show the correct ignored information as per Git

Actual behavior:

Files that are not ignored by Git are showing as ignored in the Project view AND in the banner when editing the files.

Turning the plugin off restores the expected behaviour. Since I need accurate information in the files more than I need the auto-creation, I’ve disabled the plugin.

Reproduces how often:

100% of the time

Versions

Plugin:

v2.6.2

IDE:

PhpStorm 2019.1

OS:

Mac 10.14.4

Additional Information

Screenshot showing this in action.

gitignore-plugin-error

edit 1: Fixed the checkbox display

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
hszcommented, May 13, 2019

All right, thanks n Let’s create a new ticket for that then.

1reaction
SkylerLScommented, May 13, 2019

@hsz I’m on 3.1.1.191 just downloaded maybe 15 mins ago and PhpStorm thinks everything is ignored inside /src.

Is this the same or a different problem? Screen Shot 2019-05-13 at 12 18 05 PM

Read more comments on GitHub >

github_iconTop Results From Across the Web

Site Audit shows incorrect info - WordPress.org
It looks like you're checking your website's outdated results. Please go to All in One SEO > SEO Analysis and click on the...
Read more >
Incorrect entry in Nessus plugin feed prevents updates and ...
Issue. Improperly configuring the Plugin Feed setting in the Software Update tab prevents Nessus from updating. · Cause. You entered an incorrect ...
Read more >
Build Pipeline plugin displaying incorrect pipeline information
I am using build pipeline plugin in Jenkins. I have a complex workflow for which I am getting incorrect results via Build Pipeline...
Read more >
PAC displays incorrect info re Plugin System used by the plugin
... The following plugins failed to load: Bitbucket Connector: OSGi plugins cannot be deployed via the classpath, which is usually ...
Read more >
Nagios plugin displays wrong results - Server Fault
Add user and password information to your command ( mysql -uroot -proot -e 'SHOW DATABASES' | wc -l );; Add nagios to your...
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