#using the dagger vscode extension with cue lsp

1 messages · Page 1 of 1 (latest)

limber scaffold
#

Hi, how can one use the cue lsp these days? Also is this project still maintained, github.com/dagger/cuelsp?
I have installed the lsp server via go install github.com/dagger/cuelsp/cmd/cuelsp@latest but the vscode extension errors

[Error - 10:53:35 PM] dagger language server client: couldn't create connection to server.
Launching server using command dagger failed. Error: spawn dagger ENOENT
limber scaffold
#

using the dagger vscode extension with cue lsp

ivory halo
#

@fringe wren any advice?

ivory halo
#

@limber scaffold Since we changed the name of the CUE-based Dagger binary to dagger-cue, we need to update the VS Code Extension to look for that instead of dagger.

I just tested a workaround with a symlink that works for me 🙂

I installed dagger-cue: https://docs.dagger.io/sdk/cue/526369/install
and then made this symlink

sudo ln -s `which dagger-cue` /usr/local/bin/dagger

{@include: ../../../partials/_install-sdk-cue.md}

#

Now things are working for me.

limber scaffold
#

oh nice. thanks.

#

seems like the cue related stuff doesnt get much love anymore. I personally would opt for go sdk most the time anyway but I am still wondering what the plans are regarding cue. Will it be removed completely at some point? What is the reason it appears barely used anymore? I see in the docs it says

a fan of the CUE language, and don't mind using the old Dagger engine
here: https://docs.dagger.io/

jade hamlet