Page 1 of 1

Editor enhancements

PostPosted: Thu Mar 21, 2024 9:20 am
by turtle
I just read and posted to the 2016 thread about the escape key in the editor and how it exits the editor WITHOUT confirming the loss of unsaved changes.

My list of requests for that editor:
  • Confirm exit without saving
  • Button to "Save and Run"
  • Option to always save before exiting
  • Line numbers, especially since error messages reference them
  • Search for all scripts or search from the command line
  • It would be handy to have version control, too, such as git or hg.

A lot of those could be eliminated if we could edit those scripts from the command line, using a simple program similar to vipw(1).

Re: Editor enhancements

PostPosted: Fri Mar 22, 2024 9:08 am
by jay (support)
turtle wrote:
A lot of those could be eliminated if we could edit those scripts from the command line, using a simple program similar to vipw(1).


If you run your scripts as external scripts, you can do this exactly. Indigo isn't a full-fledged code editor, and it never will be. The script edit dialog is really only meant for short/simple scripts. As you've seen, using it for large/complex scripts definitely has its drawbacks.

That said, we will look into disabling the escape key from canceling the dialog.