Skip to content

Support VS Code's foldable #region by adding folding.markers to language-configuration.json #1394

Description

@sohang3112

Is your feature request related to a problem? Please describe.

In other languages like Python, putting #region and #endregion blocks in code results in VS Code's native foldable regions - that is, the code enclosed in the region can be collapsed (folded / hidden).

Describe the solution you'd like

Add folding.markers to langauge-configuration.json, as shown in VS Code docs: https://code.visualstudio.com/api/language-extensions/language-configuration-guide#folding

Activity

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