Live data from Hacker News

Sublime Text 2.0 Released

sublimetext.com

61–70 of 358 posts

Re: Sublime Text 2.0 Released

#61

I just tried Sublime 2 and I must admit I don't "get it." It seems like a basic editor with several features which Notepad++ already had. Specifically for programming I cannot see why you would use this as opposed to something like Visual Studio with its context aware auto-complete (massive productivity increase). But then again I also don't get why someone would use Vim or Emacs when you have GUI based tools availab…

My biggest problem with IDEs is that they often don't like when I want to do something nonstandard. I've had trouble using git with Eclipse (it works, but I spend more time than I want fooling with it), for example. It's usually faster and simpler to add support for a new programming language or environment to a programmable text editor than to an IDE. Currently I'd say that the best environment for working with Go, is to use sublimetext2 and the GoSublime extension.

IDEs are valuable when doing what they were designed for (I use Eclipse when I write Android apps, and I'd probably use Visual Studio if I was going to write something for the MS stack), but I'm rarely doing things that fit nicely into their world, and I end up spending more time fighting with them than they are worth.

That's just for me though.

Also: you can get completion in many text editors if you install the right plugins. See the GoSublime extension that I mentioned for example.

Re: Sublime Text 2.0 Released

#62

As an Intellij user (and Emacs way before that) I'm trying to give this a chance, but I see no way to click-navigate through source code. Am I missing something? I tried installing SublimeCodeIntel, and that lets me (occasionally) navigate to symbols in the current file. But I don't seem to be able to click through to symbols defined in other files/classes. Am I missing something fundamental, or is this strictly the…

Is anyone using the likes of Sublime for enterprise Java?

I'm an Intellij power user but tend to use Sublime for Rails & other dynamic languages. Using the same environment all of the time would be nice.

Re: Sublime Text 2.0 Released

#63

I've reverted back to Vim (not really ST2's fault, just that it doesn't run in a terminal and I've gotten addicted to split-panes in iTerm), but ST2's a solid editor. Definitely worth your $60. PS: If it got even a basic terminal... EDIT2: ST2 does have split panes, I just can't run a terminal in them.

I'm just curious about why you need to run it in a terminal? I have a linux machine at work and use a MacBook for remote work. When I'm remote I just run Sublime locally on my Mac and set up an sshfs mount to my workstation for the source files. Works like a charm. Note - not at all saying you're doing it wrong :-) just curious if you'd tried this kind of setup and why it didn't work for you?

It's mainly to keep everything (where everything == files, REPL, docs, etc.) in a single window, which I can then throw full-screen and have absolutely nothing but my work in front of me. I'm sure one could use ST2 (or any other GUI app) on Linux with a tiling WM like xmonad and achieve a similar workflow, but there doesn't seem to be a way to achieve this on OSX that doesn't involve ugly/unstable hacks.

Re: Sublime Text 2.0 Released

#64
Finally!

Sublime Text 2 is really a wonderful piece of software. I can't live without multiple cursors anymore. Of course it can improve (anything can), but in my opinion is the best text editor available.

Re: Sublime Text 2.0 Released

#65

Earlier quoted context omitted.

It sounds like Paste and Indent is what you're after: Command+Shift+V, or some users prefer to just bind this to Command+V, a la TextMate.

I love you edit: if anyone is curious, Preferences > Key Bindings > Default [edit: should use User as noted below] ctrl+f paste, and change { "keys": ["super+v"], "command": "paste" }, { "keys": ["super+shift+v"], "command": "paste_and_indent" }, to { "keys": ["super+shift+v"], "command": "paste" }, { "keys": ["super+v"], "command": "paste_and_indent" },

Even better, put that in Preferences, Key Bindings, User.

Using the user file has two advantages:

First, you avoid mishaps when some future version makes changes to the default bindings file.

Second, you can quickly check what are your non-default settings.

Re: Sublime Text 2.0 Released

#66

Earlier quoted context omitted.

It sounds like Paste and Indent is what you're after: Command+Shift+V, or some users prefer to just bind this to Command+V, a la TextMate.

I love you edit: if anyone is curious, Preferences > Key Bindings > Default [edit: should use User as noted below] ctrl+f paste, and change { "keys": ["super+v"], "command": "paste" }, { "keys": ["super+shift+v"], "command": "paste_and_indent" }, to { "keys": ["super+shift+v"], "command": "paste" }, { "keys": ["super+v"], "command": "paste_and_indent" },

Keep in mind that updating Sublime will revert this file. Add the bottom two lines to your Preferences > Key Bindings > User file if you want to keep them.

This goes for all preferences files in Sublime. Any declarations in the User file overrides Default settings, and Default settings are overwritten on any upgrade. This caveat has bitten me quite a few times with my packages in Package Control.

Re: Sublime Text 2.0 Released

#67

As an Intellij user (and Emacs way before that) I'm trying to give this a chance, but I see no way to click-navigate through source code. Am I missing something? I tried installing SublimeCodeIntel, and that lets me (occasionally) navigate to symbols in the current file. But I don't seem to be able to click through to symbols defined in other files/classes. Am I missing something fundamental, or is this strictly the…

Well, given a sufficiently advanced code parsing module, I'd consider Sublime Text an IDE. It's just that CodeIntel might not be sufficiently advanced enough (for your language of choice or in general). It's a port from the Komodo editor, where it doesn't work perfectly, either.

I don't see anything really fundamental that should stop an improved/better plugin from working, the hooks should be there.

Re: Sublime Text 2.0 Released

#68

As a Textmate'r, I have to say using ST for the last few months has been a pleasure. There is one thing that ST doesn't do as well though: pasting blocks of code while retaining the formatting/indentation. i.e. if I copy a loop and try and paste it into another function/whatever and the cursor isn't on the same column, the indentation gets messed up. It's a minor quibble and far from a deal-breaker, but it is a bit o…

It sounds like Paste and Indent is what you're after: Command+Shift+V, or some users prefer to just bind this to Command+V, a la TextMate.

Your sir, are a gent and a scholar. I've been using Sublime primarily for a few months and the awesome keeps on coming.

Re: Sublime Text 2.0 Released

#69
post #20

As a die-hard Vim'er I like this more every time I look at it. What I'm still missing in vintage-mode is search/replace (mostly ':s' and ':%s') and block visual mode (^V in vim). The latter habit I could probably break, but the search/replace stuff gets me all the time. Is there perhaps a plugin/workaround already to get Vim-style search/replace or do I have to hold out for another version?

I haven't used ST beyond a trivial play, I'd like to use it more but I'm also a "die-hard" vim user, everytime I try to switch I discover some feature of Vim isnt there, like half decent macros (at least stored in a buffer and editable in the editor itself), or text objects, or pathname completion, or sensible shortcuts for switching panes etc ...

Rather than spend a few hours before abandoning, do you think and advanced vim user could successfully make the jump?

Re: Sublime Text 2.0 Released

#70
post #6

An absolutely joyful piece of software. I love it so much, I bought it right away. Plus, where else can you experience such a pleasant multiplatform situation? Great Job!

I like it too. The main problem I have with it—and Textmate—is the lack of an emacs-like Follow-mode: http://www.gnu.org/software/emacs/manual/html_node/emacs/Fol... . It's 2012, I'm using a 27" monitor, and yet I can't find this feature, or one like it, in anything other than emacs, which has a learning curve far too steep for my pretty simple needs.

At one point, the Textmate website mentioned that a follow-mode-like feature was in the works, but 1) I can't find that mention anymore, and 2) even if it is, I'd rather not wait forever for it.

Post reply on HN