You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we are unlikely to implement this for a number of reasons, but it would be possible with a few scripting languages to pass the script contents via stdin. Which language(s) were you looking for?
We wouldn't be able to trigger individual functions but we could run the entire script. Also some ambiguity of which directory it should be run from (home dir? project root? src dir? etc.).
You could probably do this today with custom task and the ZED_SELECTED_TEXT variable. Just have a task like echo ${ZED_SELECTED_TEXT} | python3 -. Then select all (cmd-a) and run.
python. if i just want to test a small bit of code, a few lines, i dont want to waste time by saving and then deleting the file. just press f5 and run the code currently visible sort of thing like in other IDEs
you could probably just create a .temp file and delete it upon closing zed
Check for existing issues
Describe the feature
i want to run code without saving it
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: