Live data from Hacker News

Sublime Text 2.0 Released

sublimetext.com

291–300 of 358 posts

Re: Sublime Text 2.0 Released

#291

Serendipitous, as I'm planning on doing a lightning talk on ST2 tonight. Editors seem to raise a lot of religious issues, and not to totally discount the distinctions that can be made between them, but I think it's more important to know your editor well than to worry about "the best editor." (If such a thing exists.) As Hunt & Thomas say in The Pragmatic Programmer : "use a single editor well."[1] You'll be most pro…

also, know emacs a little if you're an OS X user -- the emacs bindings provided in OS X text fields are amazing.

Re: Sublime Text 2.0 Released

#292
post #155

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 continue to be haunted by something a good artist friend used to say: "Don't obsess over your tools. They are not the goal". This would ring in the back of my head as I spent many hours configuring my editor / shell / terminal setup. It felt like a guilty pleasure. It dawned on me however, that what had drawn me to programming in the first place was a sublime text editor (TextMate), and that my business is in fact…

>>> "Don't obsess over your tools. They are not the goal"

Actually, someone from design background once told me "Good tools produce great work".

Re: Sublime Text 2.0 Released

#294
post #285

Earlier quoted context omitted.

And, like every vim emulator ever (with the possible exception of Emacs' spawn), it doesn't support all the vim keystrokes I use daily. My brain knows vim, and I'll code in vim. You don't see professional pianists perform on electric keyboards.

Umm what? Yes they do and that is a pretty terrible analogy even if they didn't. Why do you feel the need to pollute a release thread with your VIM elitism?

I think his point is right. Market a tool for what it is good at doing.

If I want to use vim, I can use vim. Heck there are many things these days that will give you the same GUI candy what GUI based text editors give.

Glossy text editors come and go every 2-3 years, Editors like Emacs and vim stay.

Re: Sublime Text 2.0 Released

#295

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…

ctrl + tab to switch between open files. ctrl + w, ctrl + s to focus the project explorer, from where you can use the arrow keys to select a file from the current project.

Re: Sublime Text 2.0 Released

#296
post #168

Earlier quoted context omitted.

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.

Dynamic languages are not ideal for huge code bases. But huge code bases are not ideal, period. Dynamic languages grant huge power to small programs. Greater power through less code is surely the future.

Only if we consider future of problem solving involves writing code.

Tool generated code, might be a big thing in the future. Eclipse + Java is already 80% tool generated code.

Re: Sublime Text 2.0 Released

#297
post #280
post #247

Earlier quoted context omitted.

> I would argue that the autocompletion training wheels for learning a new API are really only useful if you're rarely going to use that API again. If you're going to be using it a lot, there's actual value in spending the extra effort to learn it's functions. Couldn't agree more with the second sentence: I actually print out a listing of common APIs and take the time to memorize them. But you just described 90% of t…

I wasn't using the term "training wheels" in any sort of derogatory way. You described autocomplete as a learning tool to get you up and running fast with a new API. Training wheels seemed like a good analogy. Nothing macho about it. I don't think autocompleting a call 30 times is nearly as valuable as looking it up for me at least, because since I'm already invested I'll take the time to learn about it. If all I did…

You are arguing against a lost cause. Using a text editor to work with languages like Java/C# was the trend of the 90's.

These days 99% of all Java/C# coding is in IDE's. And rightly so, because there is no reason to subject yourself to the torture of programming using an text editor. That sort of verbosity and boiler plate should be handled by tools, not humans.

People who code using simple text editors, in highly verbose and boiler plate demanding languages like Java are exceptional few and going by the trend will never be the norm.

Re: Sublime Text 2.0 Released

#298

Serendipitous, as I'm planning on doing a lightning talk on ST2 tonight. Editors seem to raise a lot of religious issues, and not to totally discount the distinctions that can be made between them, but I think it's more important to know your editor well than to worry about "the best editor." (If such a thing exists.) As Hunt & Thomas say in The Pragmatic Programmer : "use a single editor well."[1] You'll be most pro…

>>As Hunt & Thomas say in The Pragmatic Programmer: "use a single editor well."[1] You'll be most productive if you learn your editor from head to toe, than if you half-assedly know several.

If this advice is to be taken seriously the only editors you can learn is vim and Emacs.

Shiny editors like Sublime Text come and go every 2-3 years. And putting effort learning them, only brings you back to your statement: "You'll be most productive if you learn your editor from head to toe, than if you half-assedly know several."

Re: Sublime Text 2.0 Released

#299
post #285

Earlier quoted context omitted.

In my experience, Sublime Text hits that exact niche you're describing. It does the things important to programmers, or people who work with lots of text, well enough that you don't have to worry about any plugins, etc. But it also offers a great plugin ecosystem for just about anything you want. Turning on "vintage" mode is a great plus, too, especially coming from vim.

And, like every vim emulator ever (with the possible exception of Emacs' spawn), it doesn't support all the vim keystrokes I use daily. My brain knows vim, and I'll code in vim. You don't see professional pianists perform on electric keyboards.

That's what I used to think. Then I started using Sublime text and it's project management features (together with Ctrl-P/Cmd-P) and realized what a huge productivity booster it was to me.

I know Vim has NerdTree and the equivalent Cmd-T plugin - I have tried them and they don't work out quite the same.

There are still lots of things I like about Vim that aren't there in Sublime but it's all about compromises. I still use Vim for editing single files but use Sublime for any project that requires multiple files to be opened and edited.

Re: Sublime Text 2.0 Released

#300
I use vim. As a software craftsman I want my hammer to be Open Source.

( just see what happened when TextMate got stagnated, there must be other examples )

It's my hammer, it must be open source if possible.

Post reply on HN