PSEdit
PSEdit is a terminal-based editor for PowerShell and common text-based configuration files. It runs from PowerShell and provides a focused editing experience without leaving the terminal.
Use PSEdit when you need a lightweight editor for scripts, JSON, YAML, XML, Markdown, or plain text files in a shell-first workflow.
Features
PowerShell IntelliSense.
Syntax highlighting for PowerShell, JSON, YAML, XML, Markdown, and plain text.
PowerShell script execution.
Error and syntax error views.
Format on save for supported file types.
Custom themes through
psedit.json.
Quick Examples
Start the editor.
Show-PSEditorOpen a file.
Show-PSEditor -Path .\build.ps1Use the alias.
psedit .\settings.jsonRun the current PowerShell script with F5, run a selection with F8, or run and exit with Ctrl+Shift+F5.
Formatting PowerShell
PowerShell formatting requires PSScriptAnalyzer.
More Information
Last updated