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

🐛 BUG: Comment shortcut generates // within a JSX expression #857

Closed
bholmesdev opened this issue Apr 22, 2024 · 1 comment
Closed

🐛 BUG: Comment shortcut generates // within a JSX expression #857

bholmesdev opened this issue Apr 22, 2024 · 1 comment
Labels
needs triage Issue needs to be triaged

Comments

@bholmesdev
Copy link

bholmesdev commented Apr 22, 2024

Describe the Bug

When using the comment shortcut in VS Code (cmd + /), the editor generates a // within a JSX expression. We should generate a {/* */} block.

comment.mov

Steps to Reproduce

  1. Create a JSX expression in a .astro file
  2. Use the comment shortcut cmd + /
@Princesseuh
Copy link
Member

Princesseuh commented Apr 22, 2024

Duplicate of #713

@Princesseuh Princesseuh marked this as a duplicate of #713 Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants