vscode-cue-fmtFormat CUE files using SetupCUE must be installed and
Enable "format on save" VS Code setting.
Why?I've grown accustomed to the format on save feature that's enabled by default with the NeoVim CUE plugin that I use and was dissapointed to find that the existing CUE extension for VS Code did not support this feature. Eventually that extension will support formatting via LSP but there is no telling when CUE LSP will be available. In the meantime this should do the trick. StatusAlpha -- I've never written TypeScript let alone a VS Code extension. The code in this extension is extremely niave and has little to no error handling. Use at your own risk. |