monaco-tailwindcss
monaco-tailwindcss copied to clipboard
Disable class hover
Is there an option to remove the tooltip that shows a class CSS rules whenever it is hovered?
Can this be done in VSCode / Tailwind language server? It would be neat if we can make this configurable. That would mean all options supported in VSCode are supported here as well. If VSCode doesn’t have an option for this, we can’t support it either.
https://github.com/remcohaszing/monaco-tailwindcss/blob/dd0917fefb33f4a69c0bb943777dab9030cd6314/src/tailwindcss.worker.ts#L105-L143
@remcohaszing This can be done in VSCode by disabling hints popup using "editor.parameterHints": false in settings.json
Ok great!
I envision the MonacoTailwindcssOptions interface gets a new property editorConfig. (The name is up for debate, settings?) These settings need to be passed to the worker. Possibly also a function on the MonacoTailwindcss interface to reconfigure the settings.
I currently don’t have the time to implement this. I’ll get to it when I get to it. In the mean time: PR welcome.