Skip to content
Paul Jolly edited this page Jan 1, 2025 · 4 revisions

Getting started

Some WIP notes on using the CUE VSCode extension, that build on the Quick Start guide:

  • Use the Command Palette, Shift+Command+P (Mac) / Ctrl+Shift+P (Windows/Linux), to run CUE-specific commands. They are all prefixed with CUE:.
  • Use the Output window and select CUE or CUE Language Server in the Output Channel Selector dropdown for useful log messages.
  • If you need trace-level logging of the LSP, then modify the user or workspace [settings] (https://code.visualstudio.com/docs/getstarted/settings) to add flags to specify a logfile location and the level of tracing:
{
   "cue.languageServerFlags" : [
      "-logfile=/tmp/cue_lsp.vscode",
      "-rpc.trace"
   ]
}

Other reading

The main cue lsp wiki might also be of interest.

Clone this wiki locally