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

Implement usages search in textDocument/references #155

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

@mkaput mkaput requested a review from a team as a code owner January 9, 2025 15:38
@mkaput mkaput requested review from Draggu and integraledelebesgue and removed request for a team January 9, 2025 15:38
@mkaput mkaput changed the base branch from spr/main/d56ef1a8 to main January 10, 2025 13:45
@mkaput mkaput force-pushed the spr/main/9ffd3efa branch from 6a5e832 to bf43f80 Compare January 10, 2025 13:45
@mkaput mkaput mentioned this pull request Jan 10, 2025
@mkaput mkaput changed the base branch from main to spr/main/20a56b00 January 10, 2025 13:45
@mkaput mkaput force-pushed the spr/main/9ffd3efa branch 2 times, most recently from 993a68c to 62600dc Compare January 13, 2025 09:33
@mkaput mkaput linked an issue Jan 13, 2025 that may be closed by this pull request
@mkaput mkaput force-pushed the spr/main/9ffd3efa branch from 62600dc to be7ce55 Compare January 13, 2025 10:03
Base automatically changed from spr/main/20a56b00 to main January 13, 2025 10:12
@mkaput mkaput force-pushed the spr/main/9ffd3efa branch 2 times, most recently from 9cac7ac to c7d31ef Compare January 13, 2025 11:01
@mkaput mkaput added this pull request to the merge queue Jan 14, 2025
Merged via the queue into main with commit 180e36a Jan 14, 2025
11 of 15 checks passed
@mkaput mkaput deleted the spr/main/9ffd3efa branch January 14, 2025 11:18
tests/test_data/references/fns.txt Show resolved Hide resolved
tests/test_data/references/fns.txt Show resolved Hide resolved
@@ -142,9 +143,15 @@ impl SymbolDef {
SymbolDef::Module(it) => it.name(db),
}
}

/// Starts a find-usages search for this symbol.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't start anything though, it just creates a struct 🤔

src/lang/inspect/usages.rs Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Find all references to symbol
4 participants