-
Type: Task
-
Resolution: Duplicate
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Embedded Shell, Playgrounds
-
None
-
3
-
Not Needed
-
Iteration Xantic Sargo
When a playground starts with `use ...`, the mongosh shell evaluator assumes that the entire playground is a single, long use statement, potentially including newlines in the database name.
This seems like an easy mistake for people to make who are used to working with the shell; we should warn them that what they want is use('db').
- duplicates
-
VSCODE-375 Add Diagnostics feature to the Language Server
- Closed
- is related to
-
MONGOSH-858 Treat use (... as a function call
- Closed
- links to