Intero-goto-definition does not include libraries?

I am trying to use M-.to get to the definition of a function, but it seems to intero-goto-definitionwork only with the library that I am currently developing, and not with the ones that I import.

Here is my stack.yaml:

flags: {}
extra-package-dbs: []
packages:
- location: libs/not-gloss/not-gloss # the library I am trying to C-. into
- .
extra-deps:
- spatial-math-0.4.0.0
resolver: lts-9.0
+4
source share
1 answer

It would be great to have this, but it has not yet been implemented - https://github.com/commercialhaskell/intero/issues/231 . This will require considerable effort:

1) . , , . " ", , .

2) - , + . Haddock , , , . , , intero, . , , .

+2

Source: https://habr.com/ru/post/1683552/


All Articles