ExplodingCabbage / sublime-gitignorer

Sublime plugin that excludes from your Sublime project any files ignored by git
Do What The F*ck You Want To Public License
76 stars 11 forks source link

[Bug] Gitignorer not ignore files from my .gitignore templates #22

Open Kristinita opened 7 years ago

Kristinita commented 7 years ago

1. Summary

In my sidebar not ignoring files into my .gitignore templates.

2. Expected behavior

Package description:

Sublime plugin that excludes from your Sublime project any files ignored by git.

After you create a new Git-ignored file or update your .gitignore files, the files should be hidden from your project within 5 seconds.

Expected behavior — ignoring files in sidebar use templates of .gitignore.

3. Actual behavior

Only E/Поиск Кристиниты/bower-components/jQuery/.bower.json value was added in my file_exclude_patterns setting in User\Preferences.sublime-settings file.

4. Steps to reproduce

The problem is reproduced for me in a version of Sublime Text without plugins and user settings.

I download patch version of Gitignorer, because in your Package Control version I have same bug → I restart Sublime Text.

I have folder SashaSublime in my sidebar. I create file SashaSublime.todo in my SashaSublime folder. Then in SashaSublime folder I create file .gitignore. Content of my .gitignore file:

*.todo

SashaSublime.todo not hide into my sidebar and I don't see changes in my User\Preferences.sublime-settings file.

5. Environment

Operating system and version: Windows 32-bit 10.0.14393 Sublime Text: Build 3126

Thanks.