Skip to content

Can't jump to package imported by custom identifiers and can't jump to method / property of struct definition #561

Description

@bom-d-van

Can't jump with custom identifiers:

import bar "awesome.com/pkg/foo"

bar.VariableOne // Can't jump from here 

Or methods or properties of structs:

type Foo struct {
    Name string
}

func bar() {
    var foo Foo
    println(foo.Name) // Can't jump from here
}

I think these two are quite common problems, yet I can't find explanations of why they are not working.
Any helps or explanations would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions