Skip to content

Conversation

@gagik
Copy link
Contributor

@gagik gagik commented Nov 4, 2025

Now, we should definitely adopt erasable syntax but this is not very straightforward right now so this quick fix will do.
Actually I'll just make this use erasable syntax.

Now, we should definetely adopt erasable syntax but this is a bit too much refactoring right now so this quick fix will do.
@gagik gagik requested a review from a team as a code owner November 4, 2025 10:24
Copilot AI review requested due to automatic review settings November 4, 2025 10:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR disables the experimental strip types feature in Node.js to fix failing tests. The change adds the --no-experimental-strip-types flag to the test-webview script while also adding new MongoDB syntax highlighting for similarity operators ($similarityCosine, $similarityDotProduct, $similarityEuclidean) and the $scoreFusion operator.

  • Disables experimental strip types feature for webview tests
  • Adds syntax highlighting support for MongoDB similarity operators
  • Adds syntax highlighting support for MongoDB $scoreFusion operator

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Adds --no-experimental-strip-types flag to test-webview script to disable the experimental feature
syntaxes/mongodbInjection.tmLanguage.json Adds TextMate grammar rules for MongoDB similarity operators and score fusion operator

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

}
},
{
"name": "meta.object.member.mongodb",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

seems like some auto-generated that was missed from previous PRs

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