Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add syntax highlighting in the log viewer #44

Open
ruohanliu opened this issue Mar 13, 2024 · 0 comments
Open

Add syntax highlighting in the log viewer #44

ruohanliu opened this issue Mar 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ruohanliu
Copy link

Request

To enhance the log viewing experience, some more coloring of text can be added.
Currently in dark mode:

  1. timestamp and log level are colored in green.
  2. digits are colored in blue

Requesting:

  1. content in a string, enclosed by single/double/triple quotes to be colored in yellow
  2. content in a python f-string enclosed by {} are colored in light blue
  3. function/method signature is also colored. Depending on the implementation, potentially multiple colors can be used for different parts of the signature.

Please consider the color palette used in https://monokai.pro/

Possible implementation

n/a

@ruohanliu ruohanliu added the enhancement New feature or request label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant