Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories IDEs
Created by Guest
Created on Mar 5, 2021

Add syntax checking for JS and JSON

The editor does not sense and redline JSON syntax errors. To work around this, I switch the file association to “JavaScript” whenever I am seriously editing a pipeline. Then I switch the file association back to “MongoDB” just before testing/executing the pipeline. This is inconvenient. [Original request](https://developer.mongodb.com/community/forums/t/love-the-vs-code-extension-but/16783).
  • ADMIN RESPONSE
    Oct 18, 2025
    From v1.0.x on playgrounds are JS files so they will pickup any syntax and linting rules and use any tools that are configured for the project or from other extensions.