Skip to content
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

Call hierarchy support #1955

Merged
merged 33 commits into from
Jul 27, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
67ce370
Initialize structure
July541 Jun 3, 2021
4b9a6e7
Add basic tests
July541 Jun 3, 2021
f8cfe98
prepareCallHierarchy
July541 Jun 9, 2021
118acd7
Add prepare call hierarchy tests
July541 Jun 12, 2021
38b5b47
resolve conflicts
July541 Jun 21, 2021
7a8979d
Prepare call hierarchy support
July541 Jun 21, 2021
0058639
Merge branch 'master' of https://github.com/haskell/haskell-language-…
July541 Jul 6, 2021
3c809f0
add outgoing calls
July541 Jul 6, 2021
2b84f2d
Rename incoming to outgoing
July541 Jul 7, 2021
7a41397
Add incoming calls support
July541 Jul 11, 2021
0018dd0
Fix panic error caused by parameters
July541 Jul 12, 2021
04679f1
Prepare callhierarchy tests
July541 Jul 13, 2021
59e2432
Duplication items support
July541 Jul 15, 2021
ad133b7
Format and add missing components for review
July541 Jul 15, 2021
db5bb4d
Use local lsp
July541 Jul 15, 2021
ec420ad
Add CI test
July541 Jul 15, 2021
eec1c98
Fix typo
July541 Jul 15, 2021
047174f
Add flag for 9.0.1
July541 Jul 15, 2021
25927ef
Change lsp repo
July541 Jul 16, 2021
a529246
Fix query error in data declaration
July541 Jul 21, 2021
dcf8aab
Add incoming/outgoing call tests
July541 Jul 21, 2021
68bc9e9
Merge branch 'master' of https://github.com/haskell/haskell-language-…
July541 Jul 21, 2021
649a70f
Add flag for test ghc 9.0.1
July541 Jul 21, 2021
6ca0629
Ignore test on 9.0.1
July541 Jul 21, 2021
b6ead8f
Add 9.0.1 test
July541 Jul 22, 2021
fd11a10
Specifying lsp for cabal
July541 Jul 22, 2021
61d9df9
Merge branch 'master' of https://github.com/haskell/haskell-language-…
July541 Jul 26, 2021
c2bd211
Refresh hiedb before incoming/outgoing calls
July541 Jul 26, 2021
a7fee5f
Add moduleUnit on ghc 9.0.1
July541 Jul 26, 2021
09a8898
Compatible with ghc 9.0.1
July541 Jul 27, 2021
0405d2f
Add missing qualifier
July541 Jul 27, 2021
492c48f
Remove ghcide capability test
July541 Jul 27, 2021
cbbd56e
Merge branch 'master' into call-hierarchy
July541 Jul 27, 2021
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,6 @@ jobs:
name: Test hls-refine-imports-plugin test suite
run: cabal test hls-refine-imports-plugin --test-options="-j1 --rerun-update" || cabal test hls-refine-imports-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-refine-imports-plugin --test-options="-j1 --rerun"

- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc }}
July541 marked this conversation as resolved.
Show resolved Hide resolved
name: Test hls-call-hierarchy-plugin test suite
run: cabal test hls-call-hierarchy-plugin --test-options="-j1 --rerun-update" || cabal test hls-call-hierarchy-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-call-hierarchy-plugin --test-options="-j1 --rerun"
3 changes: 2 additions & 1 deletion cabal-ghc901.project
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ packages:
./plugins/hls-pragmas-plugin
./plugins/hls-module-name-plugin
-- ./plugins/hls-ormolu-plugin
./plugins/hls-call-hierarchy-plugin
tests: true

package *
Expand Down Expand Up @@ -87,7 +88,7 @@ index-state: 2021-07-14T20:31:09Z

constraints:
-- These plugins doesn't work on GHC9 yet
haskell-language-server -callHierarchy -brittany -class -fourmolu -ormolu -splice -stylishhaskell -tactic -refineImports
haskell-language-server -brittany -class -fourmolu -ormolu -splice -stylishhaskell -tactic -refineImports


allow-newer:
Expand Down
18 changes: 0 additions & 18 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,3 @@ allow-newer:
svg-builder:base,
these:base,
time-compat:base

source-repository-package
type: git
location: https://github.com/July541/lsp.git
tag: ef59c28b41ed4c5775f0ab0c1e985839359cec96
subdir: lsp-types

source-repository-package
type: git
location: https://github.com/July541/lsp.git
tag: ef59c28b41ed4c5775f0ab0c1e985839359cec96
subdir: lsp-test

source-repository-package
type: git
location: https://github.com/July541/lsp.git
tag: ef59c28b41ed4c5775f0ab0c1e985839359cec96
subdir: lsp
2 changes: 1 addition & 1 deletion stack-9.0.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages:
- ./hls-plugin-api
- ./hls-test-utils
# - ./shake-bench
# - ./plugins/hls-call-hierarchy-plugin
- ./plugins/hls-call-hierarchy-plugin
# - ./plugins/hls-class-plugin
- ./plugins/hls-haddock-comments-plugin
- ./plugins/hls-eval-plugin
Expand Down