Script Runner
You can use the Script Runner to auto-detect and run scripts, and to build targets and executable programs in your project. Use the Script Runner to run your favorite scripts instead of repeatedly typing the same commands.
Navigate the Script Runner
To open the Script Runner, click Tools > Script Runner.
The Script Runner is separated into the Scripts view and the History view.
Scripts
Click Scripts to view all scripts available in a project. The Scripts view is split into a Favorites section and a Scripts and Programs section.
Favorites
In the Favorites section, you can favorite scripts to pin them at the beginning of the Scripts view. To favorite a script, click the Add to favorites icon in the Scripts and Programs section.
Scripts in the Favorites section are displayed in separate tiles that list the script name and the source file the script is in.
To remove a script from the Favorites section, click the Remove from favorites icon.
Scripts and Programs
In the Scripts and Programs section, you can view all scripts and programs available in a repository.
Scripts and programs are listed alphabetically and are sorted by the source file containing the script or program. Click the Shell for script runs icon to change the default shell used when you run a script.
Click the Rescan for scripts icon to refresh the list of scripts. The rescan always skips dependency and build-output directories (node_modules, packages, vendor, __pycache__, build, out, dist, target, CMakeFiles) and hidden folders to keep scans fast.
Click the Tree view or the List view to switch the layout of the Script view.
The Tree view layout displays the project directory and each folder that contains a source file. Each script and program is listed underneath the collapsed source file folder.
The List view layout displays each script and program available in the project.
Filter scripts and programs
In Scripts and Programs, type in Filter by name to filter the list. Favorite scripts and programs stay visible. Press Ctrl+F (Cmd+F on macOS) to focus the field. If History is open, Zide switches to Scripts first.
You can sort the Script and Program section to view scripts, programs, or all scripts and programs in a project. In the List view, you can also sort scripts and programs by Path, Name, Type, and Recent.
History
Click History to view past runs in a project. Runs are listed chronologically by newest first.
Each run entry shows the status of the run, the script or program name, the source file, the duration of the script, and how long ago the script or program ran.
Run scripts
To run a script or program in Zide, click the Run icon next to the script or program.
Each script or program runs in its own terminal tab. Right-click a script or program and click Run in Background to run the script or program without switching to the terminal tab.
A Script Runner terminal tab displays a badge with the name of the script or program and the source file in the header. Click the badge to open the script or program in the Script Runner. Click the Disconnect icon to remove the script or program from the terminal. The Script Runner no longer tracks the terminal.
Terminals stay open after a run finishes while you are reviewing the run output. By default, an inactive terminal tab of a successful run closes after 30 seconds. You can also set the limit of idle Script Runner terminals in Settings.