Skip to content

Support for {...} region brackets for collapsible code-blocks  #2

Description

@ThoughtPhotography

I've been using an extension to support collapsible code regions (similar to functions etc.) which I didn't know was possible in Pine Script, but it turns out { } works on Tradingview, but not in VSC/Cursor.

If this is something that the extension could support it would be a big help with organization (it also allows collapsing commented out functions, which otherwise stops working.)

//============================================
// Helper Functions {
//============================================
// lots of individual functions...
//  this whole area becomes collapsible }

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions