Skip to content

Open a file in your locally running Visual Studio Code instance from arbitrary terminal connections.

License

Notifications You must be signed in to change notification settings

microbubble9586/rcode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rcode

This repo is fork from code-connect Thanks for this cool repo.

rcode_demo.mp4

What changed

  1. PyPI
  2. support local open remote dir command rcode ${ssh_name} ${ssh_dir}

INFO

  1. pip3 install rcode (or clone it pip3 install .)
  2. install socat like: (sudo yum install socat)
  3. just rcode file like your VSCode code .
  4. local open remote use rcode if you use .ssh/config --> rcode remote_ssh ~/test
  5. local open latest remote .ssh/config --> rcode -l or rcode --latest
  6. add shortcut_name rcode s ~/abc -sn abc then you can use rcode -os abc to open this dir quickly

Note:

  • Be sure to connect to the remote host first before typing any rcode in the terminal
  • We may want to add ~/.local/bin in to your $PATH in your ~/.zshrc or ~/.bashrc to enable rcode being resolved properly
- export PATH=$PATH:/usr/local/go/bin
+ export PATH=$PATH:/usr/local/go/bin:~/.local/bin

About

Open a file in your locally running Visual Studio Code instance from arbitrary terminal connections.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%