Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Use col numbers from cmd outputs to give src locations for error/warnings #1573

Merged

Conversation

dhowden
Copy link
Contributor

@dhowden dhowden commented Mar 10, 2018

Errors/warnings parsed from compiler output now include column numbers in source locations.

Both source annotations and "Problems" use the column data.

Starts #1572.

Later improvements could include trying to extract further information so that annotations can be isolated to the problematic tokens instead of marking the whole line after the location column.

Probably needs testing on pre-go1.9 when the column information was not provided in compiler output.

Copy link
Contributor

@ramya-rao-a ramya-rao-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ramya-rao-a ramya-rao-a merged commit 86d3f5a into microsoft:master Mar 15, 2018
@dhowden dhowden deleted the use-col-numbers-from-src-locations branch March 15, 2018 04:41
@ramya-rao-a
Copy link
Contributor

@dhowden This feature is now available in the latest update (0.6.78) to the Go extension. Thanks for the PR!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants