Is it possible to run a highlighted section of code rather than the whole file? Ghostwriter tells me it should work but it doesn’t work for me.
Ghostwriter says:
Yes, you can execute only the selected code in the Replit IDE.
To run only a selected portion of the code, you can highlight the code you want to run and press
CTRL + Enter
(Windows, Linux) orCommand + Enter
(Mac). This will run the selected code and display the output in the console.Alternatively, you can also right-click on the selected code and choose “Run selection” from the context menu.