sublime-ide-r
sublime-ide-r copied to clipboard
[Feature Request] Option for toggling the `lintr` on and off
I'm wondering if it's feasible to add an option to toggle lintr
on and off. I understand that this is possible through setting specific options but it'd be nice to just have a toggle button, maybe even making accessible in the Command Pallate.
Check the setting diagnostics
.
Oh. Didn’t read your post carefully. However, I am afraid that it is not possible to make it togglable. A restart is always needed.
I'd say that's fine. There are options on other packages, even on Sublime that states the necessary restart. It's already good if there is an option to toggle it on/off.
Seems the diagnostics
only hides the bottom pane - but does not turn off/on the lint hints in the files. Is it possible to still have tab completion for functions/etc. but not linting advice?
It should stop the entire linting feature. Try restarting the sublime
thanks, i think that works
Check the setting
diagnostics
.
Could you please elaborate on this? I tried "diagnostics": false
in my R-IDE.sublime-settings
to turn off linting, but it does not seem to have an effect (not even after a restart).
Are u using the latest version of languageserver? There is a bug in the previous version preventing the settings to pass over to the server.
oh, thanks, I used 0.2.6
, installing the latest version solved the issue
Setting "diagnostics": false
only disables linting or some other features too?
It only disables linting.
Apologies replying to an old issue. But the above "diagnostics": false
trick does not seem to be able to turn off lint for ST4. I'm using the latest build 4169 and latest version of languageserver. Many thanks!