CUE - Configure, Unify, Execute - is a language designed for designing, generating, and validating data. Read more about it on the official site, cuelang.org.
Visual Studio Code is an awesome, extensible, multi-platform editor and IDE. Its ecosystem has a massive number of plugins for different languages, and this one implements syntax highlighting (and potentially more functionality in the future) for the CUE language.
Unfortunately, the .cue
extension which CUE uses is squatted on in the "official" VSCode registry by the file format used to describe audio CD tracklistings.
So for the moment, manual installation is required. This is quite simple though. Once you have VSCode installed, simply clone this repo into its extension location:
git clone https://github.com/cue-lang/vscode-cue ~/.vscode/extensions/vscode-cue
Restart VSCode and you should have syntax highlighting for any .cue
files you load.
This project was started by betawaffle who graciously permitted that it be moved to a more general home in the cue-sh (which is part of the CUE Project), before then being migrated to the cue-lang organisation which more clearly identifies it as part of the CUE Project along with the main CUE repository.