cj / sublime Goto Github PK
View Code? Open in Web Editor NEWSublime packages & Config
Sublime packages & Config
"type": "sftp",
"save_before_upload": true,
"upload_on_save": true,
"sync_down_on_open": true,
"sync_skip_deletes": false,
"sync_same_age": true,
"confirm_downloads": false,
"confirm_sync": true,
"confirm_overwrite_newer": false,
Above are my sftp-config.json settings.
sync_down_on_open is true but it is not working for me.
I changed the remote file and then opened the previously synced local file. I expected local file to get updated but i received "No Operations to perform" and the file is not downloaded and synced. Please let me know if this is really an issue.
PS: I am using sftp_flags with proxy command. I am accessing actual server via an intermediate server (jump host). Other features are working fine...
Hi @cj, I'm using sftp in sublime3, trying to connect my server B which can only access though a proxy A.
I can connect to A with a key file, by doing like this: "ssh_key_file": "D:/sshkeys/sublime_keys_jnyang.ppk".
Now how can I connect to B?
I tried he following, but failed.
"host": <ip_of_B>,
"user": <user_on_B>,
"password": <passwd_of_B>,
"port": <port_of_B>,
"sftp_flags": [
"-o", "ProxyCommand=ssh -p user@ip_of_A -i /path/to/A's key -W %h:%p"],
The rror message is "failure (Connection timeout)", can you tell me what's wrong? Thanks.
Hi, I would like to create another menu item. Let say:
{
"caption": "Deploy My project!",
"command": "sftp_sync_up",
"args": {
"paths": ["./app", "./config", "./resources"]
}
}
Something like that. The idea is not to right-click every folder I want to sync or upload. I jut right-click a project root and it syncs all the folders I consider essential.
The implementation, however.. It's very vague for me which arguments each of available commands may take. If I leave it as in above example -- it simply starts uploading the root.
Is there a bit more of a documentation available?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.