Ask coding questions

← Back to all posts
SHould I be able to copy code out of a Repl?
thedanwhaley (1)

I'm here because a code test that I'm completing has chosen your platform.

I can't copy code out of a repl, I get some of the comments and then some elipses. Is this normal or broken?

vedprad1 (915)

By copying, do you mean copying the code? If so, you can just do Ctrl + c or Ctrl + a. Then you can go to the other place and do Ctrl + v.

You can also export the entire repl as a zip file, and move it somewhere else.

If this answers your question, please check the checkmark on the left side of this message. Thanks and Good Luck!

thedanwhaley (1)

@vedprad1 I was using CTRL+A to select all, CTRL+C to copy, and then CTRL+V to paste into Notepad or Notepad++. Same results with either.

I also tried right clicking, and selecting copy, and when I pasted, I got the same thing.

Example repl:

Example paste:

// FYI this and all the other IDE-less IDEs I've dealth with are terrible for a variety of reasons.

// Question 1
// This is in Java
…class Main {
public static void main(String[] args) {
System.out.println("Hello world!");