This is a very simple extension that allows you to interact with Norns in a VSCode terminal, much like you would from the Maiden web interface.
The extension connects to Matron on Norns using a websocket. Lua code entered in the terminal is sent to Matron when you press return, and the results are printed in the terminal. There is basic support for command history using the up/down arrows.
Please file any bugs you find as a GitHub Issue!
Commands
nornsREPL.matron.connect
- Connect to the Matron REPL at the configured Norns host and port
- Command Palette: “Norns REPL: Connect to Matron…”
nornsREPL.crone.connect
- Connect to the Crone REPL at the configured Norns host and port
- Command Palette: “Norns REPL: Connect to Crone…”
Configuration
nornsREPL.host
- Norns hostname to connect to
- Default:
norns.local
nornsREPL.matron.port
- Matron websocket port to connect to
- Default:
5555
nornsREPL.crone.port
- Crone websocket port to connect to
- Default:
5556
nornsREPL.maxHistory
- Maximum number of previous commands to store in history
- Default: 100
Changelog
[1.2.0] - 2021-02-14
[1.1.0] - 2021-02-13
- Cursor improvements. The prompt now supports navigating with the arrow keys and insert/delete at the cursor.
- Minor history improvements.
[1.0.0] - 2020-02-06