PhpStorm Deployment Settings - deployment

please tell me how to synchronize projects in PHPStorm.
For example, I edited the project at work, when I come I need to sync it with a computer at home.
Or I do not know if I edited the project or not, but I need to sync with what is now on FTP.

Tools | Deployment | Sync with Deployed...
http://confluence.jetbrains.com/display/PhpStorm/Deployments+in+PhpStorm
http://blog.jetbrains.com/phpstorm/2014/03/webinar-recording-deployment-with-phpstorm/

Related

Is the a way to share a preconfigured vscode.dev?

The situation is, I want to share my settings of vscode.dev to others. That could include
extensions installed
tabs opened (not files, but some extension related tabs such as panels or previews)
So the person who clicked on the shared link can go to vscode.dev, but with my configurations.
Try to use Settings Sync, its the easiest way: Settings Sync
You could try to create a settings.json too, and share that file with others.
I think the only solutions you have here is to use either GitHub Codespaces (Dev Containers) or store config in repository.
Basically you will not have a link for preconfigured vscode.dev. The idea is to have all required configuration in devcontainer.json file committed it to repository. So whenever the repository is opened VSCode uses the file to configure environment.
Also you can change you settings in Workspace and right click on extensions and click "add to workspace recommendations". That will create .vscode/extensions.json, .vscode/settings.json and commit .vscode folder into repository.
TLDR: commit VSCode configuration files into repository and open repository in vscode.dev
Look into Profiles, which can be enabled in your Settings (currently experimental but will be made generally available in vscode v1.75 due out very soon.
Current setting in Stable: Workbench > Experimental > Settings Profiles: Enabled
There is no setting for Profiles in the Insiders Build, it is just enabled by default. I assume when v1.75 Stable comes out that will also be the case.
See v1.75 Release Notes: Profiles:
We are happy to announce that the Profiles feature is now generally
available in VS Code. A Profile can include extensions, settings,
keyboard shortcuts, UI state, tasks, and user snippets. You can
customize VS Code for different development scenarios like data
science, documentation writing or for multiple programming languages
like Python or Java. If you have different VS Code setups based on
workflow like Work or Demo, you could also save those as different
profiles. You can open multiple workspaces (folders) with different
profiles applied simultaneously.
{image omitted]
You can also export and import profiles to share them with your
colleagues, friends or students to help them get started with VS Code.
The following video demonstrates how to export a profile using a
GitHub gist in order to share it with someone. Users that receive the
profile link can preview the shared profile in VS Code for the Web and
import it to their local VS Code instance.
There is a nice mp4 demonstration in the link, but it appears SO would take that format.
You can export a Profile to a Github Gist so that it can be imported by someone else or to a local file you can share (or yourself to a new maching, etc.) - my demo shows all the settings, UI State and extensions it can include.
More info on Profiles at v1.69 Release Notes: Settings Profiles

How can you sync/share files from one computer to another in VS Code?

I am using 2 computers to code in VS Code, but I want to sync a specific file when I edit it in both computers. Do you have any extensions, or servers that allows it to sync?
I tried looking in Google, some said try FTP, and some said use "Settings Sync". (I installed Settings Sync, but I don't really know if it can sync my files.)
Option 1
Use vscode remote development.
Select main machine which would host all the files and use SSH to access the files from the other machine.
Option 2
Rsync is a standard linux tool which can be used.
Use can use vscode rsync extension for syncing the files from one machine into the other.
I think that the closest experience to what you have in mind that you can get currently on VSCode is Visual Studio Live Share. This is an official extensions suite that lets you share your screen with multiple hosts, it also shares most of your current VSCode editor features (like intellisense) and can be enabled with voice and text chats. I would also suggest to set up a git repository for the files you are going to work with, so that hard copies of all your files will be avaialble to all your users.

Netbeans FTP Auto download latest file from remote

I am using Netbeans remote ftp for a while now. I have my projects all configured correctly. Usually when i work on something i right click the file download it manually and then edit and save (save auto upload set on config)
This is quite some manual work and I often forget to download latest before editing which results in loss of work.
Is there any option to set netbeans to auto download the file (when i open it to edit)?
It figures to be very dangerous to auto download the latest files without any personal monitoring.
I am now using version control system git with bitbucket. Its pretty easy to use and has private repositories in the cloud.
I am using a desktop app called sourceTree that is recommended with bitbucket but it appears netbeans has a basic features for git built in. I find it much more userfriendly to use sourceTree though.

how to use eclipse workspace on different computers

I have 3 developer machines (office desk, office laptop and home laptop) and I would like to keep my eclipse workspace and projects on usb drive and use it on all 3 computers... is this possible and how?
Though it is possible by indicating the folder on your usb to be your workspace, I'd recommend using version control if you have access to some server. This way you can work on your projects anywhere, have constant backup, and keep track of the changes.
Try using dropbox folders for your workspace (with their packrat feature its even better). That will keep all your files up to date :D.
Yes it is. Copy the workspace folder to your usb drive and open the workspace from any Eclipse installation you want to.
By the way, it may be a better idea to use a version control system. Sure, you'd have to synchronize your workspace every time you make a change in the code and commit it, but usb drives can get lost, or stolen, and I'm sure you wouldn't want to lose all of your projects if you lost your usb drive.
It's possible. Change your workspace to point to your shared drive. This is easier on OS's like linux as you can mount the USB drive to a specific directory.
Or, do what I do and copy the workspace directory for specific projects from one machine to another. This was covered here :
How to share eclipse configuration over different workspaces

Deleting files on remote server

I have a PHP project in NetBeans with remote files (over sftp). When I create, modify anything these changes happening both locally and on my web server. However when I'm trying to delete a file or a folder it gets erased only locally. What could be the problem?
Permissions seems to be ok, all files belong to the user I'm using to access the server.
I'm using Netbeans 6.9.1, default configuration, all updates installed.
Netbeans does not have a synchronization function. It is limited to downloading and uploading files. What you can do is to use some external tool, for example WinSCP is capable of synchronizing local and remote directories.
I read what you wrote... but I think it could be a permissions problem.
I also use NetBeans and when I delete a file from the project window it first erase it locally and then syncs with my server.
I login through sftp (using vsftp) as root, which is a bad thing, but you could try this too to be sure if it's a permission issue.
You mistakenly turned off the settings. Please follow these steps:
Right click on the project name
Select properties
From the list of the left select 'Run configuration'
On the left almost down, look for the setting 'Upload files:'
Make sure you set that to 'On Save'
All the best man