SiebelsTim / hack-sublime

Hack's typechecker & autocompletion inside Sublime Text
30 stars 4 forks source link

SSH connection #4

Closed jeyemwey closed 9 years ago

jeyemwey commented 9 years ago

ATM I have my Windows with a Ubuntu-VM with smb, hhvm and openSSH on it. My HHVM workflow looks like the following: Write code -> save it via network mount to the VM -> go into Putty -> write "hh_client" -> see errors -> go back to Sublime and compare line numbers -> fix error -> try again. This is really sad..

To cut a long story short: Can you add ssh-support to your plugin, please? :3

SiebelsTim commented 9 years ago

I think this is a wanted feature by some more people. And I can really see the advantage.

This will be implemented. But I can not give you a timespan right now (Pull Request welcome :P).

jeyemwey commented 9 years ago

Didn't you also develop the plugin for Atom? In my (unknowing) eyes it should not be that much change, is it?

SiebelsTim commented 9 years ago

I did not :p I think @steelbrain fiddled with sublime and ssh. Maybe he still has some code laying around?

steelbrain commented 9 years ago

@SiebelsTim I tried to add SSH support to hack-sublime, but It depended upon some python libraries and Because SublimeText uses it's own version of Python and has it's own include path, I never got it to work :smile: .

I'll try again in the next few hours.

UPDATE: I don't think it's gonna be any easy. I just tried and appended the OS's python include path in the Sublime's Python include path and installed paramiko via pip and Et Viola! They conflicted!

bodinsamuel commented 9 years ago

Could be greatly apprecied :+1:

SiebelsTim commented 9 years ago

I have a working diff locally for ST3. I just need some more testing :)

SiebelsTim commented 9 years ago

https://github.com/SiebelsTim/hack-sublime/commit/7105b29762d21e50c87cfcf0f8a81beafece9119

Bug reports welcome :)