tools icon indicating copy to clipboard operation
tools copied to clipboard

[mirror] Go Tools

Results 106 tools issues
Sort by recently updated
recently updated
newest added

@findleyr agreed that this would be useful change, minor patch to the hover function that includes the struct tag in the signature. See image below that demonstrates how this looks...

`gopls check` operates on multiple files, so I made the help text reflect that fact.

This PR adds a code action to extract an interface from a concrete type on a struct field or function parameter. Fixes https://github.com/golang/go/issues/65721

AddModuleStmt will add/update the path to dstMod and ignore the srcMod.

This change exposes the LRU cache for use in other modules, such as internal/imports, which may use it in the future to support caching across repeated invocations. Contributes to https://github.com/golang/go/issues/66802

The change also includes a jump to definition feature for all methods.The change is quite fail-safe, such that if it fails in any way, it will still display the hover...

Fixes completion behavior when the source is incomplete or contains syntax errors. Fixes golang/go#65529

This code action moves selected code sections to a newly created file within the same package. The created filename is chosen as the first {function, type, const, var} name encountered....

The previous implementation use common edits to support both scenarios where a assignment/declaration exist and did not exist. This cause a additional text edit with lhs values in the new...

return an end code when an unreachable code is detected. For: golang/go#66027