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

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

Closed
bom-d-van opened this issue Oct 9, 2014 · 1 comment

Comments

@bom-d-van
Copy link

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.

@bom-d-van bom-d-van changed the title Can't jump to package imported by custom identifiers and can't jump to method / property of a struct defiintions Can't jump to package imported by custom identifiers and can't jump to method / property of struct definition Oct 9, 2014
@dlclark
Copy link

dlclark commented Dec 1, 2014

Margo (the backend) currently doesn't support jumping to a field of a struct (there's a TODO in the code).

I believe this is fixed with my changes in #571

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

No branches or pull requests

3 participants