Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Colorize cargo check diagnostics in VSCode via text decorations #13848

Merged

Commits on Jan 9, 2023

  1. Parse + decorate rendered ANSI cargo output

    Use ANSI control characters to display text decorations matching the
    VScode terminal theme, and strip them out when providing text content
    for rustc diagnostics.
    
    This adds the small `anser` library to parse the control codes, and it
    also supports HTML output so it should be fairly easy to switch to a
    rendered HTML/webview implementation if desired.
    ian-h-chamberlain committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    1b8141b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4020790 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c3e4bc3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    738ce83 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    65cf7ab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    283dfc4 View commit details
    Browse the repository at this point in the history