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

Exclude Paths

by kemayo ST3

Exclude paths from project / search indexing

Details

Installs

  • Total 2K
  • Win 868
  • Mac 673
  • Linux 324
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6
Windows 0 0 0 1 0 2 1 0 0 0 1 2 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 2 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1
Linux 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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.