Skip to content

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

@ThoughtPhotography

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 }

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