-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Definition items #71959
Merged
Merged
Definition items #71959
Conversation
This file contains 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
dotnet-issue-labeler
bot
added
Area-IDE
untriaged
Issues and PRs which have not yet been triaged by a lead
labels
Feb 5, 2024
tmat
force-pushed
the
DefinitionItems
branch
7 times, most recently
from
February 8, 2024 04:45
542aadd
to
5e1f707
Compare
src/EditorFeatures/Core/ExternalAccess/VSTypeScript/Api/IVSTypeScriptFindUsagesContext.cs
Outdated
Show resolved
Hide resolved
src/Features/Core/Portable/FindUsages/DefinitionItem.DefaultDefinitionItem.cs
Show resolved
Hide resolved
src/VisualStudio/Core/Def/FindReferences/Contexts/WithoutReferencesFindUsagesContext.cs
Show resolved
Hide resolved
src/Workspaces/Core/Portable/Workspace/Solution/SolutionCompilationState.UnrootedSymbolSet.cs
Show resolved
Hide resolved
Close to signing off. Have a few questions i'd like info on. overall this seems totally ok :) |
tmat
force-pushed
the
DefinitionItems
branch
from
February 12, 2024 19:34
941d890
to
0b8ce59
Compare
tmat
commented
Feb 12, 2024
src/VisualStudio/Core/Def/FindReferences/Contexts/WithoutReferencesFindUsagesContext.cs
Outdated
Show resolved
Hide resolved
tmat
commented
Feb 12, 2024
src/VisualStudio/Core/Def/FindReferences/Entries/DocumentSpanEntry.cs
Outdated
Show resolved
Hide resolved
sharwell
previously requested changes
Feb 13, 2024
src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpGoToImplementation.cs
Show resolved
Hide resolved
333fred
approved these changes
Feb 13, 2024
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.
Compiler changes LGTM
tmat
force-pushed
the
DefinitionItems
branch
from
February 22, 2024 17:13
cc9506c
to
e12a641
Compare
sharwell
dismissed
their stale review
February 23, 2024 17:06
Behavior was updated to improve consistency with prior releases
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
[Recommended review strategy is commit by commit.]
First commit refactors
DefinitionItem
and related types.Second commit adds nullability annotations.
Third commit adds tests for existing behavior of classified DefinitionItem construction from a symbol.
Further commits replace
OriginationParts
withMetadataLocations
array, which contains displayable information for each metadata assembly the symbol occurs in.DefinitionItem
can now have both source spans and metadata locations. This allows us to better represent namespaces that span source and metadata.The change also improves display of metadata locations in Find Results (outputs of GTD, GTB, GTI and FAR).
Before
After
Source namespaces
Before:
FAR:
GTD:
After:
FAR:
GTD:
Navigation
Fixes navigation for
DefinitionItemEntry
items representing symbols whose location may not exist on disk.