google / google/xls

[DSLX:LS] Ansi color codes don't render in vscode problems pane

Open
#1,940 2 comments 0 reactions 0 assignees View on GitHub
bug dslx:lsp
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

**Describe the bug**
The dslx_ls produces ANSI escapes in the problems pane in VSCode.

**To Reproduce**
Install DSLX vscode extension
Point at dslx_ls installation
Make a type error where we're displaying member type diffs (e.g. a component within a tuple)
Observe the unredered ANSI escapes

**Expected behavior**
I think somehow other languages provide color coding? But if not we probably need to plumb a "can do ANSI escapes" from the outside world to the error rendering.

**Screenshots**
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.