Using VSCode with Buoy

where can I find the LSP file for Buoy you mentioned

“Buoy ships a Language Server (buoy-lsp) usable from any LSP-compatible editor — VSCode, Neovim, Emacs, JetBrains, Sublime, Helix, and others.”

should be in Editors > VSCode
open vs code & load that VSIX file

Note that the LSP is currently arm64 only

Here’s a useful VSCode build task tat will build the item in the selected tab and run it

NOTE you PROBABLY have to alter the name of the BUOY executable folder

on my machine it is buoy-927bc57-macos-x86_64

YMMV !

{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Build",
            "type": "shell",
            "command": "${workspaceFolder}/buoy-927bc57-macos-x86_64/buoy",
            "args": [
                "${workspaceFolder}/samples/${fileBasename}",
                "-o",
                "${workspaceFolder}/bin/${fileBasenameNoExtension}"
            ],
            "options": {
                "cwd": "${workspaceFolder}"
            },
            "presentation": {
                "reveal": "always",
                "panel": "new",
                "clear": true
            },
            "problemMatcher": []
        },
        {
            "label": "Run",
            "type": "shell",
            "command": "${workspaceFolder}/bin/${fileBasenameNoExtension}",
            "options": {
                "cwd": "${workspaceFolder}"
            },
            "presentation": {
                "reveal": "always",
                "panel": "new"
            },
            "dependsOn": [
                "Build"
            ],
            "dependsOrder": "sequence",
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            }
        }
    ]
}

I see.. i already use the vsix file. No idea it is the lsp file

Well woof.

Adding a debugger to the VSCode extension is a heavy lift. It’s next on my list but it’s going to make the deliverable package balloon in size. It’s coming people but it’s gonna be a minute…