CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Edit individual files on remote hosts

Last modified: 06 September 2023

Once you have set up synchronization with a remote host, you can open individual files directly from the remote host and edit them in CLion, without adding/downloading them to a local project.

Debugging, refactorings, and some other CLion features are not supported for such files. To take advantage of advanced CLion functionality, consider including the files in a project. For more information, refer to Access files on servers.

Note that any changes to an individual file are discarded as soon as you close the file or the currently opened project unless these changes have been uploaded. To prevent losing your data, CLion displays the following dialog when you attempt to close the edited file or the entire project.

Confirm uploading message