What is the syntax of the Locations
field in the Find and Replace pane of LightTable? (which appears when hitting CTRL-SHIFT-F
, or CTRL+SPACE
then Searcher: show
)
I would like to exclude all files of the docs/
subfolder, as well as all *.txt
and *.csv
files of my workspace. What should I enter in the Locations
field to exclude them from a search & replace?
Or inversely, I'd like to include only the files from the src/
subfolder. How would I accomplish that?
There doesn't seem to be a way to exclude directories or file patterns right now. However, you can specify which directories to include. You will have to write the whole path though (relative paths use Light Table's application directory). If you want to have more than one path you can separate them by using a comma: