6 ms·
TextMate still has the best find-in-project functionality. Sublime Text 2 doesn't compare if you want to rename something throughout the app. As for vim, it's
by joelmichael 15y ago
TextMate still has the best find-in-project functionality. Sublime Text 2 doesn't compare if you want to rename something throughout the app.
As for vim, it's nice when you're in a console, but I don't think it's as pleasant to use.
The delay with TextMate has been rather absurd, though. Version 1 goes largely unmaintained (still no full-screen functionality for Lion). The last update was in November of 2010. Before then it was November of 2009.
- acangiano 15y agoI'm not sure if I installed a plugin for it at some point, but I do have full screen support in Lion.
- sudont 15y agoHN discussion: http://news.ycombinator.com/item?id=2889100 http://news.ycombinator.com/item?id=2889100
- trebor 15y agoI think it depends on if you're on "edge"/"nightly" builds. There was an update ~3 months ago, I don't remember what for.
- kennystone 15y agoLearning curve for vim/emacs will always be too steep for most users, regardless of their merits. Big Market for TextMate, and it's pretty darn good at being pretty good.
- burgerbrain 15y agoAre "general users" using textmate though? Vim and Emacs are both primarily programmers' editors, and my impression is that Textmate is as well.
- meatmanek 15y agoStill, Textmate (and ST2 and BBEdit) is nice in that you don't have to go google "Quit Textmate" or read a man page or ask someone on IRC to figure out how to quit the damn program. Other features, like Filter Through Command, are easily discoverable via the menu system. Likewise, configuration options are easily discoverable through the Preferences window. I may be a programmer, but that doesn't mean I want to learn a new language just to use my text editor. Also, I happen to like my scroll wheel.
- burgerbrain 15y agoEh, I can't really recall the last time I encountered a programmer outside of college that didn't use either Vim or Emacs (and I'm pretty sure all the Emacs guys know how to use Vim). "Also, I happen to like my scroll wheel." Scrollwheels work great in Vim? I have mine set up to do kinetic scrolling even.. Nice to have over ssh. Edit: Also yeah, gvim has menus.
- seanyseanysean 15y agoDue to the limits of ncurses you can't scroll over a page without moving the cursor though which is really annoying. :(
- burgerbrain 15y agoThat doesn't seem to be true at all. I scroll in vim on my thinkpad all the time, the setup of which makes it very simple to scroll (I have that mapped to my entire touchpad) without moving the cursor (which is only done with the clit-mouse).
- derleth 15y ago> Also, I happen to like my scroll wheel. Use a modern version of emacs. > I may be a programmer, but that doesn't mean I want to learn a new language just to use my text editor. You don't need to program emacs to use it to edit source code and interoperate with revision control and so on. A lot of other emacs hackers have done all that for you, in many cases upwards of 20 years ago. > Likewise, configuration options are easily discoverable through the Preferences window. Believe it or not, modern emacs has this. It's accessible the menu at the top of the window (or, in Mac-land, screen), even. > Other features, like Filter Through Command, are easily discoverable via the menu system. Again, odd as it may seem, emacs has this as well these days. > you don't have to go google "Quit Textmate" And emacs can be quit through the menu. You know, the one at the top of the window or screen. Unless you started it in a terminal window or some other text-only context, in which case you damned well got what you asked for.
- 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
- podperson 15y agoBBEdit's find functionality is _much_ better and doesn't require you to set up annoying project files. (Needless to say, BBedit is also well-supported.) Textmate was an inspiring piece of software when it first came out, but it barely runs under Lion (I fired it up to verify that find-in-project was as I remember, and it crashed on the way out), and still has one-character-at-a-time undo/redo which is unbearable.
- butterfi 15y agoBB Edit's multi-file search is awesome, and can also be used to search large (1 GB+) files as well.
- patrickg 15y agoI don't agree with "but it barely runs under Lion" - I use it daily for several hours and it almost never crashes.
- sigzero 15y agoI use it all the time too (on Lion) and haven't had any crashes either.
- augustl 15y agoI use grep in a terminal and love it. My individual projects tend to be pretty small though.
- jinushaun 15y agoI still find the search and replace functionality in ST2 awkward, especially across multiple files. It's a solved problem in many other text editors, so I wonder why ST decided to implement it that way. I hope it's just a temporary beta thing.
- Oompa 15y agoWhat? TextMate has great file finding functionality, but the find in project is certainly a weak point… It grinds to a hault on HDDs with large projects. It's alright with an SSD, but I wouldn't say it any better than using vim's Ack plugin.
- evlapix 15y agoOne way you could streamline your rename/relocate process in Sublime Text is to install DTerm. It's basically an in program keyboard shortcut that gives you a command line interface for the current directory that your program is accessing. So.. if I'm working with index.html and need it to be index.php, all I need to do is: cmd+ctrl+return, then: mv index.html index.php
- Groxx 15y agoYeah, the only problem is that it has a nasty habit of devouring your RAM when used. On my job's Rails project, doing a single find-in-project results in 1.6GB RAM bloat. It never goes higher than that, but it's unacceptable. AND it's not performed in a separate thread! Though it's hard to beat its command-T behavior (and yes, Vim plugin - TM has had it for years). As to unmaintained, there are bugfixes occasionally, but yes, no feature changes for quite a while. But that still makes it by far one of the most solid applications I've ever used - everything but my terminal application crashes more often than TextMate. All that said, ack/grep all the way. Faster, with/without context, and doesn't leave bloat around.
- petenixey 15y agoI'm sure you're already doing this but you can massively improve the performance of TextMate's search by filtering out unnecessary files like log files - they really will slow it down