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.

Untracked files removed from sidebar (ST 3114)

See original GitHub issue

Since I updated to Sublime Text Build 3114 (changelog) I’ve noticed an issue where untracked files (those in .gitignore) are not remaining in the sidebar after a file is opened.

Once I initially open the project’s containing folder, everything is fine. As soon as I click on a file/folder in the sidebar, the sidebar updates and all untracked files/folders are removed.

I see the following in the console:

Git: updating project exclusions ...

The command lists all files/folders contained in my global and local .gitignore files

Is there any way to block this behavior? I didn’t see anything in Git.sublime-settings.

The only way I was able to fix the behavior (“fix” meaning “set it back to the way it was last week”) was to remove your plugin.

Thanks. Let me know if you need additional information.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kemayocommented, May 19, 2016

I should really check whether project files will respect the binary_file_patterns preference, and set that as an option. It’d keep them in the sidebar, but exclude them from search. (Good ol’ node_modules, bane of search / the file picker.)

1reaction
kemayocommented, May 18, 2016

It can be disabled by setting gitignore_sync to false in the package settings.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I remove local (untracked) files from the current Git ...
Remove untracked directories in addition to untracked files. If an untracked directory is managed by a different Git repository, it is not removed...
Read more >
Emonhub.log removed after restart
The problem that I now have is that every time I restart or have a power outage, this directory and file are removed...
Read more >
CiviCRM JIRA issue archive (CRM project)
CRM-1521 Attmpting to delete a Contribution Page for which there are actual contributions in the database generates an FK SQL error message. CRM-1522...
Read more >
How to remove local untracked files from the current Git branch
Well, the short answer as per the Git Documents is git clean. “How to remove local untracked files from the current Git branch”...
Read more >
Untitled
Cinclorhamphus, Moles warts skin tag removal reviews, Gry podobne do margonem i my ... Hoogvliet folder leiden, San michele carbonara 2012, 154 day...
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