iliazeus / vscode-ansi

VS Code extension enabling ANSI color styling for text documents
https://marketplace.visualstudio.com/items?itemName=iliazeus.vscode-ansi
MIT License
57 stars 6 forks source link

esc for no reason #18

Closed booboojp closed 1 year ago

booboojp commented 1 year ago

Can I use this is log files to show the color in them. All i see is a red esc box. I am using vs code. dsdsdsdsdsdsdsdsds

iliazeus commented 1 year ago

You need to tell the extension that it is a file with ANSI colors in it by selecting F1 - Change Language Mode - ANSI text. This mode is only enabled by default for files with .ans and .ansi extensions.