Skip to content

Show methods / members in quick documentation window #2039

Open
@dlsniper

Description

@dlsniper

The plugin quick documentation currently shows something like this:

snapshot143

which is partially useful because the user is still left with the task to figure out the methods / members of the type being displayed (if any).

The result in the screenshot is also of type interface, which is not visible in the quick documentation (this is part of the database/sql/sql.go, https://golang.org/pkg/database/sql/#Result )

// A Result summarizes an executed SQL command.
type Result interface {
    // LastInsertId returns the integer generated by the database
    // in response to a command. Typically this will be from an
    // "auto increment" column when inserting a new row. Not all
    // databases support this feature, and the syntax of such
    // statements varies.
    LastInsertId() (int64, error)

    // RowsAffected returns the number of rows affected by an
    // update, insert, or delete. Not every database or database
    // driver may support this.
    RowsAffected() (int64, error)
}

The members/methods should not display the documentation for those methods, just links to them to be followed is enough.

Also, if possible, it would be nice to have a way to open the definition of the type in the editor (useful if you navigate across several types).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions