intellisense selection of key with period should automatically add surrounding quotes

Craig shared this idea 4 years ago
In Progress

When using intellisense to select a field (for, say, a find query), if that field contains a '.', meaning that you are querying a field in a subdocument, automatically surround the field with quotes.

If I select createdAt.date from the intellisense pulldown options, it should detect the '.' and immediately insert

'createdAt.date'

Craig

Leave a Comment
 
Attach a file