GithubHelp home page GithubHelp logo

Comments (5)

drewgbarnes avatar drewgbarnes commented on August 21, 2024

Thanks for the help, I would love to be able to edit sonic pi code and run it easily from VSCode, the editor inside the Sonic Pi app is rough!

from sonic-pi-vscode-editor.

drewgbarnes avatar drewgbarnes commented on August 21, 2024

Turns out I needed to double escape the space in it. So setting it like this worked:

"/Applications/Sonic\\ Pi.app/Contents/Resources"

However, the startup is hanging in initAndCheckPorts here

I am not sure I want to dig into that right now

from sonic-pi-vscode-editor.

andrewcrook avatar andrewcrook commented on August 21, 2024

Hi @drewgbarnes

I just tried this plugin today and found it not to work. It doesn’t work with sonic pi v4.3 and looks like it isn't compatible with 4.x in general.

This is because

/Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/bin/sonic-pi-server.rb

doesn’t exist, I mean the file sonic-pi-server.rb doesn’t exist.
There seems to be a new file called spider-server.rb a new server maybe?

I tried to create a symbolic link so sonic-pi-server.rb points to spider-server.rb
This got me further but crashed out with errors I would guess spider-server.rb’s API is just too different?

Generally, with software lifecycles, a major version update (e.g 3->4) you can expect major API changes.

So it looks like this plugin needs to be updated for sonic pi v4.x ?

or in the meantime you could try rolling back to sonic pi 3.x ?

I have raised a ticket #24

from sonic-pi-vscode-editor.

andrewcrook avatar andrewcrook commented on August 21, 2024

scripts like

port-discovery.rb which the extension calls are no longer available in v4.x so it can not find the port to connect.
Looks like it needs to work with a completely different setup.

from sonic-pi-vscode-editor.

carlca avatar carlca commented on August 21, 2024

Any news on this? It is now September 5th 2023...

from sonic-pi-vscode-editor.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.