Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outlining spans for jsx elements #23273

Closed
mjbvz opened this issue Apr 9, 2018 · 0 comments
Closed

Outlining spans for jsx elements #23273

mjbvz opened this issue Apr 9, 2018 · 0 comments
Assignees
Labels
Domain: JSX/TSX Relates to the JSX parser and emitter Domain: Outlining Relates to multi-line regions that editors can collapse Fixed A PR has been merged for this issue Suggestion An idea for TypeScript

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Apr 9, 2018

From microsoft/vscode#47454

TypeScript Version: 2.9.0-dev.20180409

Search Terms:

  • getOutliningSpans
  • fold / folding
  • jsx

Code
For the jsx:

const a = <div
    about="bla"
    accessKey="bla"
    autoCorrect="bla"/> 

Current Behavior
No outlining spans returned

Request
Return outlining spans for multline jsx tags

Other cases:

const a = (
    <div>
        a
    </div>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Domain: JSX/TSX Relates to the JSX parser and emitter Domain: Outlining Relates to multi-line regions that editors can collapse Fixed A PR has been merged for this issue Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

4 participants