Skip to content

Sublime Text#

This page assumes you've read the general instructions

Install, from Package Control:

  • LSP and LSP-clangd.
  • CUDA C++, since Sublime Text has no built-in syntax for CUDA. LSP-clangd attaches to files that use it.

Then open Preferences > Package Settings > LSP > Servers > LSP-clangd, and set:

{
  "system_binary": "/opt/scale/llvm/bin/clangd"
}

Other clangd options are set as initialization_options in the same file: it lists them all.