nwolverson / purescript-language-server

MIT License
184 stars 41 forks source link

Fix all import warnings but leave e.g prelude open #108

Closed nwolverson closed 3 years ago

nwolverson commented 3 years ago

With multiple open imports, we have a suggestion to fix each of them. Fix all import warnings should leave one of these (ie Prelude) alone

andys8 commented 3 years ago

Would be neat.

Current workaround for this is a shell script with:

find src test -type f -name '*.purs' -exec sed -i 's/import Prelude (.*/import Prelude/' {} \;