javascript-jsx.tmbundle icon indicating copy to clipboard operation
javascript-jsx.tmbundle copied to clipboard

Feature request: Support folding in JSX scope

Open koenpunt opened this issue 8 years ago • 2 comments

Now when folding inside a JSX scope, the parent JS scope folds instead of the JSX tags.

Not sure if this is even possible with an injection grammar(?)

koenpunt avatar Aug 17 '16 11:08 koenpunt

Can you explain how this corresponds with #14?

jjeising avatar Aug 17 '16 12:08 jjeising

I opened the issue first, and then though I might be able to hook something up myself. But like I commented in #14, I think we're better of by also supporting non-default element, so that custom components can be folded as well.

koenpunt avatar Aug 17 '16 12:08 koenpunt