-
-
Notifications
You must be signed in to change notification settings - Fork 388
WIP Goto dependency definition #3704
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
Closed
Closed
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
4b4f8a7
Add gotoDefinition other file tests
nlander 3b64fbb
Use correct position mapping in getDefinition
nlander e23922f
Implement lookupMod function
nlander fdfffb7
Create .hls directory in lookupMod
nlander 838ce20
Add ShakeExtras arg to newHscEnvEq
nlander 429bd9a
Call indexHieFile in newHscEnvEq
nlander fd7f95e
Factor out loading ModIfaces
nlander 354bcb6
Index hidden module hie files
nlander 599c191
Handle loadHieFile error
nlander f872627
Log only on loadHieFile failure
nlander df0e93e
Use loadModIface in ExportsMap creation
nlander d2b3eec
Check if dependency HIE files already indexed
nlander 352f3c2
Check SourceFileOrigin in GetHieAst
nlander 50df9cf
Index .hls/dependencies files in lookupMod
nlander 5fa24f0
WIP only use GetHieAst on dependencies
nlander ac6a366
Add ReadOnly to FileOfInterestStatus
nlander 4e84b99
Prevent GetParsedModule call for dependencies
nlander b0af06f
Prevent GhcSession call on open dependency
nlander 33e03d2
Make hover work in dependency files
nlander e896d77
Remove gotoDefinition polymorphism
nlander 3c5aaf2
Always add dependency files of interest ReadOnly
nlander ef19f2c
Prevent GetModificationTime in dependency file
nlander 1027229
Check that hiedb source files exist
nlander 9866f19
Revert "Prevent GetModificationTime in dependency file"
nlander 556982b
Whitelist GetModificationTime for dependencies
nlander 13b1964
Unindex dependency srcs if .hls is missing
nlander deebf40
Revert "Check if dependency HIE files already indexed"
nlander 6ed5c19
Factor out common hie file load checks
nlander 48f7dce
Use moduleNameSlashes
nlander a1d88b8
Remove unecessary getModIface
nlander 93aecea
Generate RefMap from HieFile
nlander a807ae8
Avoid indexing redundant modules
nlander 095dadd
Use more System.FilePath functions
nlander af1141c
Correct completion token placement
nlander 54b253a
Add PluginFileType
nlander f4ba2b9
Revert "Prevent GhcSession call on open dependency"
nlander 9a4b009
Check package before indexing
nlander 94d3b07
Disable write and execute permissions for dependency sources
nlander a562811
Add gotoDefinition dependency test
nlander f0b7360
Add check for indexing message
nlander b7a097e
Make goto dependency test in ghcide
nlander 11518ce
Use async for dependency test
nlander 462f811
Revert "Add check for indexing message"
nlander 38e6cf5
Revert "Add gotoDefinition dependency test"
nlander 44cfd69
Calculate transitive dependencies
nlander 39ba758
Fix indexHiefile ready message
nlander 3e9d307
Index dependencies asynchronously
nlander 4cae640
Don't wait for dependency file unindexing
nlander 7f8038a
Move dependency indexing to its own module
nlander 68b06f2
Revert "Check that hiedb source files exist"
nlander File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be outside the
withHieDb
retry block