Closed andys8 closed 3 years ago
This works fine for me, with the classnames example, both auto complete and the code action.
Can you share the language server version, PureScript version, being used - I suspect this may be an issue just with pre-0.14 PS / pre 0.15.0 language server, in the case where you have the same operator in multiple namespaces available for import. See #118
Languageserver 0.15.0 (purs 0.13.8) shows an error message:
With purs 0.14.0, ls 0.15.0 and a fake module for CassNames
because the current isn't updated, it is working :)
Thanks, will close the issue.
Issue
It does offer the action. Importing won't add it though.
Additional information
With auto completion
import ClassNames ((^))
will correctly be added.And also the code action does seem to work for other operators like
&&
and+
. So it looks like it wouldn't work for certain operators (e.g.(^)
).