The ANSI Colors extension exists since 2020/10/13:
After installing, the easiest way to use it is to:
- Install the ANSI Colors extension.
- Open your ANSI file.
- Use their custom commands to open the ANSI color preview, just like in this screenshot:
- Press
F1
or CTRL/Command + SHIFT + P
(to open the VSCode command interface).
- Type "ansi" or "preview" to find the commands.
- Select with Up/Down arrow keys.
- Finally, hit enter.
As you can see, the command interface also shows you the direct keyboard shortcuts, that saves you all that typing.
More usage and configuration options are explained on the extension page.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…