lnav icon indicating copy to clipboard operation
lnav copied to clipboard

Add syntax coloring for sql output

Open paulelong opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. Syntax coloring is a useful tool which lets you visually inspect large amount of data with repetitive data. Of a sql query on a table contains that same data but today isn't syntax colored

image

Describe the solution you'd like I want to be able to select columns as identifiers, like you do in a format file, which determine items to be syntax colored. For instance

;select log_time, colorize(host), counter, colorize(id), version, log_line from mytable

Describe alternatives you've considered I'm not aware of an alternative.

Additional context na

paulelong avatar Sep 20 '22 13:09 paulelong