Giter Site home page Giter Site logo

vscode-sonic-pi's Introduction

Hi there ๐Ÿ‘‹

I am Lukas, and I am a software developer based in Vienna, Austria ๐Ÿ‡ฆ๐Ÿ‡น

My main focus are Cameras ๐ŸŽฅ,

but I also do some electronics ๐Ÿ”ง

and home automation ๐Ÿ  projects from time to time.

๐Ÿ”ญ Iโ€™m currently working on lots of go code, embedded linux, funkey protocols and much more

๐ŸŒ Check my Website: https://lbsfilm.at

vscode-sonic-pi's People

Contributors

s00500 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

vscode-sonic-pi's Issues

Snippet Support

In sp you can create and use snippets live ll [Tab] to create the boilerplate, may be limited to positioning only one variable, eg loop name (cursor after : to make loopname symbol)

live_loop : do
  
end

Is this supported, or are there ways to achieve using something like vscode snippets?
Thanks!

Update running loop (from .pibook or .pi or .rb)

In sonic pi liveloops can be updated and then the output updates when the code is ran (alt+r on windows)

I was about to ask Is this behaviour possible from vscode-sp, when I found the answer is yes

  • I've opened on of my .rb files and selected text and ran, and nothing happened
  • Then I opened the tutorial and hit the run icon next to the first :flibble cell - output showed the server loaded, but no output
  • I stopped and restarted and sound finally came out (the boottime on this machine is something I'd love to improve from current ~2mins)
  • I then went back to the .rb file and reran run selected text from command palette, this time error thrown about "no selected text", perhaps the .rb file extension isn't supported out of the box?

Currently I have to select text then select the recent run selected via the command palette
Is it possible to add run selected to the context menu?

image

Support for 4.3.0 on Windows?

Is this working for 4.3.0 on windows? Getting this log that says "Will start server", but nothing happens and Alt+R doesnt seem to do anything. Also complains about the path, but changing it to "C:\Program Files\Sonic Pi" doesnt help either.

image

Keyboard Shortcuts not working (VSCode usage issues)

Hi, this is a vscode noob question on windows keyboard shortcuts, and using the sonicpi extension shortcuts (currently any keypress is sent to menu bar)

I see the Keyboard Shortcuts like Alt+R to run either SonicPi or the focussed cell (in edit more or select mode, in .pibook)

I've just tried setting menu to hidden (vscode settings) as recommended here but still unable to use commands. Should I adjust the mnemonic setting also?

Even when I do this, the menu no longer appears, but also no sound made (selected cell in welcome.pibook and tried to run with alt+t and alt+r , only works with either (notebook default?) ctrl+alt+enter (and alt+s to stop thankfully works!) or via the command palette...

Am assuming there's a few parts to this - understanding the various where clauses (and best practices to make hotkeys call commands
Alternatively I could avoid clashing configs (not preferred), or maybe "rename" the items on menu bar ..

Any tips welcome!

How to make vscode-sonic-pi.runCell work?

On windows 10, trying to run a focussed cell in a .pibook

Appears the run cell command isn't working, even when launched from command palette.

I thought it might need something like Jupyter Notebook extension (from microsoft) but still this command won't play the cell in the tutorial.pibook, or other .pibooks

Not sure if I'm misunderstanding what's meant to happen.

The System Notebook: Execute Cell command work, in case that helps troubleshoot.

THANKS!

Command info and intellisense

In SonicPi the reference and intellisense help identify available parameters and arguments.

Is there any way to access the lang or help from within vscode?

Also in SP the intellisense lets you get the available params, like formant_ratio: on :autotuner - can this be retrieved via vscode-sp?

Finally how does the intellisense work? There's a few that appear absent, like the use_ methods and loop and in_thread

Thanks!

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.