haskell / haskell-ide-engine

The engine for haskell ide-integration. Not an IDE
BSD 3-Clause "New" or "Revised" License
2.38k stars 211 forks source link

Fix error message parsing to import types #1597

Closed fendor closed 4 years ago

fendor commented 4 years ago

Fix error message parsing to enable HsImport plugin to import Types. Moreover, fix generation of Code Actions to avoid cases where the same Code Action was displayed multiple times.

Overall tests for HsImport actions are lacking. This problem flew under the radar since I initially wrote the feature of import-lists.