Skip to content

VS Code - code folding #1773

@Brocco

Description

@Brocco

Existing behavior:

non-go version
In VS Code when editor.folding is true *.ts files will allow folding at the function level.

ts-go version:
In VS Code when editor.folding is true *.ts files does not allow folding at the function level. Folding can only be achieved at when the setting editor.foldingStrategy is set to indentation.

Expected behavior:
Code folding should behave the same with the ts-go version as with the existing version.

Versions
@typescript/native-preview@7.0.0-dev.20250930.1
VS Code - 1.104.2
Node - 22.18.0
OS - macOS Sequia 15.6.1

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