Run the currently open file

I tried using Replit for a few days now. I’m really stuck at running my currently open file. Neither Ghostwriter or I can figure out how to do it.

I use it mostly for coding in Windows and watching workshops. Currently I watch a workshop about Concurrency in Go. To try a lot of different things and have some sort of documentation I create a single folder for every task.

From VS Code I was used to have a run button where I could run the current file, just for a quick test to see the output. So I was wondering if something like this is possible with Replit? And if so… HOW?

Welcome to the community! Replit does not currently have a feature to do this. You can manually edit a specific Repl’s config files or (in some languages) link the files together in certain ways but there is no way to run the current file in Replit. Sorry to disappoint.

2 Likes

Easy way to do it is via the shell, type the command once and then use the up arrow to recalls it

1 Like

Recall*

@QwertyQwerty88 I’m first (=

you don’t get the point, with VS Code you can use a keyboard shortcut to quickly run the code.

1 Like

And as we all are telling you, this is not possible. You have two alternatives so use one of those or ask for a new feature.

2 Likes

No no, I saw it last night but didn’t bother correcting it. :laughing:

1 Like