Live data from Hacker News

Sublime Text 2.0 Released

sublimetext.com

131–140 of 358 posts

Re: Sublime Text 2.0 Released

#131
post #97
post #71

Earlier quoted context omitted.

Thanks man, that does indeed add working search/replace! Giving Sublime a whirl now. If nothing else it's going to be an interesting discovery of which Vim features I really use in my daily workflow. Edit: Sadly bumped right into the next issue. It seems in addition to the lack of Vim's visual-block-mode the native multi-select (Ctrl-Shift-L) doesn't work in vintage either. No multi-line editing at all is a bit of a…

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.

Re: Sublime Text 2.0 Released

#132
Interesting, but no preference panels for OS X? How is one supposed to change settings if they're in a language the user doesn't know well?

Apparently, there's some sort of binding thing going on, which I overlooked and now can't find a way to examine/redo? Additionally, some prefs are plists, some are python, and some look like they might be Textmate preferences.

Re: Sublime Text 2.0 Released

#133

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…

See, I tried to use Visual Studio and I must admit I don't "get it". Actually, I'm not mocking you there. This is the truth. But I don't get many things.

So I end up compiling with VS and editing code in Emacs, because VS does not have a shortcut to switch between files quickly and because VS does not integrate with Git properly and because VS does not have keyboard macros and because I just don't like VS much.

Funny enough, I used to feel the same way as you do, though. I mean, how can you live without auto completion? But gradually I realized that in fact, I did not miss auto completion any more after a day or two not having it. And I did not miss a method browser either. And a menu bar. And... a mouse.

I think we humans are clever animals and we can adjust to any number of things. Me, I have been through IDEs (XCode, Eclipse, VS), Textmate, Vim and now Emacs. In the end I think it boils down to fun: I can work with pretty much any tool or language you throw at me. But to really get me going I need to have fun. And Emacs is giving me that. I am not quite sure if it really is any more or less efficient than XCode or Visual Studio or ed or whatever, but I know that I am magnitudes more productive when I am having fun than when I don't.

So use what you like best. Just don't forget that it is about having fun! Anyone who tells you otherwise... well, I frankly don't care. Have fun!

Re: Sublime Text 2.0 Released

#134
post #107

Earlier quoted context omitted.

There are several problems with sublime especially as an IDE, for 60 bucks I don't see how I can justify not having: A decent linter. Auto-complete is really shabby. Find and search, also sub-par. No separate console window. Though it does have some good parts. Map view Speed Multi-select

Good sir are you sure we're talking about the same sublime? As in sublime 2? There's brilliant plugins for decent linter & auto-complete; If you didn't install package manager you didn't spend enough time with sublime. Stating find & search is sub-par in my opinion means you must have honestly spent less than a day utilizing the program. Search: Ctrl+P Ctrl+shift+p ctrl+f ctrl+shift+f ctrl+shift+f alt+r (Supports reg…

In fairness -- and I write this as someone who has paid for ST2 and recommends it -- the linting and auto-complete support are weak compared to a good IDE.

As a text editor, ST2 is great. The editor has a project system where you just add whichever directories you care about, which is simple but effective for many jobs.

As an IDE replacement, I don't think the combination of available packages is even close to sufficient yet. If you want to start looking at things like code navigation, code completion, refactoring, and integration with external tools for build/test/analysis/source control, you need a bit more flexibility than the default project system. The catch is that for this kind of tool, it has to be done so that it plays nicely with arbitrary plug-ins in arbitrary languages, and without descending into the kind of abomination that is configuring a project in most IDEs.

That's a very tough problem to solve well. If you work on projects using multiple programming languages, I'm not sure anyone has actually solved it yet. But for single languages, IDEs do a lot more than what ST2's default project system can support, and if anyone has built a plug-in that gets anywhere near what I think would be necessary, I've never found it so far.

Re: Sublime Text 2.0 Released

#135

Interesting, but no preference panels for OS X? How is one supposed to change settings if they're in a language the user doesn't know well? Apparently, there's some sort of binding thing going on, which I overlooked and now can't find a way to examine/redo? Additionally, some prefs are plists, some are python, and some look like they might be Textmate preferences.

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.

Re: Sublime Text 2.0 Released

#136

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…

Its a text editor first. (Writing a lightweight IDE hasn't worked very well yet IMO).

Re: Sublime Text 2.0 Released

#137

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…

Why do you want to use your mouse while coding?

Because you don't always know your code base very well. I almost always use vim but when a new large project comes along I've found no better way to read through it than with a mouse.

Re: Sublime Text 2.0 Released

#138
For me, for "serious" programming, I use a full-fledged IDE which has stuff like code linking, quick project search (with ST2 I have to switch to the terminal), built-in documentation, refactoring support... So paying $60 for a text editor, when there are many good free options out there (even outside of Linux) is too much.

Re: Sublime Text 2.0 Released

#139
post #74
post #56

Earlier quoted context omitted.

I started writing the same thing, and thought I'd just add onto this instead. Tried using Vim because I like the look of how flexible it is to tile windows, but I just cannot move away from Sublime's file search. I don't even click tabs that I have open any more, I just hit Apple + p and start typing say g-l-o for global.css and I know its there, hit enter and voila. Like you say, multi-platform too, so I get to use…

Command-T gives you similar functionality in Vim. It's great. https://github.com/wincent/Command-T

Hey, what agscala says below is absolutely right. I tried it, but honestly, Sublime Text 2 is far superior. Even my Vim-core colleague to my right agrees. And thats saying something!

Edit: Scrap that, rush-read - CntrlP doesn't beat Sublime's Apple+P. Honestly, try it and you'll see what I mean.

Re: Sublime Text 2.0 Released

#140
post #121

I know most of the people using ST2 are apple or linux users. It's good for a windows user?

It's a pleasure to work with on Windows.. not to mention probably the most aesthetically pleasing text editor you can find.

Oh yes, sir. So much yes!

Incidentally, why is it that so much software on Windows is "under-designed"?

Post reply on HN