-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Playgrounds
-
None
-
Iteration Uglifruit, Iteration Vegetable
-
Not Needed
The error occurs while editing a playground file without any active MongoDB connection. The language server logs the following error:
Unable to find source-code formatter for language: log. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
[Error - 2:59:52 PM] Request textDocument/completion failed.
Message: Request textDocument/completion failed with message: The "path" argument must be of type string. Received type undefined
Code: -32603
Steps to reproduce:
- restart VS Code to clean things up
- Command palette, create mongodb playground (without connecting to any cluster first)
Where it says $match: {date on line 30 of the default template, change it to $match: {datee - Observe the bahavior.