Symbol doesn't contain full namespace name
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Reproduce the issue with the two namespace declarations in the C# example and inspect the generated index.scip output. Trace how the Roslyn-based indexer constructs class symbols, then verify that the output distinguishes TestA/TestB/SomeClass and TestC/TestB/SomeClass as separate full-namespace symbols.
Written by the indexing model from the issue text.
Description
The following cs code:
namespace TestA.TestB {
class SomeClass {
public int Level { get; set; }
}
}
namespace TestC.TestB {
class SomeClass {
public int Level { get; set; }
}
}
For the index.scip output, the symbol of class SomeClass is scip-dotnet nuget . . TestB/SomeClass#. It doesn't have
full namespace information. I think it should be scip-dotnet nuget . . TestA/TestB/SomeClass# and scip-dotnet nuget . . TestC/TestB/SomeClass#. Otherwise, it's hard to get the full namespace of a symbol and the symbol is not unique.
- Dominant language
- C#
- Stars
- 37
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sourcegraph/scip-dotnet
-
graph/scip-dotnet team/graph
Difficulty 5/5 Over a week Newbie friendliness 15/100
sourcegraph/scip-dotnet#118 · 2 comments ·
-
Add support for SLNXMay be free again A pull request for this issue was closed without being merged. Opengraph/scip-dotnet team/graph
Difficulty 5/5 Over a week Newbie friendliness 30/100
sourcegraph/scip-dotnet#93 · 2 comments · 1 reaction ·
-
Dependency DashboardOpengraph/scip-dotnet team/graph
Difficulty 4/5 3-5 days Newbie friendliness 20/100
sourcegraph/scip-dotnet#16 ·
All issues in sourcegraph/scip-dotnet
Similar issues
-
A numeric literal is parsed in the host's culture, so 1.5 is 15 in a made EXE on a comma-decimal OSOpenbug interpreter silently-wrong small
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
reactiveui/ReactiveUI.Binding.SourceGenerators#176 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
dotnet/csharpstandard#1830 ·
Maintainers usually reply within 1 day
-
c:docs p:high size:S t:docs
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day