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.

Ignored items in my profile ~/.gitignore_global are no more grayed in the Project view

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

With previous version, the excluded items defined in my profile ~/.gitignore_global when grayed in the Project view. It’s no more the case with this new version (2.1.1)

Steps to Reproduce

  1. Select a file in your project
  2. Use the Add to .gitignore file contextual option to add this file in the .gitignore file
  3. While editing the .gitignore file, slected the added line and cut it to the clipboard
  4. Lower, in the Outer ignore rules, edit your profile ~/.gitignore_global
  5. Paste the line in the file and save it

Expected behavior: I expect the file to be grayed in the Project treeview, be it in the .gitignore file or in my ~/.gitignore_global file

Actual behavior: What actually happens In the Project treeview, the file was grayed when the line was in the .gitignore file Then cutting this line and putting the profile ~/.gitignore_global file make the file appear as an “not-ignore” file in the Project treeview

Reproduces how often: Systematically

Versions

Plugin: 2.1.1

IDE: PyCharm Community Edition 2017.2.1

OS: macOS Sierra 10.12.6

Additional Information

None Thx for your support 😉

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dAnjoucommented, Oct 20, 2017

Bug is still back in version 2.2.2 😕

PyCharm 2017.2.3 Build #PY-172.3968.37, built on September 1, 2017 JRE: 1.8.0_152-release-915-b11 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.13.5-200.fc26.x86_64

1reaction
StevenMapescommented, Sep 28, 2017

I’ve noticed this bug is back in version 2.2.1 when using Pycharm 2017.2.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git global ignore not working - Stack Overflow
gitignore_global file must match the path from the main directory of the project EXACTLY. For example, if the project name is myProject, which ......
Read more >
Show files that are ignored by .gitignore in dimmed color
In order to be able to distinguish these, I suggest to display files and folders supposed to be ignored by Git (or any...
Read more >
Create a Global GitIgnore Step-by-Step for MacOS and Windows
Open Git Bash. Navigate to the root folder of your user profile usually at C:\Users\{myusername}\ and create a .gitignore_global file. Then run
Read more >
Support for VCS Ignores in IntelliJ IDEA and IntelliJ-based IDEs
Just a quick heads up… The list of Ignored Files that have been added via IntelliJ's obsolete mechanism will not be automatically migrated...
Read more >
Ignoring in Git: How To Use .gitignore Files - BMC Software
Ignored : You've explicitly told Git to ignore the file(s). The .gitignore file tells Git which files to ignore when committing your project...
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