Impossible to unignore vendor folder
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
Plugin kept marking my vendor folder as ignored no matter what I do, only solution was to uninstall the plugin.
Steps to Reproduce
- Open a project that uses composer containing a vendor folder
- Install the .ignore plugin
- Search for a way to unignore the vendor folder
Expected behavior: When I remove the automatically-added directories inside the vendor folder in the settings, I expect the vendor folder to not be ignored anymore. It is not in any other ignore file inside the project.
Actual behavior: Even after restart of phpStorm, all files and folders inside the vendor folder remain ignored.
Reproduces how often: 100%.
Versions
Plugin: 2.6. something - it’s uninstalled now. Was the latest version at the time.
IDE: PhpStorm 2018.1.6 Build #PS-181.5281.35, built on June 14, 2018 JRE: 1.8.0_152-release-1136-b39 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.12.6
OS: see above
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Git ignoring vendor folder - ruby on rails - Stack Overflow
I have added vendor folder to my .gitignore file, but still whenever I do git status it shows me that vendor folder is...
Read more >example.gitignore doesn't ignore root vendor directory when ...
gitignore to .gitignore in the web/ directory), the vendor directory in the project root directory is not ignored. It appears to me that...
Read more >Should I really be gitignoring the vendor folder? - Laracasts
I'm not picking at anything. The question is whether there may be a reason to not have vendor on gitignore... I gave some...
Read more >Do I gitignore the /vendor folder? (dep) : r/golang - Reddit
Hello,. I know in node.js you gitignore the /node_modules folder as "npm install" downloads dependencies from your package.json.
Read more >258345 – 'vendor' directory always ignored
In PHP, the `vendor` directory is always ignored in Git repositories, even if it's not mentioned in the `.gitignore` file.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
git rm -r --cached vendor
😉
I know this comment is super late, and may not apply…but who knows. I found a bug in one of my repos where every single folder called “vendor” was ignored. Unfortunately, some of those “vendor” folders were apart of plugins and needed to be present in deployments.
I changed
vendor
to/vendor
in my project root.gitignore
, but could never add the vendor folders in other parts of the tree.And then I discovered that at some point in my life, I added
vendor
to my~/.gitignore_global
file.May just help someone who made the same mistake.