Skip to content

fix(web console): handling comments in SQL editor highlights#336

Merged
bluestreak01 merged 7 commits intomainfrom
web-console/comment-fixes
Oct 7, 2024
Merged

fix(web console): handling comments in SQL editor highlights#336
bluestreak01 merged 7 commits intomainfrom
web-console/comment-fixes

Conversation

@insmac
Copy link
Copy Markdown
Contributor

@insmac insmac commented Oct 3, 2024

This PR fixes the issues with query highlighting where line comments are in place - most importantly before the statement, like so:
Screenshot 2024-10-03 at 17 27 26

This should work when the comment contains the actual text after the -- mark, as well as it's empty (-- only).

@insmac insmac marked this pull request as ready for review October 3, 2024 15:38
@bluestreak01 bluestreak01 changed the title fix(Web console): handling comments in SQL editor highlights fix(web console): handling comments in SQL editor highlights Oct 7, 2024
@bluestreak01 bluestreak01 merged commit 559ef5e into main Oct 7, 2024
@bluestreak01 bluestreak01 deleted the web-console/comment-fixes branch October 7, 2024 16:26
Vaibhav91one pushed a commit to Vaibhav91one/ui that referenced this pull request Oct 28, 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