I use Visual Studio Code and WinSCP. When I open .scss file via WinSCP the file is opened automatically by VSC – It's ok. There is an extension Live Sass Compiler to I could compile .scss into .css file. The problem is that .css file is created in temporary folder with random number so I always must upload the file manually by drag the file from the folder to FTP client.
Is it there any solution to upload the .css file automatically on save from the temporary folder? Thank you in advance for a help.
Download the files to a local folder.
Have WinSCP monitor the folder and automatically upload any modifications (including new files).
Edit the files locally (and have WinSCP upload the changes, including the generated files).
For your literal question, there's WinSCP feature request.
Related
I have a project that has hundreds of .c .h and .cpp files. I'd like to start using vscode with this project; however, I need to be able to tell vscode what files to actually include in the project (because depending on the build, many files are not included). Is there a way to force a file list into vscode without using the GUI/Add-File mechanism?
Netbeans has stopped uploading files using the relative file structure. No matter what I upload path settings I enter, it uploads only to the server root. How can I fix this?
The problem is just for one project; other projects using the same configuration are okay.
I compared the files in nbproject with a working project and there are no differences.
I changed the "upload directory" but it doesn't change where the file gets uploaded to
I deleted the project and
created it anew.
It seems to be simply ignoring the config.
On my local computer, the path is:
/MyNetbeans/Project
/Source Files
/folder1
/folder2
MyFile.php
/Include Path
/Remote Files
When I upload, it saves the file to
/folder2/MyFile.php
but it should save it to
/folder1/folder2/MyFile.php
Netbeans 12.0,
Windows 10
Any ideas for getting it to upload using the relative path?
SOLUTION: change the Sources folder in Project Properties.
From the Netbeans File menu > Project properties > under Categories select "Sources". Next to "Source folder:" click BROWSE. Navigate to the folder, higher or lower, in the local directory structure which matches the directory structure on the server > OK.
Upload the file and check the server to see where it was saved. Rinse, lather and repeat as necessary.
Is there a plugin to directly edit content of a zip file without extracting the content to a temporary folder myself ?
I have already tried the Zip File Explorer Plugin, but it is a read only viewer.
I am deploying my documents automatically to the server.
When I save my .less / .sass files, the File Watcher transpiles them, but only uploads the source files, not the transpiled .css file.
Is there a way that the .css file is also being deployed?
Make sure to tick the 'Upload external changes' checkbox in Deployment/Options. This option makes PHPStorm upload the files changed by a third-party tool (LESS compiler in your case).
See http://www.jetbrains.com/webstorm/webhelp/deployment.html and related topics for more info
I would like to upload a files in Netbeans, for example from: C:/my_folder in my computer into /home/public_html folder on the server. I've specified initial path as /home and upload directory as /public_html, and in the properties my path looks like this: sftp://host.name.com/home/public_html.
But when I upload files I find them in the /home/public_html/my_folder ... how to fix it? Because I've tried all options in the properties but still doesn't work.
You have to create a new project and set your project folder to C:/my_folder. Set your upload path to /home/public_html as you have.
Now, if you have a file C:/my_folder/x.html it will be uploaded to /home/public_html/x.html.
Here is a step by step instructions to upload files from Netbeans.
http://www.gridsandguides.com/blog/how-to-use-net-beans-to-edit-file-on-server