Selectively enable/disable LSP features
See original GitHub issueExtracting discussion from #55, quote by @bollwyvl :
Not in this pr, but: I’d also like to see a toolbar item that let you enable/disable different language server ui features for the current file. It could be right aligned, but left of the kernel name/status icon, and also have an indicator of whether there is pending stuff… This would be particularly useful in the typescript case which takes upwards of a minute to fully resolve all the references in, say, index.ts.
I think that a statusbar would be a good place for it (so that we have it for both files and notebooks).
Sketch:
{
"disableForKernels": {
"title": "Disable for specific kernels",
"type": "array",
"items": {
"type": "string"
},
"default": []
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
A guide on disabling/enabling lsp-mode features
A guide on disabling/enabling lsp-mode features# · 1. Symbol highlighting · 2. lsp-ui-doc - on hover dialogs. · 3. Lenses · 4. Headerline...
Read more >What lsp features do you enable disable? : r/emacs - Reddit
I've found this guide on enabling/disabling features which is quite helpful in understanding what everything is and how to toggle each piece ...
Read more >Pyright configuration for disabling hint diagnostics #726 - GitHub
The issue is pyright's language server (I believe) doesn't allow you to selectively disable returning hints per diagnostic type like you want.
Read more >Cisco Firepower Release Notes, Version 7.0 - Features and ...
Note that if you use the new method to enable SecureX integration, you must disable the feature before you upgrade to Version 7.1....
Read more >RSVP Overview | Junos OS - Juniper Networks
The previous CLI configuration options for enabling or disabling message ... For dynamic LSP creation to function properly, BGP must be configured to ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Agree that there should be a way to disable LSP (completely) just in case things are broken or completion is slow so that users to want to temporary disable it without uninstalling the extension.
Also, it’s best it there’s a way to restart lsp without restarting jupyterlab. This is critical for Docker based users.
Cool! Excited to see what you come up with.
My thinking on the ugly ASCII mockup: I think more popups/hovers/(context)menus, aside from being harder to test, can make it harder to inform people what choice they are making when it comes to settings. “What the heck is a diagnostic and why would I hide it?” Hence I usually encourage anything remotely settings related (e.g would persist after restart) to err on the side of being more verbose and discoverable.
On Sun, Oct 27, 2019, 15:52 M. Krassowski notifications@github.com wrote: