forked from golang/tools
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The location passed in is when calling Definition in the Rect of hello.gop, but cannot jump to Rect.gox.
// hello.gop
rect := &Rect{}
println rect// Rect.gox
var (
Width, Height int
)
func Area() int {
return Width * Height
}Jump position considered.
- If there is a var, jump to the location of classfile's var.
- If there is no var, but there is a corresponding function, jump to the location of the first function.
- Var and function do not exist, jump to the beginning of the file
Metadata
Metadata
Assignees
Labels
No labels