Skip to content

Default Command Templates ​

Below are the default commands templates.
These are used as fallbacks when no user or project configuration is found for a given file's extension.

NOTE

  • @ext1 means the commands from the ext1 extension are inherited for that extension.
  • -> means the command's binary is tried to find if installed in that order.

Interpreted ​

Interpreted languages are run directly using the interpreter.

ExtensionCommand
.bashbash {file_path}
.c++@cpp
.cjs@js
.cxx@cpp
.dartdart run {file_path}
.fishfish {file_path}
.javajava {file_path}
.jljulia {file_path}
.jsbun run {file_path} → node {file_path}
.lualua {file_path}
.mjs@js
.phpphp {file_path}
.plperl {file_path}
.pypython3 {file_path}
.rRscript {file_path}
.rbruby {file_path}
.shbash {file_path}
.swiftswift {file_path}
.ts@js → ts-node {file_path}

Compiled ​

Compiled languages are built first, then the resulting binary is executed. The binary is written to a temporary path.

ExtensionCompile CommandRun Command
.cgcc -Wall -Wextra {file_path} -o {out_file}{out_file}
.cppg++ -std=c++23 -Wall -Wextra -Wshadow {file_path} -o {out_file}{out_file}
.gogo build -o {out_file} {file_path}{out_file}
.hsghc -o {out_file} {file_path}{out_file}
.ktkotlinc {file_path} -include-runtime -d {out_stem}.jarjava -jar {out_stem}.jar
.nimnim c --out:{out_file} {file_path}{out_file}
.rsrustc {file_path} -o {out_file}{out_file}
.vv -o {out_file} {file_path}{out_file}
.zigzig build-exe {file_path} -femit-bin={out_file}{out_file}