vscode-database-client icon indicating copy to clipboard operation
vscode-database-client copied to clipboard

Support for nosql view

Open lit26 opened this issue 2 years ago • 6 comments

This extension is great for sql database. Can this extension add a view for nosql data (pretty formatting, ex: https://codemirror.net/)

lit26 avatar May 07 '22 08:05 lit26

What is the nosql data you are referring to? And I don't understand the connection between the view and the codemirror.

cweijan avatar May 07 '22 08:05 cweijan

I am using mongoDb. For some cells, maybe json format is more readable with line breaks (https://codemirror.net/mode/javascript/json-ld.html). Codemirros is just a package that will format the code for the frontend (implement suggestion).

lit26 avatar May 07 '22 08:05 lit26

Try click this button. image

cweijan avatar May 07 '22 08:05 cweijan

Yup, I mean the code in Open Edit Dialog and Open Copy Dialog in Preview. Currently, I think it is just one line.

lit26 avatar May 07 '22 09:05 lit26

Ok, I will consider using codemirror in the dialog in the future.

But I need to remind that this extension does not support mongodb very well, you should consider using the mongodb official extension. https://marketplace.visualstudio.com/items?itemName=mongodb.mongodb-vscode

cweijan avatar May 07 '22 09:05 cweijan

I know this extension and I didn't feel that is better. I personally like yours (UI part). Codemirror is just a suggestion and/or sample.

lit26 avatar May 07 '22 09:05 lit26

Already supported in version 6.3.1, columns can be edited within Codemirror by clicking the button next to them. image

cweijan avatar Mar 29 '23 07:03 cweijan