Needs updating to work with Sonic-PI 4.x
Sonic-PI 4.x has significant changes which result in the incompatibility with the current version of this extension. Note sure that the API has change much not looked at the actual code yet but the scripts available which this extension relies upon have.
example
port-discovery.rbis no longer availablesonic-pi-server.rbseems to be nowspider-server.rb......
@andrewcrook this plugin worked for me s00500/vscode-sonic-pi.
@andrewcrook this plugin worked for me s00500/vscode-sonic-pi.
I can vouch for this plugin. Worked a treat! Thanks @elileinkram
Thanks hopefully it will be pulled back into the original
Is this a vscode extension that will work with sonic-pi 4? Guessing no , from this open issue...
It's listed as a 'contribution' on Jackson's extension, which is available via vscode extensions-search... Or do all these 'cli' plugins need plugins?!
Am wondering if any of these is all that's needed...
...or if possible to just use sonic-pi-vscode-editor, and how to install ...
Am guessing most clis are not sp4 ready (robin made one, maybe it runs on ruby), some may be fixable
Is everyone (on windows / sp4+) using s00500/vscode-sonic-pi ?
Test-time! Thanks!
To be honest I haven't tried it since. I have moved from vscode to neovim since anyway. if it is working let me know I might port it to neovim
The plugin works on it's own with vscode marvellously 👍 The only (vscode usage) issue I found was the confusing overloading of shortcuts to actions, and a lack of info on identifying focus to understand the active where clauses (see vscode keyboard shortcuts)
In a .pi file I can run with alt+r and stop with alt+s From a pibook I could start a cell with ctrl+alt+enter, but had to stop using alt+s. Most other shortcuts don't seem to work, or seem incorrectly configured as, for example, alt+t always calls the terminal menu (instead of running selected text in pibook cell, as expected)
I tried using the keyboard troubleshooting, and the developer tools to identify the focussed element(s) , still some work to do to understand the configurations listed (notebook!= Sonic pi)
I think I'll keep at it cause i think code will give me everything I've always wanted (and more!) Once I've traversed it's learning curve.
One thing I'd tried previously in sonic pi was to run code from clipboard, using a clipboard ruby module (encountered memory write error). Wondering if this could be achieved via cli, even if using a 'backing' file to quick dump clipboard to filesystem before running code... Anyone tried anything like this?