PhpStorm: Automatically deploy .css files after File Watcher transpiled .less / .sass files - deployment

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

Related

How to open vscode on a large directory of files

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?

Upload .css file after saving .scss file

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.

How to export Intellij project as Eclipse archived folder

My professor wants all assignments submitted as an archived folder and wants the program to be able to run on his Eclipse when he grades them. The program is a simple one with one folder that has to contain just one class with the main method.
I am using IntelliJ.
I followed Jetbrains faq on exporting files as Eclipse-compatible using Files --> Export : https://www.jetbrains.com/help/idea/exporting-an-intellij-idea-project-to-eclipse.html
It looks like the files were successfully converted as my folder directory looks similar to what the website. A screenshot of my directory after exporting: https://imgur.com/a/qQY4lUH
I am not sure what to do here as I am not familiar with the Eclipse ".classpath" and ".project" files that were created as well as the .eml and .iml files. I don't know what to do with them.
I was thinking of just copying them into a new folder called "ReviewNW" and archiving them and submitting that folder. I don't know if that would be enough for Eclipse to run my program. Is there something else I have to do from here?
Additional question: I have since changed some things in my program. Now when I try to use File --> Export, IntelliJ gives me an error and says I "cannot export files already exported to eclipse-compatible format". What if I make some changes to my class files in my src folder and need to export those changes again? I think I would need to manually delete each of those Eclipse files and export again or is there a simpler way?
Thank you!

How to delete only class files with eclipse?

I have dynamic web project in eclipse. I set my default output folders (my class files) to be in WebContent/WEB-INF/classes. I have another files in this folder like .properties and .xml files. The problem is when eclipse make clean or new compile or I dont know exactly but sometimes it delete all the files from this directory. Do u know how to set eclipse to delete only the class files and never touch the other ones?
put your .properties , .xml files in source folder of your web project and not in classes folder. doing this way, eclipse will directly copy those files from source folder to classes folder after a build.

Eclipse Dynamic Web Module and Apache Wicket

I want to place .html files in the same package with .java files under /src/main/java but when creating new .html file Eclipse offers /webapp as the default folder. Is there any way to change this behavior?
The default is to offer to place it in a folder that will be deployable to the server and readable by clients. You're still able to pick another folder, aren't you?
I like to put my Wicket HTML files in the /src/main/resources folder. Then I mark that folder as 'source folder' in Eclipse (Project Buildpath).
So that, I have the HTML separated from the java files, but they will be packed together (both with Eclipse and Maven).