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

Other file extensions #35

Closed Tabaie closed 1 month ago

Tabaie commented 1 month ago

Is it possible for the extension to process files with extensions other than .ansi? I'd like to view my nohup.outs with colors by default.

iliazeus commented 1 month ago

Yes - to do that, you should associate the ANSI text language with that file extension. It can be done temporarily, by executing F1 - Change Language Mode - ANSI Text; or permanently, by editing the Files: Associations setting, adding an item with the value of ansi.

iliazeus commented 1 month ago

Relevant VS Code docs: