Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit code before running #537

Closed
JustMrMendez opened this issue Sep 27, 2023 · 3 comments · May be fixed by #612
Closed

Edit code before running #537

JustMrMendez opened this issue Sep 27, 2023 · 3 comments · May be fixed by #612
Labels
Enhancement New feature or request

Comments

@JustMrMendez
Copy link

Is your feature request related to a problem? Please describe.

sometimes the code that is going to run is incorrect, rather than wasting more tokens, I am wasting a lot of tokens for a misplaced brackets.

this issue keeps happening:

f.write('Bootstrap also has advanced ...\n\n')}

Describe the solution you'd like

Any code that is going to run should be saved in a cache file, and the options should be y/n/e
when you type edit, it should open the file on any default editor and watch for changes, then ask again.

Describe alternatives you've considered

No response

Additional context

No response

@JustMrMendez JustMrMendez added the Enhancement New feature or request label Sep 27, 2023
@KillianLucas
Copy link
Collaborator

KillianLucas commented Sep 29, 2023

This is an amazing idea @JustMrMendez. I really wish we could edit it right in the terminal like vim or something... let's think about this. I think it's important.

@JustMrMendez
Copy link
Author

JustMrMendez commented Sep 29, 2023

If my hands weren't tied by work, I would try to implement it myself. I wasted $3+ in tokens because of a }, when I caught the error (a single }), it was an instant facepalm 🤦

@MikeBirdTech
Copy link
Collaborator

Closing this stale issue. Please create a new issue if the problem is not resolved or explained in the documentation. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants