Skip to content
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

Smarter error highlighting #2125

Closed
oblitum opened this issue Dec 6, 2018 · 1 comment
Closed

Smarter error highlighting #2125

oblitum opened this issue Dec 6, 2018 · 1 comment

Comments

@oblitum
Copy link
Contributor

oblitum commented Dec 6, 2018

For several linters (I've tried ALE with Rust, Go, C, C++ and Python) when there are errors to be displayed in source code, just a single char gets highlighted, instead of whole identifier. It's unconventional compared to other tools, and aesthetically not nice to have highlighting points instead of words. This didn't happen for Rust, but happens for all others I've tried.

04 09 17_06-12-18

Feature request: try highlighting whole identifier when it's sensible to do so (not needed when error is at special char, like extra bracket).

@w0rp
Copy link
Member

w0rp commented Dec 6, 2018

There's no general solution for this. so I'll close this. ALE already supports specifying beginning and end columns and/or lines for highlights. Each linter needs to be handled separately.

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

No branches or pull requests

2 participants