Sublime Forum

BUG?: Duplicate directories project

#1

I typically use an alias from Terminal.app to start SLT. I’ve started it a handful of times now, with an argument of the folder I want to edit. Looks like each time I do, a duplicate copy of the folder gets added to the project. Goto Anything then indexes all the files in that directory many times, which pollutes the results.

Quitting out of SLT and restarting it remembers the folder list. The only way I’ve found of fixing this is to Remove All Folders from the project and start again.

I’d suggest making it so the same folder can’t be added to the project more than once. Also, it might be worth adding a config option for whether SLT remembers the project between sessions.

0 Likes

#2

+1

0 Likes

#3

This is now addressed in 20110130

0 Likes

#4

Hey Jon,

So this release mostly fixed this issue, but there’s still one way to re-produce it. Here’s the way to reproduce:

Have a folder (/tmp, for example) in the project.
Quit out of SLT.
From the command line, “slt /tmp”
SLT opens and adds a new copy of /tmp to the project space.

This on with the 20110130 release on Mac OSX Snow Leopard.

0 Likes