Skip to content

Needs updating to work with Sonic-PI 4.x #24

Description

@andrewcrook

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.rb is no longer available
  • sonic-pi-server.rb seems to be now spider-server.rb
    ......

Activity

  1. elileinkram commented on Feb 7, 2023

    @elileinkram

    @andrewcrook this plugin worked for me s00500/vscode-sonic-pi.

  2. fredlemieux commented on Mar 21, 2023

    @fredlemieux

    @andrewcrook this plugin worked for me s00500/vscode-sonic-pi.

    I can vouch for this plugin. Worked a treat! Thanks @elileinkram

  3. andrewcrook commented on Mar 21, 2023

    @andrewcrook
    Author

    Thanks hopefully it will be pulled back into the original

  4. jonnyhotchkiss commented on Nov 29, 2023

    @jonnyhotchkiss

    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...
    image

    ...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!

  5. andrewcrook commented on Nov 29, 2023

    @andrewcrook
    Author

    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

  6. jonnyhotchkiss commented on Nov 30, 2023

    @jonnyhotchkiss

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions