6 ms·
> TextMate still has the best find-in-project functionality You must not have very big projects. TM's find function totally breaks down (spinning beach ball he
by lobster_johnson 15y ago
> TextMate still has the best find-in-project functionality
You must not have very big projects. TM's find function totally breaks down (spinning beach ball hell) on anything except really small projects.
Fortunately, the solution is AckMate (https://github.com/protocool/ackmate https://github.com/protocool/ackmate), which integrates seamlessly with TextMate and has a very clean interface; and it's lightning fast.
AckMate is really the only thing I miss in Sublime.
- emehrkay 15y agoI love AckMate, but when I moved away from DreamWeaver, I lost the ability to search the whole project OR limit it to a directory in the project. That was damn handy
- bjornsteffanson 15y agoYou can limit a search to a directory with AckMate. Just select the directory in the Project Drawer and press Command while searching. You should see the Search button text change to 'In Selection'.
- emehrkay 15y agoYou just changed my life
- oinksoft 15y agoSimilarly, Ack.vim is indispensable, providing errorlist integration with `ack`. Between that and your project plugin of choice, or just a terminal tab per project, you get something much nicer than anything in TextMate (because of errorlist workflow).
- mark_story 15y agoI found that Ack.vim wasn't as essential as AckMate was. I changed my grepprg and grepformat and was able to get ack working with vim when I called :grep
- jonknee 15y agoI think the OP meant the Command-T functionality of switching between files. I have never heard anyone praise TextMate's project wide search, which as you mention is beach ball city.
- lobster_johnson 15y agoThe OP specifically mentioned find-in-project in the context of renaming files, and I can't see how that's related to the cmd-T command.
- wycats 15y agoBoth PeepOpen and CommandT for vim offer superior file switching functionality (by fixing a problem with Textmate's version whereby it does not take the directory into consideration, which can really help narrow down a search).
- knowtheory 15y agoMy experience with ackmate has entirely not been seamless. While it is vastly preferable to the default cmd+shift+s (cause it doesn't beachball TM for 30 min), you can only Ack in project when you have a file open, and the result list definitely does not play nice with many of the color schemes available for TM. Still, a lot better than find in project.
- breck 15y agoThank you so much! I've got 2 big projects I've been working on in TM and had to switch to the command line to do fast find in projects. Much better.
- bufo 15y agoTry peepopen (http://peepcode.com/products/peepopen http://peepcode.com/products/peepopen), it is text editor-agnostic.
- lobster_johnson 15y agoI bought Peepopen way back when it first came out, but it was incredibly slow even on small projects with just a couple of thousands of files. Anyway, Peepopen doesn't actually support Sublime. It needs editor support, which means someone has to write a plugin.
- joelmichael 15y agoI used to have that problem until I excluded log files, images, and other extraneous files from my project. Find in project now works relatively quickly. I don't consider my app "really small", or the prior two I worked on using TextMate.
- lobster_johnson 15y agoYes, you have to exclude a whole lot. You also need to exclude binary files (like database dumps and tarballs) that you have lying around in your project directory, because once TM accesses those files it will read everything into memory, and it seems particularly bad at doing that. Another problem with TM's built-in "find in project" is that it's not incremental. AckMate will list matches as it finds them, whereas TM will only return results once it's read everything.
- gaoshan 15y agoack is a really great search tool in general (and one that I use constantly now that I have "discovered" it)... I had no idea there was an integration of it into TM. I'll def. be taking a look at this, thanks!
- biturd 15y agoHave just one JS file of any size, FaceBook, JQ, etc, especially minified on one lines and yo are asking for trouble, and certainly no speed.
- dave1010uk 15y agoPlease vote for the "Search & replace across projects/directories" feature suggestion for Sublime Text 2 (http://sublimetext.userecho.com/topic/21604-search-replace-across-projectsdirectories/ http://sublimetext.userecho.com/topic/21604-search-replace-a...) if you miss the feature. The developer(s) seem to be implementing lots of new features from while ST2 is in beta and a global replace would be great.