Skip to content

Better visual distinction between --pretty --watch recompile results? #20379

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

TypeScript Version: 2.7.0-dev.20171126

While running tsc --pretty --watch, there's not much visual distinction between different rounds of failures. Other than a few blank lines on the right half of the screen, they look very similar. When I have a lot of files I'm going through refactor errors through it can be hard to tell what's fixed or fresh.

image

For comparison, this is what TSLint's stylish formatter outputs...

image

...and this is what gulp outputs:

image


A few suggestions to make this display easier to read (replace "grey" with any non-white color):

  • Use grey text for line/column numbers and/or grey+bold text for TS2451-style identifiers
  • Use grey text for times
  • Use grey and/or italic text for File change detected. lines
  • In the Compilation complete. lines:
    • Say whether compilation failed or succeeded
    • Use green or red text appropriately
  • Add a CLI option to clear the console when a new run starts

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do thisSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions