ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Exclude Paths

by kemayo ST3

Exclude paths from project / search indexing

Details

Installs

  • Total 861
  • Win 407
  • OS X 301
  • Linux 153
Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9
Windows 0 2 2 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 2 0 0 1 2 0 0 0 0 0 0 1 1 1 1 1 0 0 1 1 1 0 0 0
OS X 0 0 0 0 0 1 2 0 0 3 1 0 1 0 0 1 1 0 1 1 1 0 2 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1
Linux 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 2 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text 3 plugin: Exclude Paths

Add a sidebar menu item to exclude paths from the project and / or from indexing.

Adds a “clear all excludes” command to the palette so you can undo this without having to hand-edit a project file (which you might not even have).

Install

Package Control

The easiest way to install this is with Package Control.

  • If you just went and installed Package Control, you probably need to restart Sublime Text before doing this next bit.
  • Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
  • Select “Package Control: Install Package” (it'll take a few seconds)
  • Type “Exclude Paths” when the list appears to find it.

Package Control will automatically keep Exclude Paths up to date with the latest version.

Questions

How is this stored?

It depends on how you opened the project. If you used the Open Project... menu item to open a .sublime-project file, changes will be saved to the project file. If you've just opened a folder (via subl, the Open... menu item, or dragging it onto Sublime), Sublime Text will remember it internally, but won't persist that across openings.

Why don't my changes to Preferences.sublime-settings apply now?

Higher-priority settings in Sublime Text (like those in project data) override lower priority settings (like those in your generic preferences file). As such, anything we set in the project file will completely replace your default settings.

When per-project exclusions are changed, we do copy the core ones in. However, this only happens on-change, so drift can occur when you edit your core settings.