-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Context-sensitive IDE completions #3960
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
Changes from 42 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
5a94139
Add sourcepath to IDE setup
odersky b27cf86
Turn -scansource on for IDE
odersky cdbea55
Refactor ClassSymbol#tree
odersky 940ab24
Fix link and tasty tests
odersky dd8ad5c
Refactoring: Move stuff from DottyUnpickler to TreeProvider
odersky b615dc1
Disable more from tasty tests
odersky dedaeac
Allow symbols to be loaded from source in IDE
odersky c863922
Fix computation of moduleClass
odersky ef0473c
Re-enable FromTasty test
odersky 83ccf31
Disable more tasty tests
odersky a72b577
Disable one more from tasty test.
odersky de4f83f
Drop lateUnits
odersky cb86aa4
Disable yet another fromTasty cmd test
odersky b6b09cc
Make findReferences more robust and faster
odersky e407c29
Disable even more cmd tests
odersky 82d25a0
Cache identifier search in trees
odersky 5bc01c2
Delete unused method
odersky 1d5909e
Refine bringForward to work with overloaded symbols
odersky f00a9ec
Fix spelling of includeOverridden
odersky 78ee30d
Compute trees from sources in compilation unit used for entering symbols
odersky ed4db4a
Rewrite matchSymbol
odersky 3d6a126
Don't use matchSymbol in SourceTree
odersky 00e90a2
Don't force annotations on cleanup
odersky 6ea77cd
Redo scheme for typing late-loaded units
odersky 81a843d
Fix findReferences for modules
odersky 6129cc0
Bring matchSymbol in line with sourceSymbol
odersky 3a1d7fa
Polishings
odersky bde4dd7
Fix namedTrees traversal of Inline nodes
odersky d5bb17f
Make sure typer is a Typer
odersky 0232252
Add navigation to overridden symbols
odersky 4cfb00f
Refactor completions
odersky cdb202d
Only collect simple names when reading unpickler name tables
odersky 9f4dac2
Collect references as well as definitions for computing ids of a tree
odersky 7d86966
Maintain compilationUnits mapping
odersky 9747f6b
Centralize methods for local context creation
odersky 5d3b040
Redo completions
odersky 518e9fd
Improve completion
odersky d93a8eb
Consider implicit conversions for possible completions
odersky c56f126
Harden accessibleMembers
odersky cc1e969
Make "goto-definition" more useful.
odersky 6342078
Tighten matchSymbol again
odersky 0519aca
Tighten matchSymbol again
odersky 3e96c0f
Address review comments
odersky a2eb753
Fix syntax error and refine which names are cached.
odersky 4d0b9ed
Fix contextOfStats
odersky 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
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
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.
Should be noPrinter