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

With multiple languages in a single file, comment type is static #10633

Closed
mersenne-twister opened this issue Apr 29, 2024 · 1 comment
Closed
Labels
C-enhancement Category: Improvements

Comments

@mersenne-twister
Copy link

When you have multiple languages in a single file, comment type doesn't change.

Example:

In an html file, ^C will make a block comment using <!-- and -->.
However, in a <Script> tag, the correct comment type is //, but ^C still results in an html comment.

Suggested Enhancement:

Make comments dependent on context.

@mersenne-twister mersenne-twister added the C-enhancement Category: Improvements label Apr 29, 2024
@the-mikedavis
Copy link
Member

Duplicate of #7364

@the-mikedavis the-mikedavis marked this as a duplicate of #7364 Apr 29, 2024
@the-mikedavis the-mikedavis closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants