Skip to content

Populate the display_name field #148

@CatherineGasnier

Description

@CatherineGasnier

Hello!

On a small test, I noticed that scip-go is not populating the display_name field of SymbolInformation. I'm using version 0.1.22, but I haven't seen anything related in the changelog of 0.1.23. Here's an example of what it produces for a simple TestFoo1 function:

        &scip.SymbolInformation{
          Symbol:        "scip-go gomod . glean `glean/lang/go/tests/regression/lib1`/TestFoo1().",
          Documentation: []string{
            "```go\nfunc TestFoo1(t *T)\n```",
          },
          Relationships:          []*scip.Relationship(nil),
          Kind:                   0,
          DisplayName:            "",
          SignatureDocumentation: (*scip.Document)(nil),
          EnclosingSymbol:        "",
        },

I used a command like

GOPACKAGESDRIVER=/path/to/buck/driver --module-version=mymodule --no-animation -o /tmp/catg/scip-500d0c031c695a70/index.scip path/to/my/test/dir/...

Can you confirm this field is currently not populated by scip-go? Would it be easy to do so? Is it on anyone's radar?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions