Comments (12)
This is intentional.
from flycheck.
Mmm ok so I guess you are aiming for granularity. Is there a way I can get the whole token highlighted instead of just the column?
from flycheck.
I'll make it customizable.
from flycheck.
π
from flycheck.
Just discovered another problem with this change, sometimes checkers like jshint will report an error on a column that is a space, e.g a defined but unused variable, jshint will report the column that is the space right after the unused variable. This change doesn't highlight spaces in the middle of a line. This may affect PR #39 too, as some checkers report trailing whitespace errors, but that's not highlighted in PR #39.
from flycheck.
Sorry, but I fail to understand what you're trying to tell me. I guess the jshint checker somehow highlights the wrong column or so. If so that is a bug. In this case please report it as new issue, and include the following in your description:
- The source code that is checked.
- The output of the checker if run from command line with the same arguments flycheck uses.
- A screenshot of the highlighting you observe
- A description of the highlighting that you'd expect, at best an exact range of positions that you'd like to see highlighted.
from flycheck.
Error Message:
lib/backbone-pageable.js: line 399, col 23, 'lastPage' is defined but never used.
The point is where the error column is. Currently it is not hightlighted because it's a space. It's not an error from jshint, I'd expect that space to be hightlighted by flycheck.
from flycheck.
I'm sorry but that is not something Flycheck can fix. The default faces of Emacs are simply ill-suited to highlight errors, because they lack βcatchinessβ and cannot highlight spaces though spaces can actually be errors (think of trailing spaces that are forbidden by many style guides and hence warned about by many syntax checkers).
Really, really use reasonable faces that have a striking background color and/or an underline, like in the screenshot in README.md
.
from flycheck.
I'll document that, though.
from flycheck.
Ah right. Good deal.
from flycheck.
Do you think dd0fe96 provides enough information?
from flycheck.
Note that I changed the customization setting to disable column-specific highlighting.
Replace (setq flycheck-ignore-columns t)
with (setq flycheck-highlighting-mode 'lines)
.
from flycheck.
Related Issues (20)
- How are the docs being deployed? HOT 5
- [Emacs lisp]" Docstring wider than 80 characters" where there's no docstring
- "apply: Spawning child process: Exec format error" when compiling elisp HOT 1
- How do I customize the mark char used on the border? HOT 2
- Flycheck fails in an indirect region buffer HOT 2
- Emacs28 / flycheck is spawning wild running shellcheck processes eating up the system memory (oom-kill)
- Support for phpcs-changed in addition to php-cs HOT 1
- go-lint is depricated
- Can't set default python checker with lsp mode HOT 1
- reveal_locals() does not (any more?) show mypy information by default HOT 2
- Warnings are shown only if there are no errors:
- please update the flymake comparison HOT 1
- Terraform-tflint command line arguments have changed HOT 1
- flycheck wrong type argument HOT 2
- Flycheck clears the selection mark when selecting text with errors HOT 2
- Running `global-flycheck-mode` errors if no "Tools" menu on startup HOT 3
- PHP - Warning about A file should declare new symbols... HOT 1
- test failure: flycheck-define-checker/awk-gawk/syntax-error HOT 1
- Flycheck's Emacs Lisp checker is unable to identify functions defined in nested block
- flycheck in buffers with no file name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flycheck.