Skip to content

About

Nexion Plugin: run-file

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Run File

Plugin for Nexion that adds context menu options to run script files in the terminal with the correct interpreter.

Features

  • Run script — right-click any file to execute it with the appropriate interpreter
  • Make executable — set executable permission with chmod +x
  • List scripts — recursive scan of a folder (3 levels deep) to find executable scripts
  • Shebang detection — falls back to direct execution if a shebang line is present
  • Floating window — execution in an isolated terminal window

Supported Languages

Extension Interpreter
.sh, .bash bash
.zsh zsh
.py python3
.js, .mjs node
.ts npx tsx
.rb ruby
.swift swift
.go go run
.pl perl
.php php
.lua lua
.r, .R Rscript

Commands

Command Context Description
runfile.run File Run the file with the correct interpreter
runfile.chmod File Make the file executable
runfile.listScripts Folder List all scripts in the folder

Requirements

  • Interpreters for supported languages must be in PATH

Permissions

  • terminal.send — to send commands to the terminal
  • process.spawn — to run system commands
  • filesystem.read — to read files

About

Nexion Plugin: run-file

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages