Serious issues setting up WebStorm with remote server

Hi there,

I'm trying to evaluate WebStorm for a review and have been having a very bad time with it so far; hoping for some help.

My project is on an existing website sitting on a remote FTP server. Since WebStorm can only exclude files by wildcards, it took me about a week to get it to download the right files (and filter out all the ZIP, DMG, etc etc files). I kept finding more files I need to filter out, and had to restart the lengthy download process over and over again, at least five times.

Now that I finally have the site on disk, my troubles are far from over:

1) Files keep changing on the server, but the "Synchronize" (Ctrl+Alt+Y) command seems to be doing nothing to actually sync my local copy with the server-side copy. Apparently it only checks for changes made on my own disk by external apps -- is that right?

I found no other way to sync the files back down using FTP, except to re-download all files yet again. What am I missing?

2) Most files on my site end with a TXT suffix (due to the way our in-house CMS works), but actually contain HTML and JavaScript. I couldn't figure out how to get WebStorm to syntax-highlight these files properly.

These two issues keep me from even getting off the ground with WebStorm. Any help would be appreciated.

Best,
Erez

2 comments
Comment actions Permalink

Hi, Erez!

First, excluding files from synchronization(and also from upload and download) is improved it 3.0. You may exclude directories and files, and it can be done during creating project from remote server (see WI-2226 for more information). Currently you can do pretty the same using file names or path parts in exclusion by wildcards. In case you need some other kind of exclusion, please, describe it.

"Synchronize" action really synchronizes project files state in ide and on disk. Now you have to download all files to get updates. And currently I'm solving issue WI-1284 and creating Safe mode for upload and download. This type of action would transfer only changed files, and guarantees no other side's changes would lost.

To make your files highlighted properly open Settings | File Types and remove *.txt from Text files' registered patterns. Then add *.txt to patterns of HTML files. Now all .txt files would be considered to be html, so, real text files would be full of supposed errors. Use Mark as plain text action from context menu in Project View to remove those error reports.

Best regards,
Shaverdova Elena

0
Comment actions Permalink

Erez,

2) Most files on my site end with a TXT suffix (due to the way our in-house CMS works), but actually contain HTML and JavaScript. I couldn't figure out how to get WebStorm to syntax-highlight these files properly.

Also it is possible to associate wildcards (*.some_sub_suffix.txt) with the file types.

Thank you for feedback!

0

Please sign in to leave a comment.