Make Log File Highlighter VS Code extension works with long files

Viewed 2195

I'm trying to use the VS Code extension LogFileHighlighter for adding color highlighting to log files. But when I try to open a long file log (around 20k lines) the extension doesn't add the color highlighting.

I can only see the highlighting with small files. Is there any configuration to change the file size limit for highlighting or another way to make work for long files?

2 Answers

Set "editor.largeFileOptimizations" : false this shoud remove limitations.

As said above but disable it for log files specifically (in "settings.json"):

"[log]": {
    "editor.largeFileOptimizations": false
}
Related