Live data from Hacker News

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

sublimetext.com

11–20 of 156 posts

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

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

You can get this sort of navigation with ctags ( http://ctags.sourceforge.net/ ) and a plugin like this one: https://github.com/SublimeText/CTags

I also use cscope: https://github.com/ameyp/CscopeSublime

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

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

> Jump the the function/method definition

for scripting languages, define a function as concatenated string in eval(), how could you find the function definition, without actually run the script for once?

Even if you run the script once, what if there is a delete_file() function you accidently called?

So do we need to implement a sandboxed VM in order to find definition, theoretical perfectly speaking?

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

#14
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't just implement in Emacs' scripting language.

you can't implement minimap in CLI. It's a GUI concept.

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

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

You can do this in emacs with etags and etags-select.el. ctags works with vim.

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

#17
My favorite feature (already added in an earlier development release, but now finally in the beta track): On OSX, if you are editing a file you don't have write access to and you want to save it, Sublime now asks for authentication than then saves the file.

This is very convenient and not having this was the reason for still having TextMate around.

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

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

"ridiculously slow"? Well, it is slower than a small text editor, but after using Visual Studio for about a year, Eclipse seems blazingly fast to me.

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

#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

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

#20
post #3

For those wondering, auto-complete is quite fast. I've always avoided IDEs that offered this because they seemed to be terribly slow -- pleasantly surprised so far.

does it support any kind of CTags?

Yes: https://github.com/SublimeText/CTags
Post reply on HN