GithubHelp home page GithubHelp logo

fabiospampinato / vscode-transmit Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 3.24 MB

Adds a few commands for interacting with Transmit.

License: MIT License

TypeScript 100.00%
vscode vsc extension transmit upload download synchronize

vscode-transmit's Introduction

Transmit

Logo

Adds a few commands for interacting with Transmit.

Install

Follow the instructions in the Marketplace, or run the following in the command palette:

ext install fabiospampinato.vscode-transmit

Usage

It adds 4 commands to the command palette:

'Transmit: Connect' // Connect to the server
'Transmit: Upload' // Upload the current file to the server
'Transmit: Download' // Download the current file from the server
'Transmit: Synchronize' // Synchronize local and remote roots

You can also right click a single file/folder for uploading/downloading/synchronizing it.

Settings

You should provide at least one server object with all of its properties.

{
  "transmit.servers": [ // List of servers
    { // Server object
      "favorite": "", // Name of the Transmit favorite to use
      "domain": "", // Domain to connect to (e.g. example.com)
      "user": "root", // User used in the connection
      "protocol": "SFTP", // Protocol used in the connection
      "localRoot": "", // Local root path
      "remoteRoot": "" // Remote root path
    },
    ...
  ]
}

License

MIT © Fabio Spampinato

vscode-transmit's People

Contributors

fabiospampinato avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vscode-transmit's Issues

Connect to server, not just site

Hey there! I noticed in the overview there is a line for "domain": "", // Domain to connect to (e.g. example.com)

My problem is, I don't just want to connect to one site. I want to connect to a server and see all the sites on that server, but it doesn't seem I can leave that line blank or delete it and just connect to the server itself?

Reuse windows when possible

When upload end there is new window.
Every action give another window. In meantime, I have about 10-20 windows and need manually close.
Can be this done in background manner in some way?
Upload without any window visible?

This is probably done in this section:

So this is done by apple script.
Maybe there is room to implement something like this: https://stackoverflow.com/a/52007934
Of course, this would need new option along with another one think - override file.
This need to be "accepted" in every new command send. Using "session" option will merge with default action on main app window so this isn't best scenario.

"root" inserted into remote path

When trying to upload a file using VS code, I get a message from transmit:
Could not change directory to “/root/prototype/sites/journal/content”.

The relative path of the file is sites/journal/content/author-guidelines.php
My config is
{ // Server object
"favorite": "Prototype", // Name of the Transmit favorite to use
"domain": "66.223.50.114", // Domain to connect to (e.g. example.com)
"user": "gabdesign-uk", // User used in the connection
"protocol": "SFTP", // Protocol used in the connection
"localRoot": "~/Documents/Development/wwwroot/prototype", // Local root path
"remoteRoot": "/" // Remote root path
}

I'm not sure why "root" is being added to the path. Can anyone help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.