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

Add the --caret-diagnostic flag #3256

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Dec 21, 2023

  1. Add the --caret-diagnostic flag

    When the --caret-diagnostic flag is set, the diagnostic message contains
    3 lines:
      - the first line contains the filename, line number and column number,
        followed by wrong word, right word and reason
      - the second line contains the content of the offending line
      - the third line contains the caret, showing the offending word
    
    This is the format used by modern compilers when reporting a diagnostic
    message.  The color of the caret is bold cyan.
    
    This new format should improve the user experience, compared to the
    context format.
    perillo committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    3097ec3 View commit details
    Browse the repository at this point in the history