Gretl for VS Code
See and control your local dev ports without leaving the editor.
Features
- Port tree in the sidebar — all services monitored by Gretl, grouped and colour-coded by status
- Start / stop / open — inline action buttons on every port row
- Status bar widget — running port count always visible at the bottom of the window
- Quick pick —
Gretl: Show Ports command palette picker for keyboard-driven workflows
- Auto-refresh — polls the local Gretl daemon every 5 s (configurable)
Requirements
The Gretl desktop app or CLI must be running locally. The extension talks to the Gretl daemon at http://127.0.0.1:27892.
Install the CLI:
npm install -g @gretl/cli
Then start the daemon:
gr daemon start
Install this extension
code --install-extension Gretl.gretl
Or search Gretl in the VS Code Extensions panel.
Settings
| Setting |
Default |
Description |
gretl.host |
http://127.0.0.1:27892 |
Gretl daemon URL |
gretl.refreshIntervalMs |
5000 |
Poll interval in ms |
gretl.statusBar |
true |
Show status bar widget |
Links
| |