An executable code snippet allows the user to edit and execute some code.
An executable code example
General Settings
File Path
The absolute path of the file you'd like to edit.
Terminal Settings
Auto Clear
If enabled, the terminal will be cleared before the command is run or the file contents are piped in. Defaults to enabled.
Starting Command
The command to start the snippet terminal with (e.g.python3). If provided, the snippet's file contents will be piped to the terminal. If left blank, the Run Command will be used. Defaults to blank.
Code Pattern
If the code snippet's height is not big enough to show all of the code at once, the code editor will be scrolled to the line first matching this pattern.
Line Number
If the code snippet's height is not big enough to show all of the code at once, the code editor will be scrolled to this line.
Code will start at the code pattern OR the line number OR the first line of code.