Skip to content

Readme clarifications #238

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 9, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Language server client for haskell using the [HIE](https://github.com/haskell/ha
* Diagnostics via HLint and GHC warnings/errors
* Code actions and quick-fixes via [`apply-refact`](https://github.com/mpickering/apply-refact) (click the lightbulb)
* Type information and documentation (via hoogle) on hover
* Jump to definition (`F12` or `Go to Definition` in command palette)
* Jump to definition (`F12` or `Go to Definition` in command palette). Note that this only works for definitions within the current file.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this limitation is gone now in newer versions of ghcide (and hls)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it still does not work for non local package definitions (i.e. libraries)

* List all top level definitions
* Highlight references in document
* Completion
Expand Down Expand Up @@ -147,11 +147,11 @@ HIE is now started for each workspace folder you have in your multi-root workspa

## Investigating and reporting problems

1. Go to extensions and right click `Haskell Language Server` and choose `Configure Extensions Settings`
2. Scroll down to `Language Server Haskell › Trace: Server` and set it to `verbose`
1. Go to extensions and right click `Haskell Language Server` and choose `Extensions Settings`
2. Scroll down to `Language Server Haskell › Trace: Server` and set it to `messages`
3. Restart vscode and reproduce your problem
4. Go to the main menu and choose `View -> Output` (`Ctrl + Shift + U`)
5. On the new Output panel that opens on the right side in the drop down menu choose `Haskell HIE (cabal)`
5. On the new Output panel that opens on the right side in the drop down menu choose `Haskell HIE (<your project>)`

Now you will see the information which you can use to diagnose or report a problem

Expand Down