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

Literals syntax highlight #1034

Merged
merged 2 commits into from
Oct 14, 2024
Merged

Literals syntax highlight #1034

merged 2 commits into from
Oct 14, 2024

Conversation

aaronvg
Copy link
Contributor

@aaronvg aaronvg commented Oct 14, 2024

Important

Add syntax highlighting for string literals and boolean constants in baml.tmLanguage.json.

  • Syntax Highlighting:
    • Add pattern for double-quoted strings with name: string.quoted.double in baml.tmLanguage.json.
    • Add pattern for boolean literals true and false with name: constant.language.boolean in baml.tmLanguage.json.

This description was created by Ellipsis for 3eb48be. It will automatically update as commits are pushed.

Copy link

vercel bot commented Oct 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
baml ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 7:21pm

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to c2df7e2 in 20 seconds

More details
  • Looked at 19 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_haZGLRuIASTRbbVp


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Incremental review on 3eb48be in 13 seconds

More details
  • Looked at 25 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. typescript/vscode-ext/packages/syntaxes/baml.tmLanguage.json:158
  • Draft comment:
    The string_literal pattern is correctly moved to a separate repository entry. Ensure that all references to string literals in the file use this new entry for consistency.
  • Reason this comment was not posted:
    Confidence changes required: 20%
    The PR description indicates the addition of syntax highlighting for string literals and boolean constants. The change involves moving the string literal pattern to a separate repository entry, which is a good practice for modularity. However, the pattern for boolean constants is already present, so no changes are needed there.

Workflow ID: wflow_56ddV18WoYDfokbX


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@aaronvg aaronvg enabled auto-merge October 14, 2024 19:19
@aaronvg aaronvg added this pull request to the merge queue Oct 14, 2024
Merged via the queue into canary with commit 387a792 Oct 14, 2024
10 checks passed
@aaronvg aaronvg deleted the literal-highlights branch October 14, 2024 19:22
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.

1 participant