Comments (5)
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.
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.
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.
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.
Any news on this? It is now September 5th 2023...
from sonic-pi-vscode-editor.
Related Issues (9)
- cmd+s shortcut overrides save on mac
- Integration advice HOT 3
- How to get this extension working on .rb files ?
- Fails to run code initially at startup HOT 3
- Needs updating to work with Sonic-PI 4.x HOT 6
- Failure to get running in Windows HOT 8
- Some notes for Linux/Ubuntu folks on setup HOT 1
- update README.md. Sonic Pi must be open when running the code from VS Code using the extension HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonic-pi-vscode-editor.