{"id":23749770,"url":"https://github.com/llloret/sonic-pi-vscode-editor","last_synced_at":"2025-09-04T23:32:04.379Z","repository":{"id":42824885,"uuid":"266851086","full_name":"llloret/sonic-pi-vscode-editor","owner":"llloret","description":"Use Sonic Pi from VS Code","archived":false,"fork":false,"pushed_at":"2023-03-04T20:20:16.000Z","size":2167,"stargazers_count":68,"open_issues_count":11,"forks_count":15,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-06T19:13:48.438Z","etag":null,"topics":["editor","live-coding","sonic-pi","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/llloret.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-25T18:22:32.000Z","updated_at":"2024-10-20T22:13:46.000Z","dependencies_parsed_at":"2023-01-31T15:50:17.373Z","dependency_job_id":null,"html_url":"https://github.com/llloret/sonic-pi-vscode-editor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llloret%2Fsonic-pi-vscode-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llloret%2Fsonic-pi-vscode-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llloret%2Fsonic-pi-vscode-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llloret%2Fsonic-pi-vscode-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/llloret","download_url":"https://codeload.github.com/llloret/sonic-pi-vscode-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232005259,"owners_count":18459033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["editor","live-coding","sonic-pi","vscode","vscode-extension"],"created_at":"2024-12-31T15:54:52.574Z","updated_at":"2024-12-31T15:54:53.101Z","avatar_url":"https://github.com/llloret.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://dev.azure.com/luislloret/sonic-pi-vscode-editor/_apis/build/status/llloret.sonic-pi-vscode-editor?branchName=master)](https://dev.azure.com/luislloret/sonic-pi-vscode-editor/_build/latest?definitionId=1\u0026branchName=master)\n\n# sonicpieditor README\n\nThis is an extension to work with Sonic Pi within vscode. It will launch Sonic Pi's backend when you open\na ruby file.\n\nAt the moment this is run as an extension in development, so see the Requirements section below for instructions\non how to run it.\n\n**Please feel free to contribute with your Pull Requests. Any help is welcome!**\n\nAlso, if you like this project or are interested in its progress, it would be great if you star it in github to help spread the word! Thank you!\n\n## Features\n\nThis is just starting, but we already have enough features to have some fun!\n- Configurable Sonic Pi server launch options. Now you can choose between:\n    - always: launches the server when vscode starts\n    - ruby: launches the server when there is a ruby file visible in vscode (this is the default)\n    - custom: launches the server when there is a file with your given custom extension visible in vscode\n    - never: do not launch the server automatically (use the Sonic Pi: Start Server command)\n- Configurable Sonic Pi root path, in case the default does not work for you\n- Can run code pressing Alt-R (or Cmd-R on Mac, just like in Sonic Pi's editor) or with command palette \"Sonic Pi: Run\" (see [Screenshot](image/command-palette.png))\n- Can stop running audio with Alt-S (or Cmd-S on Mac) or \"Sonic Pi: Stop\"\n- Can run the selected code with Alt-T (or Cmd-T on Mac). If there is no code selected, it will offer to run the whole file instead (and persist the choice)\n- Shows logs and cues in the output panel (see [logs](image/output-pane.png) and [cues](image/output-pane-cues.png))\n- Some snippets like live_loop, effects, synths, samples, and possibly more coming soon. See the snippets directory for the full list and contribute new ones if you feel like it!\n    - fx -\u003e instantiate effect with autocomplete list chooser\n    - fx x (where x is a letter) -\u003e effect instantiation\n    - us -\u003e instantiate synth with autocomplete list chooser\n    - us x (where x is a letter) -\u003e specific synth instantiation\n    - sa -\u003e instantiate sample with autocomplete list chooser\n- Highlight errors as reported by the Sonic Pi server\n- And of course, you have syntax highlighting, autoformatting, all the goodies that you usually have with vscode!\n\n* See a very short video of Robin Newman's arrangement of \"Pase El Agua\" launched from this extension, showing\nthe thing working, logs, etc: [Video](image/sonicpi-vscode.mp4)\n\n\n(You can find Robin's original work here: https://in-thread.sonic-pi.net/t/three-more-pieces-for-sonic-pi/2434).\n\n## Requirements\n\nThe extension runs in development mode. Follow these steps:\n- Go to the extension directory (where this file is located)\n- run \"npm install\", to install the necessary node dependencies\n- run \"code .\", to open the extension directory in vscode\n- press F5 to run the extension\n- (optional) see the Sonic Settings in vscode and configure how you want to start the server, by default it will launch when there is a ruby file visible in the editor\n\nIf you run into problems, let me know, and I'll do my best to help you set this up.\n\n**Make sure you configure the Sonic Pi root path in the configuration if the default setting does not work for you**\nOpen Settings -\u003e Extensions -\u003e Sonic Pi -\u003e Sonic Pi Root Directory\n\n\n## Known Issues\n\nI have not tested this in Linux yet. Works nicely in Windows and Mac.\n\n\n## Open questions\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllloret%2Fsonic-pi-vscode-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllloret%2Fsonic-pi-vscode-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllloret%2Fsonic-pi-vscode-editor/lists"}