Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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), 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.



Similarly, 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).


I 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


I 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.


Yes, 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.


Please vote for the "Search & replace across projects/directories" feature suggestion for Sublime Text 2 (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.


I 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.


Both 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).


The 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.


Try peepopen (http://peepcode.com/products/peepopen), it is text editor-agnostic.


I 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.


My 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.


I 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


You 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'.


You just changed my life


Thank 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.


Have 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.


ack 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!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: