Can PhpStorm disable whole folder Deployments? - phpstorm

Is there a way to limit Deployment in PhpStorm to only allow 1 file upload at a time, or disable the ability to upload whole folders?

Related

PhpStorm - Autodownload certain folders

I've set up PhpStorm to auto-deploy changed files to the vagrant box.
However, I run the build scripts in the box, and I can't count the times I shipped some module without copying back (downloading) those compressed JavaScript files, out of vagrant, into my local working directory.
Is there a way to make PhpStorm monitor the deployment server, and download changed files?
Is there a way to make PhpStorm monitor the deployment server, and download changed files?
There is no auto-download.
The IDE is build around "local code first" idea where local is the source and any remote is just a copy.
If you need to download remote stuff I suggest to manually use Sync With Deployed action from Deployment menu: it allows to manually sync files and folders both ways: https://www.jetbrains.com/help/phpstorm/deploying-applications.html
https://youtrack.jetbrains.com/issue/WI-1284 I guess (as it's about syncing remote to local)... Watch this ticket (star/vote/comment) to get notified on any progress.

Disable local changes toolbar in PhpStorm

How to disable the local changes toolbar in PhpStorm?
It shows up when working with remote files.
Unfortunately, there is no known way to disable it.
Technically, this toolbar reminds you that you are editing remote file and it is not automatically saved apart from local files.
You may want to configure deployment with automatic upload. In this way, you will always edit your files locally and these will be auto-uploaded on save action (by timeout or changing editor focus).
More about deployment:
https://www.jetbrains.com/help/phpstorm/creating-a-remote-server-configuration.html

Reconfigure each time - PhpStorrm

I am making all the settings of the PHPStorm software and when i reset, I set up FTP settings again every time and I can not see the last open files
For example, each time; Tools > Options > "Upload changed files automatically to the default server" .. I am setting this option every time.
I've never experienced this before.
What could be the reason for this?
Such problems may occur if the project is located on OneDrive; you can move .idea files to a local folder that is not part of OneDrive sync, keeping sources on OneDrive: create a new empty project in the preferred location on your local drive, and then link your source folder located on OneDrive to it by adding it as a content root in Settings | Directories, Add Content Root

How to browse user generated folder in Openshift?

I made new app with PHP and JS, some users already uploaded the images on generated folder, I wanted to explore their images were submitted, but I did git pull, it won't download images
http://canvasuploader-powerupware.rhcloud.com/
Generated folder is http://canvasuploader-powerupware.rhcloud.com/user_images and it displays Not found.
Actually there are some images are saved on this folder, so how to explore this folder in Openshift?
Anything your users upload to OpenShift will not be put into your git repository. You will need to save the images into your OPENSHIFT_DATA_DIR, and then create a symlink into your app-root/repo-runtime/php folder so that they will be web accessible if you need to display them. if you want to download them to your computer, you can use the scp command, or you can use the rhc snapshot save command.

Package Control - plugin to run file in browser

I am looking plugin to run .html file in browser and also open folder in windows explorer.
The reason is simply. I always start work in the same way: run Sublime Text 2, click 16 times with mouse on folder to open folder with project and run index.html or other. I also need open folder because i copy there from time to time some graphics or other files.
Navigating to files
You can save your workspace as a project in Sublime Text so you don't have to re-navigate to the same files every time.
Open the files you need and lay them out however you like
Go to Project > Save Project As and save the project file somewhere convenient
Open the project file to resume work on those files
As a side note, I highly recommend the SyncedSidebar plugin to automatically expand the sidebar to reveal the files you have open.
You should also be able to right click in the file you're editing and "Reveal in Windows Explorer" (I use a Mac so I can only verify "Reveal in Finder").
Opening in a browser
You can set up a build path for this, or use a plugin like View in Browser.