question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Only critical errors are now underlined

See original GitHub issue

Issue is due to a breaking change in coc.nvim. See: https://github.com/neoclide/coc.nvim/issues/3185

What’s the output of :CocCommand pyright.version coc-pyright 1.1.154 with Pyright 1.1.154

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:23 (21 by maintainers)

github_iconTop GitHub Comments

2reactions
fannheywardcommented, Jul 6, 2021

@dob9601 coc used to do a simple hack: if LS returns empty range, for example (3, 3, 3, 3), starts with line 3 char 3, ends with line 3 char 3, coc would add one char to the end, made it to (3, 3, 3, 4). This hack has been removed in https://github.com/neoclide/coc.nvim/pull/3147, this is the breaking change.

Maybe we can add this range format in coc-pyright.

0reactions
dob9601commented, Jul 8, 2021

@fannheyward apologies, didn’t see lines 166-174 - thats a great way of handling it, thanks 😃. I’ve got a few other ideas and might make a PR if any work well if that sounds good.

Thanks for the patch either way

Read more comments on GitHub >

github_iconTop Results From Across the Web

Errors are not shown in errors window, nor is problematic ...
After using my solution for a little while, errors stop showing up altogether. Neither in the Error List, nor as underlined text in...
Read more >
Turn Off XAML error underlining - visual studio - Stack Overflow
Write xaml in the Extension field and choose XML (Text) Editor from the Editor drop down and then click Add. Your XAML files...
Read more >
How To Use Underlined Text To Improve User Experience
A study by the University of Hamburg shows that underlining has a detrimental impact on text readability. Based on the study, avoid underlines...
Read more >
Completely Underlined Sentence Correction: Modifiers and Lists
GMAT #GMATPrep #GMATVerbal #GMATSC.
Read more >
Outlining text removes underlines (line above and below)
If you put an underline on any text and than go 'Type > Create Outlines', only the text becomes outlined and it completely...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found