Skip to content

Folding of function docstrings? #3133

Closed

Description

Environment data

  • VS Code version: 1.28.2
  • Extension version (available under the Extensions sidebar): 2018.9.2
  • OS and version: macOS Mojave 10.14.1

Actual behavior

No folding of entire function docstring is possible. Only folding indented elements in docstring such as input arguments, return value etc. is possible.

Notice which blocks are foldable in the following screenshot (i.e. where there is a "minus" icon).

image

Expected behavior

Was hoping to see complete folding of Docstring possible. Perhaps even either all docstring OR all docstring minus short description at the top.

Steps to reproduce:

Write any docstring in the same format as above.

Comment

It could be because I'm using an unsupported docstring format? I'm using the default format of the extension autoDocstring (docBlockr).

I know it should be possible: microsoft/vscode#37052

It also appears that it should work: #894

Activity

  1. DonJayamanne commented on Nov 2, 2018

    @DonJayamanne

    Duplicate of #1847

  2. locked as resolved and limited conversation to collaborators on Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions