By default the extension will try to find the correct ns binary in the PATH.
If that doesn't work (errors when interacting with any of the features listed below)
set ns.toolPath configuration key to the full path to the ns command.
Features
When a file named ns-workspace.cue is present anywhere in the workspace Namespace language
server (ns lsp command) will be started. See 'Namespace' output panel for troubleshooting.
What to try:
Open a .cue file, invoke Format Document command. Observe file reformatted.
Observe Cue syntax highlighing (provided by dependency extension nickgo.cuelang).
Invoke "Format Document" command on a Cue file.
Invoke "Namespace: Run ns generate" command. Observe the output in the Namespace output panel.
Modify and save the Cue file. As ns.generateOnSave is on by default the generate command will
be run.
Hover on Cue expressions. Observe popups with the expression values.
Position your cursor on a Cue reference and invoke "Go to Definition" command. Observe
navigation to the definition.
Introduce a syntax or semantic error in the Cue file. Observe diagnostics surfaced in the
Problems pane in real time.
Observe syntax highlighting on a .textpb file (provided by dependency extension
thejustinwalsh.textproto-grammer).