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.

Add disableDiagnostics setting

See original GitHub issue

I’m not yet using coc-rust-analyzer, my old setup is:

  let languageservers = {}

  let languageservers['rust'] = {
  \   'command': 'ra_lsp_server',
  \   'filetypes': ['rust'],
  \   'rootPatterns': ['Cargo.toml'],
  \   'disableDiagnostics': v:true
  \ }

  call coc#config('languageserver', languageservers)

Having disableDiagnostics is important in my setup because at the moment rust-analyzer isn’t useful for diagnostics, so I’m using ALE with RLS for that. I’m not sure whether I can already use this setting with coc-rust-analyzer or it needs to be added.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
oblitumcommented, Sep 4, 2019

@JeanMertz thanks for you report, that makes me give it a try 😃

1reaction
JeanMertzcommented, Sep 4, 2019

but I believe I’ll stick RLS bc it feels a lighter solution.

For what it’s worth, I’m using this plugin with cargo-watch (using clippy instead of check), and have had no issues with performance or heaviness.

Contrast that to the past when I used RLS, which could take 10+ seconds before it gave back any feedback after making a change to a document in a larger project.

I’m definitely going to check out your solution, but I have the opposite feeling of finding RLS heavyweight and RA+Clippy lightweight. Perhaps that feeling is no longer justified, so I’m definitely going to give it a go!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set-AzDiagnosticSetting (Az.Monitor) - Microsoft Learn
The Set-AzDiagnosticSetting cmdlet enables or disables each time grain and log ... Specify $True to enable diagnostics, or $False to disable diagnostics.
Read more >
Add config to enable/disable diagnostics · Issue #204 - GitHub
Diagnostics can be disabled completely or categories of diagnostics disabled in 1.3. Expected type 'int'. Found 'string' was due to declare( ...
Read more >
Enable or Disable Delete Diagnostic Data in Windows 10
Enable or Disable Delete Diagnostic Data in Windows 10 · Option One: Enable or Disable Delete Diagnostic Data in Local Group Policy Editor ......
Read more >
Learn How to Change the Diagnostics & Feedback ... - YouTube
FREE Course! Click: https://www.teachucomp.com/free Learn how to change the diagnostics and feedback settings in Windows 11 at www.
Read more >
Android Basics: 10 settings to instantly disable on your phone
Usage & diagnostics - android settings to disable ... make it fairly simple to disable and adjust these ad settings on your Android...
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

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