Nifty Slurm
Slurm for HPC clusters: see your jobs, cancel, hold or open their output, submit batch scripts, and get completion, docs and checks for #SBATCH directives. Works over Remote SSH.
Maintained. No sign-in. No telemetry. Works in VS Code, Cursor, Windsurf, VSCodium and other editors that use Open VSX.
Features


- Your jobs at a glance. The Slurm view lists your jobs from
squeue: state, elapsed time and limit, partition, and why pending jobs are waiting. It refreshes every 30 seconds while it's visible, and the status bar counts running and pending jobs.
- Act on jobs. Open a job's output file (the
%j/%x/%A_%a pattern is worked out for you, and the file updates as the job writes), hold a pending job or release a held one, or cancel it, all from the list.
- Submit from the editor. The rocket button on a batch script (
.sh, .slurm, .sbatch), or Submit Batch Script in the Explorer, runs sbatch in the script's folder and shows the new job.
- #SBATCH directives, understood. Type
#SBATCH to get every sbatch option with its argument and a description. After --partition= you get your cluster's partitions (from sinfo). Hover an option for its docs.
- Mistakes caught before you submit. Unknown options, missing values, time limits Slurm won't accept (
--time=forever) and bad memory sizes are marked in the script.
- Made for Remote SSH. Install it on the cluster side of a Remote SSH connection to the login node, and it runs the Slurm commands there.
Commands
| Command |
What it does |
Nifty Slurm: Submit Batch Script |
Submit the current script with sbatch |
Nifty Slurm: Refresh |
Update the job list |
Open Output, Hold Job, Release Job and Cancel Job are on each job in the list.
Settings
| Setting |
Default |
What it does |
nifty.slurm.refreshSeconds |
30 |
How often to refresh while the list is visible (0 = only by hand) |
nifty.slurm.allUsers |
false |
Show everyone's jobs |
nifty.slurm.statusBar |
true |
Show job counts in the status bar |
nifty.slurm.sbatchArguments |
[] |
Extra arguments for sbatch, e.g. ["--account=myproj"] |
nifty.slurm.binDirectory |
|
Folder with the Slurm commands, if they aren't on the PATH |
Install
- VS Code: search for "Nifty Slurm" in the Extensions view, or install from the Visual Studio Marketplace.
- Cursor, Windsurf, VSCodium, Kiro, Antigravity: install from Open VSX.
Privacy
This extension collects no telemetry and needs no account.
- Nifty Monitor: CPU & Memory in the Status Bar: CPU, memory and disk usage in the status bar, including on remote SSH machines and dev containers. (Open VSX)
- Nifty Persistent Terminals: tmux & screen Sessions: Terminals that survive disconnects and reloads: a tmux or screen session per workspace folder, restored after a reload, and a Sessions view to attach, rename or kill. Works over Remote SSH and WSL. (Open VSX)
- Nifty Save as Root: Edit Protected Files with sudo: Save files you don't have permission to write: Retry as Root when a save fails, or Save as Root with sudo, keeping owner, group and mode. Open unreadable files as root too. Linux, macOS, SSH, WSL. (Open VSX)
- Nifty .NET Explorer: Solution & Test Explorer: A solution explorer and test explorer for .NET in VS Code, Cursor, Windsurf and VSCodium: projects, references and files from .sln/.slnx, and xUnit, NUnit and MSTest tests in the Testing view. (Open VSX)
- Nifty .NET Pack: 5 Nifty extensions for C# and .NET development: .NET Explorer, NuGet, C# Templates, XAML, C# Scratchpad. (Open VSX)
- Nifty Actions: Workflow Checks, SHA Pinning & act: GitHub Actions workflows without sign-in: completion and go to definition for local and reusable actions, actionlint checks, pin actions to commit SHAs, and run jobs locally with act. (Open VSX)
See all 100+ Nifty extensions and web tools at https://getnifty.dev
| |