adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.29k stars 7.66k forks source link

Add file search/filter #12516

Open boostani opened 8 years ago

boostani commented 8 years ago

Similar to xCode, add a search option on the bottom of project panel. When projects are getting bigger, finding files become a big hassle. A simple search function there can easily address that problem.

brendonmm commented 8 years ago

Hi @boostani, I might be wrong, but the feature that you needs is currently available. You just need to press CTRL/CMD + Shift + F to find entire files at current project. And, if you needs to replace, just press the same shortcut, replacing F for H.

boostani commented 8 years ago

Thanks @brendonmm for looking into this. The command you mentioned is searching the content within files. My request is for a filter only on the file names. My projects normally have complicated file structure and lots of files within each folder. That gives me a long scroll bar and it's a pain to go through them to pick a file. I have a mockup for you here that shows exactly what I'm requesting. filesearch_bracket_proposal

redmunds commented 8 years ago

@boostani Have you tried Navigate > Quick Open (Cmd-Shift-O) ? Start typing in search field and it filters using a fuzzy search algorithm (i.e. don't have to type letters in exact sequence).

boostani commented 8 years ago

perfect. this would do the job. I still think persistent presence of the field near the files would be a good UI enhancement (better accessibility & mapping). but I'm happy with what I learned for now. Thank you @brendonmm!

brendonmm commented 8 years ago

@boostani humm, maybe this extension can help you. Directory Search. https://github.com/louiealmeda/directory-search, it creates a seach field before all files. At my workplace, loads slowly when I have a lot of files, but, probably will help. It search and filter all files. image