IntelliJ IDEA 13.1.0 Web Help

Once you have set up synchronization between your local application sources and the application sources on a server, you can create new folders, move, rename, and delete existing files and folders. You can also compare files and folders on the server with their local versions.

Please note, that for the sake of simplicity any file or folder under the project root is referred to as local and any file or folder on the server is referred to as remote, even if the server is installed on your machine. For details, see Working with Web Servers: Copying Files.

IntelliJ IDEA does not support direct editing of files on servers. To keep your local and remote sources synchronized, configure automatic upload using the >Upload changed files automatically to the default server drop-down list in the Options dialog box.

Note

Access to servers is controlled through server configurations of the type FTP, FTPS, SFTP, or Local or Mounted Folder.

On this page:

Accessing a server
  1. Open the Remote Host tool window. On the main menu, choose one of the following:
    • View | Tool Windows | Remote Host
    • Tools | Deployment | Browse Remote Host
  2. Select the required server configuration from the drop-down list. The tool window shows a tree view of files and folders under the server configuration root. If no relevant server configuration is available in the drop-down list, click the Browse button browseButton.png and configure access to the server in the Deployment dialog box that opens.

    For details, see Configuring Synchronization with a Web Server.

Creating a folder on a server
  • Select the parent directory and choose Create Folder on the context menu.
Removing a file or folder on a server
  • Select the required file or folder and choose Delete on the context menu.
Renaming a file or folder on a server
  • Select the required file or folder in the tree view, choose Rename on the context menu, and specify the new name in the Rename dialog box that opens.
Moving a file or folder
  1. Select the file or folder and choose Cut on the context menu.
  2. Select the folder to move the file or folder to and choose Paste on the context menu. Then confirm the changes in the Move remote Items dialog box that opens.
    Alternatively, select the required file or folder and drag it to the new location. Then confirm the changes in the Move remote Items dialog box that opens.

See Also

Procedures:

Reference:

Web Resources: