I have tons of files in my home directory (~
), and each time I open Brackets, it tries to load and index all the files there. Eventually, after freezing for a minute, it throws the error:
Error Indexing Files: The maximum number of files have been indexed.
I can of course switch directories after this freeze, but how do I set the default directory for Brackets to be another directory (not the home directory), thus avoiding this freeze each time Brackets is initiated?
Brackets should be remembering whichever project you had open last. Your state settings file may be corrupt. Try these steps:
~/Library/Application Support/Brackets
~/.config/brackets
state.json
file and change the projectPath
parameter to a new default pathstate.json
cannot be found, make sure this folder has write permissions for your user accountIf the above did not work, try opening the state.json
to see if it's corrupted (possibly by a buggy extension). If all fails delete the file altogether and restart.