0

I have output from a python program that is being logged for the most part by structlog. When viewed in the console it is color coded but Notepad++ doesn't seem to recognize the characters that are being used to do the color coding.

Is there a text editor that will render this text as color coded?

Is there a way to do this in Notepad++

This is what the output looks like in a console window: enter image description here

This is what the output looks like in Notepad++ enter image description here

John
  • 3,458
  • 4
  • 33
  • 54
  • In general, text editors wouldn't respect custom formatting. You could try loading the log into something like VS Code, though, which might be able to do syntax highlighting, just by looking at the log structure. – KTibow Dec 28 '21 at 15:48
  • There was an [issue](https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8078) for this on notepad++ and the discussion had [this python script](https://github.com/Ekopalypse/NppPythonScripts/blob/master/npp/error_list_lexer_support.py). It seems you can load the script using a plugin (info is in the repo README) – shriakhilc Dec 28 '21 at 15:54

0 Answers0