EDIT

Core command ED

Opens the BroadSQL Editor, the native workspace for browsing, editing, formatting, validating, running and versioning the Scripts Library; with a name, opens/focuses that Script

Arguments

script (optional) a path relative to the Scripts Library; with no name, opens the Editor

Examples

EDIT;
EDIT CUSTOMER.SQL;
EDIT LIB:CUSTOMER.SQL;

Notes

Opens the BroadSQL Editor: EDIT (or ED).

The BroadSQL Editor shows the Scripts Library as a folder tree and edits any text Script in it. EDIT with no name opens it with nothing selected. EDIT <script> takes a path relative to the Scripts Library, exactly as LIB RUN does (no alias, file-name search or extension guessing):

  • if that Script exists, it opens, on its existing tab if it is already open;
  • if it does not, the editor offers to create it (a name without an extension gets .bsql).

Opening the Editor needs no database connection; only running a Script from inside it does.

Last modified in release 5.2.10.