Closed jakejx closed 3 years ago
Hi! Thanks for the pull request. I have one comment regarding it though. You implemented in on the emacs side - just ignoring metals decorations. But it's possible to tell metals to stop sending them - you can modify its settings defined here and pass them to metals. It should be more performant and correct way to implement this feature. You can check how it's done for vscode plugin. Would you be interested to try to implement this approach? :)
Thanks for taking a look. I was under the impression that making the change on the server side would require the server to restart. I'll take a look at the VS code plugin and see how it's done :)
Inspired by the VS Code plugin, I created a macro that would help to generate commands for toggling boolean configurations and created a few commands :)
Hi there! Currently, the toggles for showing inline hints/implicit types are controlled on the server-side and (I believe) require a server restart whenever they are changed. I have added a small function to toggle these decorations on the client side so that its easy to turn off when there is too much clutter.
Let me know if this makes sense, thanks!