Live data from Hacker News

Sublime Text 2 Beta released with Auto-complete and Improved UI

sublimetext.com

41–50 of 156 posts

Re: Sublime Text 2 Beta released with Auto-complete and Improved UI

#41
post #34
post #8

What I really miss in all these fast small editors is the quick-jump features that actually analyze the code and let me do things like 1) Jump the the function/method definition (even if it's in a different file) when I press Ctrl and click on the function name. Eclipse does this. 2) Quick find of the function/method definition across the whole project. Eclipse does this as well (Ctrl + R). I don't use Eclipse that m…

AFAIK Komodo IDE (7.0 at least) has this feature and it is definitely faster than Eclipse, but it is infinitely more expensive.

I haven't tried Komodo since a year, but when I last tried it, it definitely feet like "Not my kind".

None of the normal (you come to expect) keybindings work. It was slow/sluggish.

At the time when I checked out (I have no reason to believe why it would be much different today) Wing seemed infinitely more awesome. - The ability to split screens, the amount of time the UI actions take. The F1 and F2 that provide more screen real estate felt far more interesting than Komodo, which almost felt the opposite. Komodo didn't have the deep Python integration like wing does. The goto definition etc are far more better in Wing.

Re: Sublime Text 2 Beta released with Auto-complete and Improved UI

#42
post #19
post #9

I really wish Emacs had smooth scrolling, indent guides and that Minimap. Those are some killer features that you can't just implement in Emacs' scripting language. edit: minimap exists! (Obviously only in GUI Emacs) Animated sub-line scrolling probably requires hacking the Emacs source. Indent guides might be possible just in elisp, but I don't know how good they would look.

http://www.emacswiki.org/emacs/MiniMap

Let me point out that the Emacs minimap is way cooler than that of SublimeText. Check out the semantic overlays.

Re: Sublime Text 2 Beta released with Auto-complete and Improved UI

#43
post #9

I really wish Emacs had smooth scrolling, indent guides and that Minimap. Those are some killer features that you can't just implement in Emacs' scripting language. edit: minimap exists! (Obviously only in GUI Emacs) Animated sub-line scrolling probably requires hacking the Emacs source. Indent guides might be possible just in elisp, but I don't know how good they would look.

You can add indent guides to Emacs. Look for the first result in google.

Re: Sublime Text 2 Beta released with Auto-complete and Improved UI

#44
post #39

This guy has to be on caffeine, modafinil, and love for his product. Incredible velocity here.

Is it... really just one guy doing the core dev work? (nonwithstanding plugins and so forth)

Yeah, it's one guy called Jon. He's been really responsive when I've talked to him.

Re: Sublime Text 2 Beta released with Auto-complete and Improved UI

#45
Favourite Option: When you close the editor, it just shuts down, saving all your buffers and restoring them when you reload. That means you can close the app, reboot your computer, whatever, and the edits you've been making aren't lost, and you aren't bugged for filenames.

Definitely a 'why don't all apps work like this?' feature.

Re: Sublime Text 2 Beta released with Auto-complete and Improved UI

#48
post #29
post #22

The great thing about ST2's autocompletion is that it is totally extensible, allowing you to hack your own completion routines. I wrote an indexer for Objective-J code last year, that scans a set of folders (which can include the Cappuccino frameworks if you like) and creates a completion index of all the class names, methods, functions, etc. It was trivial to make an ST2 plugin that completes using that data. The ab…

What would it take to get it to be as smart as, say, Intellisense?

Well, that would really take a lot of work, to make it good.

There's some commented-out logic in the 'official' Cappuccino plugin for ST, that takes into account the scope and then works backwards to try to figure out what type of object you are messaging.

https://github.com/aparajita/Cappuccino-Sublime

But I think the reason that's commented out is that it is easy to get some parts working, but to do it right you need to analyze the whole code base, with a real parser, be able to follow the map of import/include statements back to know what code elements are actually available in the current scope, etc etc. And that's a lot of work.

Still, there's a lot of value in doing a good job with a simpler kind of completion -- and it is way easier, as long as the editor is extensible to the extent that ST is.

Post reply on HN