Live data from Hacker News

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

sublimetext.com

111–120 of 156 posts

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

#111
A small bug with the auto-complete update when you edit a new C++ file (I've checked this only on Mac):

When you start writing #in... Sublime will suggest you #include ... pressing Enter will actually double the pound sign. You end up with something like ##include ....

I've noticed the same pattern for int m... the suggested completion was main(). Pressing Enter ends up repeating the return type of the main function, something like:

int int main(int argc, char *argv[]) ...

Maybe this a Mac only bug or it has something to do with the way the C++ syntax is parsed by the Auto-complete algorithm.

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

#112
post #26

Anyone using this editor should install this plugin first: http://wbond.net/sublime_packages/package_control It's fantastic and gives you a simple in-editor way to add/remove other plugins, direct from their github repos, without needing to leave or restart the editor. It also automatically keeps them all up to date. Once it's installed, you can just use the command palette (ctrl+shift+p) to install any of these plug…

I'd also recommend immediately installing SublimeCodeIntel and SublimeLinter. These plus autocomplete have made ST2 the best editor I've used in 10+ years. And the latest beta is even faster than before.

CodeIntel never fails to make ST2 crash for me. :(

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

#114
post #88
post #85

Earlier quoted context omitted.

That's one annoyance out of the way. Is there a decent way to work with remote files yet? This is always the killer for me.

Try this out: http://wbond.net/sublime_packages/sftp I haven't used it, but I'll probably end up taking a look at it soon. Please report back if you end up using it.

Been using this package for some time now and can say that it's been great. It's super-fast, and is integral to my work flow.

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

#115
It makes me sad that the best tools available for writing code in so many otherwise exciting languages are still resorting to text-based autocompletion. And blogging about it as though it's something to be proud of.

This is certainly a pretty editor. But at its heart, it's still a text editor. And what I do for a living is edit code.

Code has a lot more information about it than text. I can imagine looking at a line such as:

  item.hide()
in this editor, knowing that my codebase has half a dozen classes that expose a .hide member. I hesitate even to ctrl+click on it in this editor, because I know it'll either do nothing or take me to the wrong definition.

In a perfect world (and in IDEs for statically typed languages since 1998), the editor would know exactly which .hide we were talking about. And it could gracefully send me there with a single click or keystroke.

I'm still waiting for something equivalent to appear for the Ruby/Python/Javascript portion of my world. But years keep ticking by and the best we get is text editors that try to guess by looking at text.

Maybe next year.

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

#116
post #50

Only at HN will you find people gushing about a $50 text editor. It's totally pathetic yet oddly endearing at the same time.

I spend about as much time using my text editor as I do my mattress, and no one looks funny at someone paying hundreds of dollars for one of those. The text editor took far longer to put together, too.

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

#117
post #50

Only at HN will you find people gushing about a $50 text editor. It's totally pathetic yet oddly endearing at the same time.

I spend about as much time using my text editor as I do my mattress, and no one looks funny at someone paying hundreds of dollars for one of those. The text editor took far longer to put together, too.

People also pay hundreds of dollars for text editors, if you include Microsoft Word among those.

Edit: and Microsoft IDEs

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

#118
Wow, this is seriously nice. Never heard of it before. Just today I've been trying out Netbeans as I'm a vim addict but my colleagues keep telling me how wonderful their IDEs are - Netbeans was much too heavyweight for my liking, but this looks like just the right balance between features and simplicity/speed.

Loving the mini-map and package manager particularly. The vim emulation seems to cover most of the key ones I use too. Nice work!

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

#119
post #118

Wow, this is seriously nice. Never heard of it before. Just today I've been trying out Netbeans as I'm a vim addict but my colleagues keep telling me how wonderful their IDEs are - Netbeans was much too heavyweight for my liking, but this looks like just the right balance between features and simplicity/speed. Loving the mini-map and package manager particularly. The vim emulation seems to cover most of the key ones…

Vim keybindings didn't work well for me. In command mode tried vip to select the current function definition and it instead went into insert mode with the i. To me that means it's probably got lots of other quirks. Do you just not use those types of visual mode operations? Or did it rather successfully handle this for you?

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

#120
post #64

If you use vim be sure to check out the Ex mode package: https://github.com/SublimeText/VintageEx

Vintage mode is a killer feature for people (like me) who are wired for Vim's modal editing. The fact that it works reasonably well (somes bugs here and there but it's an alpha so understandable) is what made me even consider Sublime in the first place. Now, after having been using Vim for about 8 years now, after a few weeks of trying Sublime, I'm pretty much ready to pony up for SublimeText 2 whenever the final ver…

Using 'vip' to select the current paragraph didn't work for me on osx (instead it went into insert mode with the 'i'), so I gave up on my very brief trial. Did I give up too soon? Or is that oversight typical of other quirks I'll run into?
Post reply on HN