Skip to content

Conversation

@TimWhiting
Copy link
Collaborator

@TimWhiting TimWhiting commented Apr 28, 2025

Allow linking to names and types in error messages on hover. Starts addressing #699.

I've updated just a few error messages to include the link information, but wanted to get feedback and this merged before updating other error messages. The links to names are highlighted in blue below. I can keep the original color of identifiers and types or make them blue. I haven't seen if I can do underlining.

Screenshot 2025-04-28 at 7 19 20 AM

Errors are now identified by a code and short description associated with that code stating the problem.
Longer descriptions include location-specific information about the specific issue, as well as hints for how to solve it.

I also think that the "context" information is not necessary for errors in VSCode since the range is already underlined in red. I have not removed that yet, awaiting some discussion.

link to type

add more errors

update

Get links working

work on refactoring error logic to include short messages

gate based on flags
@TimWhiting TimWhiting changed the title Hover links Hover links for Errors Apr 28, 2025
@TimWhiting TimWhiting added this to the 2 week release update milestone Jul 2, 2025
@TimWhiting TimWhiting force-pushed the dev branch 3 times, most recently from 2c83d90 to 00399ab Compare August 13, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant