5 ms·
i tried hard to like sublime but at the end, i still go back to the trusty old zend studio 5.5. and i love emacs and it's great for editing scripts here and the
by jaequery 15y ago
i tried hard to like sublime but at the end, i still go back to the trusty old zend studio 5.5. and i love emacs and it's great for editing scripts here and there but when working on a big project where you have atleast 10 files open, it's not really the best way to do things.
- outworlder 15y agoCould you elaborate? I find it hard to work on projects where I have many files open, unless I am using Emacs (with ido-mode). Tabs are just too slow, cumbersome and don't scale.
- kstrauser 15y agoST2 handles this much like ido-mode. Press cmd-P to open the "Goto Anything" dialog and type a few letters from a filename to get a list of matching files from the current project. I'm not exactly sure of the weighting algorithm, but it seems to almost always highlight files that are already open so that pressing enter will take me directly to the tab I wanted. Whether you have 100 Emacs buffers open or 100 ST2 tabs, it's pretty easy to navigate to the one you want with a few keystrokes.
- blacksmith_tb 15y agoWhy keep 100 ST2 tabs open when like you've said it's so fast to just cmd-p to pull up the file you need, open or not (unless you have a very large number of files with the same name)? I summon and dismiss files like crazy, but I generally only keep a few things open at any time.
- georgemcbay 15y agoPersonally I like to keep many files open so that I have undo buffers for them in case I change my mind. This is a subjective thing and I know there are other ways to solve the same issue (keeping versioned files ala Dropbox, etc), but easy undo of recent-but-not-too-recent changes is the #1 reason I tend to keep tons of files open when editing projects.
- kstrauser 15y agoLet me flip that around: why not have all the most recent files you've worked on open at once? It's easy to navigate through them, you get to keep undo history, and you can always close them later if you get overwhelmed. There's not a huge advantage to keeping them around but the penalty for doing so is trivial, so I default to not closing tabs unless I specifically need to.