Skip to content

[FR] Auto-complete Fragments #45010

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

Closed
5 tasks done
wenfangdu opened this issue Jul 13, 2021 · 0 comments · Fixed by #45532
Closed
5 tasks done

[FR] Auto-complete Fragments #45010

wenfangdu opened this issue Jul 13, 2021 · 0 comments · Fixed by #45532
Labels
Experience Enhancement Noncontroversial enhancements Help Wanted You can do this Suggestion An idea for TypeScript
Milestone

Comments

@wenfangdu
Copy link

wenfangdu commented Jul 13, 2021

✅ Viability Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

Currently, unlike other tags, fragments can't be auto-completed, would be nice to have them supported.

📃 Motivating Example

Entering <> won't auto-complete </>:

2021-07-08 21_49_47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Experience Enhancement Noncontroversial enhancements Help Wanted You can do this Suggestion An idea for TypeScript
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants