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

Exclude Paths

by kemayo ST3

Exclude paths from project / search indexing

Details

Installs

  • Total 709
  • Win 342
  • OS X 246
  • Linux 121
Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5
Windows 2 0 1 1 0 0 1 1 0 0 0 0 0 1 1 0 1 0 0 0 1 2 2 0 1 2 0 1 1 1 1 0 0 1 0 0 2 0 2 0 1 0 0 0 0 1
OS X 0 3 1 0 1 0 0 0 1 2 0 0 0 0 1 0 0 0 0 1 0 0 3 2 0 2 0 0 1 1 1 0 0 0 1 0 0 0 1 0 0 1 1 0 0 1
Linux 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 1 1 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 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.