Skip to content

Generate interface stubs adds structs parameter with package name #2364

Open
@arifmahmudrana

Description

@arifmahmudrana

What version of Go, VS Code & VS Code Go extension are you using?

Version Information
  • Run go version to get version of Go from the VS Code integrated terminal.
    • go1.16.5 linux/amd64
  • Run gopls -v version to get version of Gopls from the VS Code integrated terminal.
    • v0.9.1
  • Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders.
    • 1.69.2
  • Check your installed extensions to get the version of the VS Code Go extension
    • v0.35.1
  • Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > Go: Locate Configured Go Tools command.

Generate interface stubs

When generate interface stubs for interface in same file it adds the package name for parameter.
When generate interface stubs for interface in same file it shouldn't add the package name.

Screenshots or recordings

screencast_00000.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions