You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output of haskell-language-server --probe-tools or haskell-language-server-wrapper --probe-tools:
haskell-language-server version: 1.0.0.0 (GHC: 8.10.4) (PATH: /usr/bin/haskell-language-server-wrapper) (GIT hash: 4cd1cf934638881e52b3eba9f70157a4b799c0e9)
Tool versions found on the $PATH
cabal: Not found
stack: 2.5.1
ghc: Not found
Which OS do you use: ArchLinux
Which lsp-client do you use: Neovim (coc.nvim)
Describe your project (alternative: link to the project): project link
Contents of hie.yaml:
cradle:
stack:
Steps to reproduce
Using a minimal example
moduleSimulation () wheredataMyData=MyDataIntIntIntdoSomething::MyData->Int
doSomething (MyData x y z) = x + y + z
Put the cursor over MyData' on the line defining the MyDatatype and [trigger the action I have defined forcoc-rename](https://github.com/gfarrell/dotfiles/blob/master/neovim/init.vim#L207) in order to try renaming MyDatatoMyOtherData`.
Expected behaviour
A little dialogue should show allowing me to rename MyData and have that change reflected across the codebase.
Actual behaviour
A warning appears saying:
[coc.nvim]: Error on notification "rename": rename provider not found for current buffer, your language server don't [sic] support it.
I'm happy to help debug further, but I don't know if this is a Coc problem or an HLS problem, although rename does work in other languages (e.g. Typescript).
The text was updated successfully, but these errors were encountered:
Your environment
Output of
haskell-language-server --probe-tools
orhaskell-language-server-wrapper --probe-tools
:haskell-language-server version: 1.0.0.0 (GHC: 8.10.4) (PATH: /usr/bin/haskell-language-server-wrapper) (GIT hash: 4cd1cf934638881e52b3eba9f70157a4b799c0e9) Tool versions found on the $PATH cabal: Not found stack: 2.5.1 ghc: Not found
Which OS do you use: ArchLinux
Which lsp-client do you use: Neovim (coc.nvim)
Describe your project (alternative: link to the project): project link
Contents of
hie.yaml
:Steps to reproduce
Using a minimal example
Put the cursor over
MyData' on the line defining the
MyDatatype and [trigger the action I have defined for
coc-rename](https://github.com/gfarrell/dotfiles/blob/master/neovim/init.vim#L207) in order to try renaming
MyDatato
MyOtherData`.Expected behaviour
A little dialogue should show allowing me to rename
MyData
and have that change reflected across the codebase.Actual behaviour
A warning appears saying:
I'm happy to help debug further, but I don't know if this is a Coc problem or an HLS problem, although rename does work in other languages (e.g. Typescript).
The text was updated successfully, but these errors were encountered: