Live data from Hacker News

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

sublimetext.com

101–110 of 156 posts

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

#101
post #87

How do people deal with remote files? I love Sublime, but always end up reverting back to VIM as it is so slow when accessing files over a network connection. I've tried the SFTP plug-in, but find it really clumsy. Ideally I'd just love to be able to add a remote folder over SFTP the same way you do local ones.

try something like WebDrive, NetDrive, ExpanDrive or Dokan SSH http://dokan-dev.net/en/

they create a mapped drive to a location of your choosing and you edit files as if they were local.

i stopped worrying about the remote editing functionality in editors since. before that i used winscp, which detects changes and re-uploads automatically, but it's not as convenient.

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

#102
primarily as a web dev, the only two things preventing me from switching from NP++ is the poor and non-customizable matching bracket styling. and the buggy html matching tag highlighting (and styling as well)

once those get addressed more fully, i'm ready to cough up the cash.

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

#104
post #85
post #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.

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.

OK, this isn't "decent". But: On a Mac, with a good connection to the remote machine, I've found the combination of

- ExpanDrive, which uses MacFUSE to mount remote volumes over SSH, but with lots of metadata caching smarts to make it fast and reliable

- My hacky remote textmate script, which gives you a "mate" command on the remote machine via ssh tunneling (https://github.com/jaylevitt/textmate_remote)

to work well with TextMate. I've been meaning to try it on ST2 but haven't yet; as long as ST2 doesn't do the horrible thing TextMate used to do and continuously rescan the project directory in a blocking thread, you'll be cool.

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

#105
post #40
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…

I think you are looking for the CodeIntel plugin. It takes a few minutes to index large projects, but after that, it's really fast and Alt + Click will take you to the definition of things. I switched completely from TextMate. Take a look: https://github.com/Kronuz/SublimeCodeIntel

Is SublimeCodeIntel working well again/yet? I tried it a few months ago on Mac and it caused major slowdowns all throughout ST2 - even just typing text was slow when it's installed. I've heard other such reports on the forums, and a co-developer had the same problem last week.

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

#106
post #87

How do people deal with remote files? I love Sublime, but always end up reverting back to VIM as it is so slow when accessing files over a network connection. I've tried the SFTP plug-in, but find it really clumsy. Ideally I'd just love to be able to add a remote folder over SFTP the same way you do local ones.

See elsewhere my post about ExpanDrive and SSH tunnels..

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

#107
post #40

Earlier quoted context omitted.

I think you are looking for the CodeIntel plugin. It takes a few minutes to index large projects, but after that, it's really fast and Alt + Click will take you to the definition of things. I switched completely from TextMate. Take a look: https://github.com/Kronuz/SublimeCodeIntel

Is SublimeCodeIntel working well again/yet? I tried it a few months ago on Mac and it caused major slowdowns all throughout ST2 - even just typing text was slow when it's installed. I've heard other such reports on the forums, and a co-developer had the same problem last week.

I use it daily and have no issues on my machine with slowdowns or any trouble. SublimeCodeIntel + SublimeLinter + autocomplete are what made me switch to ST2 a couple months ago. Haven't touched TextMate or emacs since.

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

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

ST2 allow you to do it within the same file, but not outside of the file.

Actually, with SublimeCodeIntel, you can jump to any definition anywhere in your project.

Moreover, at least in Python (perhaps others?), you can jump to definitions in any included lib that aren't even part of your project's source code--e.g., import something from django & it'll jump you right to Django's source for any imported method, class, etc.

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

#109
post #70

Earlier quoted context omitted.

Is this controlled by the color scheme itself? I'm running Solarized Dark, and the sidebar does have the same scheme as the editing window.

Yes, this is part of the Color Scheme that you used.

To change the sidebar color, you can go into the default Theme directory, find the new global theme file and update it manually. It's all JSON, so just search the file for "sidebar" and you should find the RGB string to play with.

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

#110
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.
Post reply on HN