Skip to content

Tracking issue: improve error messages for IDEs #42823

Closed
@nrc

Description

@nrc

This is just a grab bag of things that would improve errors in IDEs via the RLS. These all apply to JSON errors rather than human-readable ones, where that's relevant

  • replace help with suggestions where possible
  • add suggestions that are not user-visible in human-readable output (e.g., to delete unused functions)
  • add suggestions in general (in particular, imports for name resolution errors)
  • implement the rendered field for all error types (currently only used by suggestions)
  • make sure the main error message reads well by itself without any span labels
  • if possible, suggestion labels should describe the action rather than the problem

cc @oli-obk @killercup @jonathandturner @est31

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions