On Tue, Sep 18, 2012 at 9:01 PM, Chris Barker <[email protected]> wrote: > On Tue, Sep 18, 2012 at 5:03 PM, Kevin LaTona <[email protected]> wrote: >>> curious enough about Sublime Text to look for it > > Checking out Sublime Text, and it does, indeed look pretty cool.
It has some improvements over Vim. Some tasks that block the Vim UI, like searching through a bunch of files, run asynchronously in ST 2, which is nice. Writing plugins is much more enjoyable. You can often develop plugins interactively, thanks to a built-in Python console and an API that lets you trigger code in your plugin from the console. > > However -- opened up my first Python file: > > colorizing, auto-completion, nift stuff > > did some indenting -- AARRGG! tabs!!! with tabs set to 4 spaces! > > Surprising given the python scripting.... > > So I went into the preferences, and changed: > > "translate_tabs_to_spaces": true, > > but I couldn't see how to do that in a language-specific way -- i.e I > definatly want that in Python ,but may not in other modes. This is in Preferences -> "Settings - More" -> "Syntax Specific - User" on OS X. > > I also found: > "indent_to_bracket": true, > > which I think is what I want... > > So -- much better, but still not great indenting support: I really > want <tab> to mean: "indent this line right"-- funny how the little > things make a difference. (NOTE; Peppy does this very well, as I think > emacs does, but many editors do not) > > Now I need to look for iPython integration -- I see various posts > about it on the web, but it's not clear if anyone has it working well. > > I also note that it used different key bindings on different platforms > -- darn! that's a pain, one of things I look for in an editor is that > it works the same everywhere (and works everywhere) This one of the nice things about Vim and Emacs. Of course, some people complain about the archaic shortcuts and want the program to reflect the OS better. Recently I tried PyCharm 2 and found it had improved a lot from version 1. It can't match the fluidity of editing with a stripped-down Vim or ST 2 install (ie not a bunch of plugins), but the refactoring, code intelligence and testing integration is much better than what you find even with a sandwich of plugins in those editors. > > I think I'll give it a try for real work, though. > > -Chris > > > >> >> Another thing to consider is Sublime Text 2 can be extended via a plugin >> architecture using Python if you want or need to tweak / customize it's >> feature set. >> >> The core app was written in C++, so it's pretty much smoking fast compared >> to some of the other Python editors. >> >> Plus there are a bunch of open source plugins to use as well. >> >> It runs on Mac, Linux and Windows, and your license allows you to run on any >> or all of the OS's that you need too as I recall. >> >> For $60 it's a real good value and the developer keeps pounding away at >> making it better. >> >> -Kevin >> >> >> >> Kevin LaTona >> STUDIO SOLA >> Web | Mobile Development >> Seattle WA USA >> >> http://kevinlatona.com/ >> http://studiosola.com/ >> http://linkedin.com/in/kevinlatona >> >> >> >> >> >> >> >> > > > > -- > > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > [email protected] Best, Andrew
