IDE
Move code in and out
Your projects live in your JDoodle account, but code often starts or ends somewhere else. There are three ways to move it.
Open a file from your computer
You can open a file from your own machine and work on it in the editor. The contents are loaded into the project you have open.
This is the quickest way to run something a colleague sent you, or to pick up work you started in another editor. The file on your computer is not linked to the project. Later changes in JDoodle do not change your local file.
Download your project
You can download what you are working on to your computer.
Use this when you want a copy outside JDoodle: to commit it to your own repository, to attach it to something, or to keep it after you finish a course.
Downloading does not remove the project from your account. You keep both.
Copy to clipboard
Copy the code in the editor straight to your clipboard, ready to paste into a message, a document, or another editor.
You need a file open for this. If nothing is open there is no code to copy.
Which to use
- Open a file. Brings work in from your computer.
- Download. Takes work out, and your project stays where it is.
- Copy to clipboard. For a snippet you want to paste somewhere right now.
To show your code to someone without sending a file, a snapshot link is usually easier than any of these.
What next
Every run you make is kept in your execution history, so you can go back to code you ran earlier.