Does anyone know of a way to, when I save the file in Sublime Text 2, it update there on the site? It's not localhost, so I'm always having to upload the file to the server ..
Does anyone know of a way to, when I save the file in Sublime Text 2, it update there on the site? It's not localhost, so I'm always having to upload the file to the server ..
You can use the SFTP
package for Sublime Text 2 and 3.
Features:
But% w / w is not free . A free alternative is the SFTP
that is available for Sublime Text 2 and 3. Some features:
To use it simply mark the folder containing the files for upload in the ftpsync.settings file in the following format (this example does not contain all the options):
{
'primary': {
host: 'ftp.mywebsite.com',
username: 'johnsmith',
password: 'secretpassword',
path: '/www/',
upload_on_save: true,
tls: true
}
}
The skeleton can be simply inserted by going to Preferences → Package Settings → FTPSync → Setup FTPSync in this folder , or using the context menu in the sidebar or through the shortcut CTRL + Shift + P . See the full list of settings here .