Live data from Hacker News

Sublime Text 2.0 Released

sublimetext.com

171–180 of 358 posts

Re: Sublime Text 2.0 Released

#171

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.

I think that if you're using Java you might as well get some benefit out of the static typing- use an IDE that can put it to good use for source navigation.

I'm a long-time Java programmer who's spoiled by tools like Intellij, and I cry every time I want to delve into a Ruby library that my code uses, but can't do so because the editor (even Intellij/RubyMine) can't find it. Oh, you want to jump into the "foo.open()" method? Here are 58 choices- pick the one that looks like it might be the one you want.

Re: Sublime Text 2.0 Released

#172

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?

I also switched to vim so that I could run it in a terminal. The reason I did it is that I found Sublime Text 2's file listing cache would sometimes get corrupted or out of date, so suddenly I couldn't using Cmd+p to open things anymore. I couldn't find a way to manually bust that cache, so this was very aggravating. I'd basically be dramatically slowed down until ST2 deigned to update itself. IIRC, this was especially bad when adding new files and whatnot.

I was using NFS, btw. Never tried sshfs.

Re: Sublime Text 2.0 Released

#173

Earlier quoted context omitted.

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.

You know, in theory it'd be possible to do that within Sublime but I'm not sure if that's veering towards the emacs approach of ALL THE THINGS. I'd have to try it but I think you can probably use PyQt to grab WebKit and make a package to display HTML docs within Sublime

The one window your parent is referring is a terminal window, not a vim window.

Re: Sublime Text 2.0 Released

#174
post #97

Earlier quoted context omitted.

I'm not that much into Vi(m) but a visual mode is available in Vintage mode? Press ESC, v.

I think he's referring to the "column" visual mode, that allows you to make a rectangular selection and delete/insert/replace it.

Yes, in particular the "bulk edit actions" (not sure if they have a proper name) that you can do in Vim in either visual mode.

E.g. make visual selection, shift-I = prepend text to all selected lines. This is the same functionality as sublime multi-line editing. The problem is that neither seems to work in vintage-mode (or I'm just too dense to figure out how).

Edit: Nevermind, it works now after I started over with a fresh config. Apparently I had something bad stuck in there from earlier experiments. Thanks for the replies!

Re: Sublime Text 2.0 Released

#175

Earlier quoted context omitted.

I agree. It would be great to see some revenue numbers, if it's really successful (which I think it is), it would be a nice model for other developers or software companies.

I'm fairly sure he's made really quite a large chunk of dollar out of it already. Especially after he started forcing people to pay up if they wanted the very latest builds. That was a stroke of genius.

Really? I was using the dev builds without paying (bought my license yesterday).

Re: Sublime Text 2.0 Released

#177

Earlier quoted context omitted.

Everything is in text files. This is awesome if you want to move your config to a different machine (or gasp OS). Give it a try. It is not as bad as it looks on first sight. You'll get used to it and probably appreciate it a bit in no time.

I think I'd change editors before I changed to a different OS. These days, pretty much everything can be done from one machine. From where I sit, I can work with 6 different OS'es (yeah, it's a jungle) all from the comfort of OS X. I get that this is a programmer's editor and so maybe a certain amount of "roughness" in design is appropriate. But I'd rather spend my time customizing my own apps than trying to figure o…

You clearly have a different focus than the author of the software, and its fans. ST2's proponents are more concerned with awesome editing power than having a preferences pane.

That being said, this is not the first time I've heard this line of criticism.

Re: Sublime Text 2.0 Released

#178
post #168

Hm, Am I the only one who spends hours in vim each day with ~15 lines in my .vimrc and almost zero plugins? At some point I think I realized that no matter how feature-rich my editor was, the main thing stopping me from writing good and fast code was _thinking_, not configuring my text editor.

I think, in these days, it is not too much to ask for the intelligent completion, e.g. when you type dot or arrow, to get corresponding members of class/struct - the information is just there and the editor has enough power to parse it... Same goes for a very simple word completion - when the editor already encountered the word in the previous line. These are just _very_ basic things.

It all depends on your average typing / coding speed. Autocompletion doesn't offer a lot to someone who knows the language framework really well and type 90+ wpm. You may even find it's annoying more than helpful most of the time.

I'm not that fast and to be honest I really don't miss code completion at all.

Re: Sublime Text 2.0 Released

#179

Pretty season's Vim user here. This editor looks awesome, and I would love to give it a whirl, but I feel like I can't switch without these plugins. I'm sure they exist, if someone could point me to one that would be excellent. + Syntastic [ https://github.com/scrooloose/syntastic/ ] eclipse-like real-time linter. Gives me compile errors and warnings. + Tag bar [ http://majutsushi.github.com/tagbar/ ] navigate tags i…

Take a look at https://github.com/Kronuz/SublimeCodeIntel as a potential Syntastic alternative in ST2.

Re: Sublime Text 2.0 Released

#180
I've been really tempted to fork and contribute to MacVim and steal some of the nicer visual things ST2 is doing. Namely,

  1) rounded corners on selection boxes
  2) nice glowing, fading cursor
  3) smooth scrolling with a feeling of velocity/inertia
  4) the minimap
I tried the Vim plugin, but so many of the motions that I use daily were missing I had to jump ship. But I'd love it for MacVim to have the same level of visual and UI polish that ST2 does--it really sets a high bar.
Post reply on HN