Menu

#1087 Add folding on square brackets

Committed
closed
5
2015-01-19
2014-11-27
No

JavaScript (and JSON) has array literals syntax using [ .. ]. Folding these can be convenient when they span several lines.

Attached patch implements this. It doesn't add any new setting and works like { and }. This probably should not change much for languages that only use square brackets for array indexation as the large majority of the time the open and close brackets are placed on the same line in these cases.

1 Attachments

Discussion

  • Neil Hodgson

    Neil Hodgson - 2014-12-05

    Committed as [4ccd80].

     

    Related

    Commit: [4ccd80]

  • Neil Hodgson

    Neil Hodgson - 2014-12-05
    • status: open --> accepted
    • assigned_to: Neil Hodgson
    • Group: Completed --> Committed
     
  • Neil Hodgson

    Neil Hodgson - 2015-01-19
    • status: accepted --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.