Skip to content

Support google-style docstrings for enhanced IntelliSense #1295

@morland96

Description

@morland96

I'm very enjoy the support of PEP484, and also the support of sphinx style.
But I'm using google's style of docstring which looks like this

def func(a,b):
    """
    Args:
        a (int): The first parameter.
        b (int): The second parameter.

    Returns:
        int : return a+b
    """
    return a+b

It seems like vscode can not read param's type from this docstring and give me correct suggestion just like in pycharm. And since vscode-python support sphinx style, it is possible to support google style. It would be very helpful since google style is more popular.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions