Skip to content

snippet for def classmethod #5560

@Cologler

Description

@Cologler

https://github.com/Microsoft/vscode-python/blob/b741e1af6d53cdf94765a6708964d489bd558ff8/snippets/python.json#L146-L153

should be

"body": [ 
    "@classmethod",
    "def ${1:funcname}(cls, ${2:parameter_list}):", 
    "\t${3:pass}" 
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-editor-*User-facing catch-allarea-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions