IntelliJ IDEA 2024.3 Help

Access files on servers

Once you have set up synchronization between your local application sources and the application sources on a server, you can upload and download files as well as compare files and folders on the server with their local versions, edit local versions and even edit individual non-project files on the server.

You can also create, move, rename, and delete files and folders on the server.

Enable the FTP/SFTP/WebDAV Connectivity plugin

This functionality relies on the FTP/SFTP/WebDAV Connectivity plugin, which is bundled and enabled in IntelliJ IDEA by default. If the relevant features are not available, make sure that you did not disable the plugin.

  1. Press Ctrl+Alt+S to open settings and then select Plugins.

  2. Open the Installed tab, find the FTP/SFTP/WebDAV Connectivity plugin, and select the checkbox next to the plugin name.

Access a remote server

  1. Open the Remote Host tool window by choosing Tools | Deployment | Browse Remote Host or View | Tool Windows | Remote Host from the main menu.

  2. Select the required deployment server from the list. The tool window shows a tree view of files and folders under the server root. If no relevant server is available in the list, click the Browse button, and in the Deployment dialog that opens configure access to the required server.

Create, move, rename, edit, and delete files and folders on the server

Create, move, rename, edit, and delete files

  • To create a file or a folder, in the Remote Host tool window, right-click the parent folder for it and select New | File or New | Directory.

  • To move, rename, or delete a file or a folder, right-click the file or folder and select the required action from its context menu.

Edit the local version of a file

  • In the Remote Host tool window, right-click the file whose local copy you want to edit and select Edit Local File. The Local copy of the selected file opens in the editor.

  • To compare the remote and local copies, select Compare with Local Version.

Last modified: 11 October 2024