News for hackers. Stuff that matters.
Re:Textmate 2 - Alpha this year by lobster_johnson on Monday September 26, 2011 @09:03AM (#3038649)
> 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.

Re:Textmate 2 - Alpha this year by oinksoft on Monday September 26, 2011 @09:35AM (#3038824)
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).
Re:Textmate 2 - Alpha this year by mark_story on Monday September 26, 2011 @04:00PM (#3040497)
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
Re:Textmate 2 - Alpha this year by joelmichael on Monday September 26, 2011 @02:32PM (#3040140)
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.

Re:Textmate 2 - Alpha this year by lobster_johnson on Monday September 26, 2011 @02:49PM (#3040202)
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.

Re:Textmate 2 - Alpha this year by dave1010uk on Tuesday September 27, 2011 @08:09AM (#3042896)
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.
Re:Textmate 2 - Alpha this year by jonknee on Monday September 26, 2011 @09:37AM (#3038831)
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.
Re:Textmate 2 - Alpha this year by wycats on Monday September 26, 2011 @10:12AM (#3038985)
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).
Re:Textmate 2 - Alpha this year by lobster_johnson on Monday September 26, 2011 @09:47AM (#3038865)
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.
Re:Textmate 2 - Alpha this year by bufo on Monday September 26, 2011 @01:58PM (#3040002)
Try peepopen (http://peepcode.com/products/peepopen), it is text editor-agnostic.
Re:Textmate 2 - Alpha this year by lobster_johnson on Monday September 26, 2011 @02:09PM (#3040052)
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.

Re:Textmate 2 - Alpha this year by knowtheory on Monday September 26, 2011 @10:46AM (#3039170)
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.

Re:Textmate 2 - Alpha this year by emehrkay on Monday September 26, 2011 @09:27AM (#3038779)
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
Re:Textmate 2 - Alpha this year by bjornsteffanson on Monday September 26, 2011 @12:06PM (#3039515)
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'.
Re:Textmate 2 - Alpha this year by emehrkay on Monday September 26, 2011 @01:10PM (#3039793)
You just changed my life
Re:Textmate 2 - Alpha this year by breck on Monday September 26, 2011 @11:31AM (#3039368)
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.
Re:Textmate 2 - Alpha this year by biturd on Monday September 26, 2011 @11:46PM (#3041773)
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.
Re:Textmate 2 - Alpha this year by gaoshan on Monday September 26, 2011 @06:18PM (#3040971)
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!