Skip to content

Possible to use with external editor? #1902

Open
@TomasHubelbauer

Description

@TomasHubelbauer

Hey, I have just discovered this software and love the idea! However, the entire UI of the app, I am not a fan of. What I am a fan of is VS Code. I think what would be a really nice touch is if Sonic Pi was able to listen on a file for changes so people could use an editor of their choice. Is something like that possible today?

And if not, I don't know if you are familiar with Language Server Protocol? I think it could be used to provide sort of a daemon which many IDEs could communicate with (much easier to support just LSP than to try and please everyone who uses different IDEs with different extensibility models).

I have not done this before, but if you'd be down to mentor me on the Sonic Pi's side of things, I'd like to try and implement a super basic PoC of LSP to see if I could get VS Code to talk to Sonic Pi over LSP's extension messages. Not only should it be able to support listening on file changes, but also provide code completion and even the waveform data if a VS Code plugin to display them was implemented (which wouldn't be very hard to do given that VS Code supports WebView based extensions now so we could just render waveform data to a canvas).

Please let me know what you think of the idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions