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

[SQL] move heuristics for SQL inside Python and PHP strings to common syntax #4134

Closed
wants to merge 1 commit into from

Conversation

keith-hall
Copy link
Collaborator

just a random idea I had when thinking about having SQL highlighting inside C# strings, so I thought I'd open a PR to get opinions...

@deathaxe
Copy link
Collaborator

deathaxe commented Jan 9, 2025

TBH, that doesn't feel right. What if there were 2 or 3 such constructs. We would barely inherit from them at the same time. Currently, if SQL is disabled/missing, only SQL strings keep plain. With this change whole syntax is driven nonworking. IMHO, that's not worth it.

@keith-hall
Copy link
Collaborator Author

good point, I hadn't considered behavior while a package is disabled. Thanks, closing :)

@keith-hall keith-hall closed this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants