Live data from Hacker News

Sublime Text 2.0 Released

sublimetext.com

191–200 of 358 posts

Re: Sublime Text 2.0 Released

#191

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…

What prevents me from using cmd-P is that I usually just open my entire project folder in Sublime. When I do cmd-P to open for example "foo.py", it doesn't understand that I mean the foo.py which is in the same directory with the file I have currently open. Instead it lists all the foo.pys I have in any project I have ever created.

Re: Sublime Text 2.0 Released

#193
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…

> the time I invest into my tools have made my experience of sitting down in front of a computer incredibly enjoyable

I've found that too, asnd it helps me be productive. I run MediaWiki on my PC as my internal documentation system. I used to use it with the default skin, which looks a bit meh, but I recently added my own skin, which looks a lot nicer. I found that every time I looked at the wiki after that, I got a little hit of joy from looking at a nicely-skinned page.

Re: Sublime Text 2.0 Released

#194
post #144

Earlier quoted context omitted.

Something like this: https://gist.github.com/2996793 (16 lines, but you get the point).

Can I ask why you disable the swap file? As someone with a computer that is horribly unstable (in the process of replacing it over the course of next month), the swap file has saved my ass on a few occasions.

it can be a security risk, for example, .php config files on a web server.

Re: Sublime Text 2.0 Released

#195
post #191

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…

What prevents me from using cmd-P is that I usually just open my entire project folder in Sublime. When I do cmd-P to open for example "foo.py", it doesn't understand that I mean the foo.py which is in the same directory with the file I have currently open. Instead it lists all the foo.pys I have in any project I have ever created.

I think you can avoid this problem by setting up projects and then switching projects you're working on to contain the search space.

Re: Sublime Text 2.0 Released

#196

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…

It's language dependent. For instance, I've installed SublimeRope for Python refactoring. When I open a new project, I run the "Rope: New Project" command and give it the source directory of the project and the path to the virtualenv I'm installing it in.

I'm looking at a Django project right now. At the top, I see something like:

    from django.conf.urls.defaults import patterns, url

    urlpatterns = patterns('', [...])
Moving to the "patterns()" call, I press command-F3 and it opens "/Users/kirk/.virtualenvs/portal/lib/python2.7/site-packages/Django-1.4-py2.7.egg/django/conf/urls/__init__.py" and puts the cursor on the "def patterns()" line.

It works pretty well.

Re: Sublime Text 2.0 Released

#197
The animated screen shots in this blog post and on the front page are quite nicely done. Looks like a series of images being moved and swapped through a canvas area.

Anyone know of libraries that can automate the creation of these kind of animations?

Re: Sublime Text 2.0 Released

#198

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…

I used sublime text and my interns all use visual studio. I love both, but I can give a few points: * No CTRL+D duplicate line in VS * Can't use middle-mouse in VS to select multiple columns * Can't place your cursor in many multiple locations at once in VS * You can use ALT+DRAG to select columns in VS but there's no way to put a carat at the end of each of a bunch of lines of varying sizes * CTRL+J to append the ne…

I use ST2 and have been learning about using multiple cursors, but I wonder what kind of things are you doing where that comes in handy? So far I haven't had a chance to use it, especially since there already is a shortcut for commenting things out.

Re: Sublime Text 2.0 Released

#199

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?

I use the mouse all the time while developing software. And oddly enough, it doesn't diminish my productivity, since I generally spend more time thinking than typing, and use an IDE to get any boilerplate out of the way or look up API calls or refactor.
Post reply on HN