mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-11 08:45:35 +03:00
* Support for 9.10 This includes supports for all plugins, other than formatters and hlint. We need ghc-exactprint and retrie release before merging this. * Remove indexed-traversable allow-newer * Fix couple of warnings * Fix flags job for hls-graph * foldl' exposed from Prelude since base 4.20 * Fix flags job for hls-plugin-api * Fix ghcide hover test * Fix flags job for hls-eval-plugin * unzip since 4.19 * More pedantic fixes * Don't CPP in tests, fix another test * Switch to ghc-exactprint and witherable from hackage * Fix all warnings in hls-refactor-plugin * Remove more no longer necessary allow newers * Fix all warnings in hls-gadp-plugin and hls-qualify-imported-names-plugin * Remove allow-newer for boring * Bump to lsp 2.6, remove more allow-newers * outline tests * disable simple plugin on 9.10 * Remove allow-newer for ghc-trace-events * fix appendConstraint * stylish * Remove commutative-semigroups and monoid-subclasses from allow-newer * Remove free from allow-newer * Fix 'type wilcard actions' tests * Remove hie-bios from allow-newer * Fix suggestNewDefinition tests * Revert "Fix suggestNewDefinition tests" This reverts commit |
||
---|---|---|
.. | ||
src/Ide/Plugin | ||
test | ||
call-hierarchy-in-emacs.gif | ||
call-hierarchy-in-vscode.gif | ||
README.md |
Call hierarchy plugin for the Haskell Language Server
The call hierarchy plugin can review the code to determine where functions are called and how they relate to other functions.
This plugin is useful when debugging and refactoring code because it allows you to see how different parts of the code are related. And it is more conducive for users to quickly understand their macro architecture in the face of strange code.
Demo
Prerequisite
None. You can experience the whole feature without any setting.
Configuration
Enabled by default. You can disable it in your editor settings whenever you like.
{
"haskell.plugin.callHierarchy.globalOn": true
}
Change log
1.1.0.0
- Support ghc-9.4.
- Refactor code base and force four space indent.
1.0.3.0
Remove force update HieDb
logic in queries.
1.0.1.0
- Support call from a type signature.
- Support call from a function pattern.
- Incoming call now will go to typeclass instance instand of its definition.
1.0.0.1
- Support call hierarchy on type signatures.
1.0.0.0
- Released!
Known issues:
- Outgoing call have difficulty with going to typeclass instance due to
HieDb
lack of adequate info.
Acknowledgments
Supported by
- Google Summer of Code
- Warm and timely help from mentors @jneira and @pepeiborra