-
Notifications
You must be signed in to change notification settings - Fork 90
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
Unusual line number and column format in output #287
Comments
Removing the range shouldn't be needed, switching to:
should be enough for most editors to pick it up correctly |
Not VSCode unfortunately. It has no issue with the position - just the Based on that file you could do this:
But I doubt that would be well supported by other editors. Perhaps something like this would be best:
I believe that would be recognised by most IDEs (including VSCode) and it retains the ending line/column. |
We are following the GNU document https://www.gnu.org/prep/standards/html_node/Errors.html so I'm suprised VSCode doesn't like it |
Ah interesting. Maybe you're the first people to actually use that format! I can't say I've seen it anywhere else. I'll see how easy it is to add that format to VSCode. |
This is fixed in VSCode now (on |
Sail gives the complete line and column range for error messages by default:
Laudable, but this is an unusual format that tools like IDEs don't recognise by default. Would you accept a PR changing it to the far more standard format
filename:line:column:
?The text was updated successfully, but these errors were encountered: