calva icon indicating copy to clipboard operation
calva copied to clipboard

Syntax highlighting for Calva Inspector

Open skylize opened this issue 11 months ago • 1 comments

Given that Calva Inspector is intended to deprecate the Calva Output Window, certain features seem pretty important which are currently missing. One such feature is syntax highlighting.

skylize avatar Jan 07 '25 21:01 skylize

Again, there's no deprecation of the Calva Output Window planned. (In fact there is no Calva Output Window, we are trying to deprecate that term 😄 ).

The way the inspector is implemented (a vscode TreeView) there is no way to syntax highlight the rows. You can enable rainbow colors of the data structure levels, and it will match Calva's rainbow brackets. And you can hover the inspector rows to get a pretty printed and syntax highlighted view of the data:

image

PEZ avatar Jan 08 '25 08:01 PEZ