Live data from Hacker News

Sublime Text 2.0 Released

sublimetext.com

351–358 of 358 posts

Re: Sublime Text 2.0 Released

#351
(on OS X) ST2 cannot render RTL (Right-To-Left) text properly and the developer said in the forums that it won't be until ST3

although less mature editors like TextEdit or http://vicoapp.com or http://chocolatapp.com (beta) and http://activestate.com/komodo (IDE) don't have any problems with bidi and rtl texts

other OS X editors that could't show bidi and rtl texts:

TextMate 1 (http://macromates.com)

MacVim 7.4-64 (http://code.google.com/p/macvim)

Re: Sublime Text 2.0 Released

#352

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'll bet you don't spend any time editing multiple languages with conflicting notions of whitespace. I split my time between C and Python, and tabs in C (per Linux kernel coding style) and spaces for Python (per PEP-8), and having that be correct is important for my sanity (as well as for the other people I work with - especially those who aren't multi-linugual).

Vim has the ftplugin (filetype plugin), which makes this easy as pie, and extremely configurable, too.

You simply

    set filetype plugin on
then put configuration files for a filetype into ~/.vim/ftplugin/$filetype.vim (for example, python.vim, text.vim or even gitcommit.vim).

Within those, you can do things like setting expandtab or the tab/shift width - they are full local subconfigurations which override your global configuration. They are usually not very large (5 lines on average for me), but it sure helps keep things organized and easy to find and change.

Re: Sublime Text 2.0 Released

#353
post #302

Earlier quoted context omitted.

I started programming on VB3 and spent many years doing Visual C++ and C# as well as quite a bit of Java with IntelliJ. I depended deeply on IntelliSense/autocomplete. Years later, I don't remember how I ever got anything done with that stupid distracting drop down box. It's just so easy to arrow up/down through that list and hope to stumble upon the correct method to call. On the rare occasion that I type that membe…

Using it as an alternative to documentation is a small part. First of all you get a confirmation that what you have up to that point is somewhat correct. If the dropdown doesn't show then something's wrong - sometimes that's ok and expected. You also get a type confirmation and actual completion as in type one or two characters and have the rest filled out for you.

It's just a different style of working, but I almost never type long symbols. I go to their definition site, yank them into a buffer, and paste them into place.

Or, I work with a REPL. So I write the code there and run it before putting it into my code base, so I know it's correct.

Re: Sublime Text 2.0 Released

#354

Earlier quoted context omitted.

My father is a car mechanic and once said nothing more powerful.than having the right tool for the job. and he also said that your tools protect you.. the day you get a flat tire is exactly the day you put your tools out of the car...

For mechanical things, I think your father is exactly right. For programming and text editing, I think it is different. If you don't have the right sized socket wrench, probably all you are going to do is destroy whatever you are working on. With programming, i.e. editing text, it's a different story.

At the extreme case, I'd trust a vim or emacs or eclipse user with my next big project far more than I'd trust a user who willingly uses notepad.

Re: Sublime Text 2.0 Released

#355
post #340

Earlier quoted context omitted.

Well, the poster said a "good artist" told him that. Even so, perhaps your group were good artists but misguided on just this one issue. Another anecdote, I saw a thing on ice sculptors; there were two really amazing artists and they were arguing about which one used better tools. One artist used an angle grinder exclusively for almost everything and the other used hand chisels exclusively for detail. It doesn't seem…

I don't think these were thinking that a particular tool is necessary for creating good art, either. It is more about the fact that any craftsman becomes quite attached to their particular tools . This is the root cause of the endless Vi vs. Emacs debates as well.

I have a hammer that I absolutely love, I never need to use another tool for anything

Re: Sublime Text 2.0 Released

#357
post #21

Sublime Text is really awesome! It's remarkable work, especially since there is just one developer working on it: ST2 works very well on all 3 platforms, it's very fast and has a lot of cool features. :) I just hope that it keeps getting new features, the thing I'm really really missing is a terminal that runs in a ST2 tab.

Install the SublimeREPL plugin from Package Control. Works like a charm!

Yeah, I've been using that one for some days already. It's really nice but not what I really want. :)

For example I can't hit tab to auto complete. I'm also missing all the zsh awesomeness, so a real terminal running in some tab would be the best solution!

Re: Sublime Text 2.0 Released

#358
post #340

Earlier quoted context omitted.

Well, the poster said a "good artist" told him that. Even so, perhaps your group were good artists but misguided on just this one issue. Another anecdote, I saw a thing on ice sculptors; there were two really amazing artists and they were arguing about which one used better tools. One artist used an angle grinder exclusively for almost everything and the other used hand chisels exclusively for detail. It doesn't seem…

I don't think these were thinking that a particular tool is necessary for creating good art, either. It is more about the fact that any craftsman becomes quite attached to their particular tools . This is the root cause of the endless Vi vs. Emacs debates as well.

Fair, though the question is less, "Do we need good tools?" than "What makes a great tool?" VIm and Emacs both make great tools.

But nobody comes to VIm knowing how to use it intuitively. Its features make the investment worthwhile. Same with Sublime Text 2. There are features that instantly save time (the tiny thumbnail of your entire file makes traversal a breeze for me) and others than take a while to get used to (ctrl-P).

The question shouldn't be, "Should I waste time looking at ANY tools?" especially in the ironic context of, "I've used two decades of my life learning VIm and now it ROCKS." It's, "What does this tool have that makes it worth using?" That answer for me so far is speed, flexibility, and features, like the two above. I'd hoped to see more on those topics here.

When I want to use VIm, I do. When I want to use JEdit, I do. As the previous fellow replying says, you don't simply use hammers. Figure out where this tool -- which is a very good one -- fits. Its best feature might be its untimed trial period. Give it a shot.

Post reply on HN