ANSI color support in edit buffer
See original GitHub issueNow ANSI colors are supported in the debug console, I’d like to see it in the editor, something like SublimeANSI.
- VSCode Version: 1.19
- OS Version: macOS
Steps to Reproduce:
- open a file which contains ANSI color escape sequence, or simply
ls --color | code
- colorless raw ANSI code displayed, rather than colored text.
Reproduces without extensions: Yes
Issue Analytics
- State:
- Created 6 years ago
- Reactions:393
- Comments:48
Top Results From Across the Web
region - How can I apply ansi-color to complete buffer?
If you want to do it interactively then C-x h followed by M-x ansi-color-apply-on-region-int . Or use this command: (defun ansi-color-on-buffer ...
Read more >ANSI Coloring in Compilation Mode - Stack Overflow
The function was trying to colorize the whole buffer, although it should filter only the chunk that is spilled from a process. Although...
Read more >Ansi Color - EmacsWiki
It supports the standard ANSI color protocol plus XTERM 256 colors. It implements a state machine to handle ANSI SGR sequences rather than...
Read more >Build your own Command Line with ANSI escape codes
The most basic Ansi escape codes are those involved in rendering text. These let you add decorations like Colors, Background Colors or other ......
Read more >ANSI escape code - Wikipedia
ANSI escape sequences are a standard for in-band signaling to control cursor location, color, font styling, and other options on video text terminals...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I made a VS Code extension since I could not find one which provides this feature. It’s not perfect, but enough for my use-case. If someone wants to have a look, the repository is here at vt100-syntax-highlighting and the extension VT100 Syntax Highlighting is already in the VS Code Marketplace.
I was just looking for this feature too. My terminal can log to a text file, but when I view the file in VSCODE it’s full of escape sequences. Would be nice have a way to either hide them or render them.