le-yams / nbmongo

A NetBeans plugin for browsing MongoDB
Other
26 stars 6 forks source link

Display results as a text would be really helpful #52

Closed witoldsz closed 8 years ago

witoldsz commented 8 years ago

There are two display modes for a collection's data: tree and a flat table. It would be awesome to have third option to see a result set as a JSON text, like:

/* 0 */
{
  "_id": "123",
  "somethin": "else"
}

/* 1 */
{
  "_id: "456",
  "another": "..."
}

/* 2 */
{...etc...}

It would really help a lot!

le-yams commented 8 years ago

Hi witoldsz,

That's a nice feature to add, I'll work on this ;-).

Thanks again for all your feedback.

Best regards, Yann

witoldsz commented 8 years ago

Works like a charm :)

le-yams commented 8 years ago

Thank you for the feedback :). I think I'll add a quick search feature like in the document editor.

witoldsz commented 8 years ago

Hi, I have discovered but one bug with the editor used to display JSON results. It happens with large documents with arrays so big that they are longer than screen width. In such a case the editor's bottom is below parent's viewport, so the horizontal rule is invisible, the lower part of vertical one is also off the pane. I would take a picture, but right now I am using other PC. I can prepare a screenshot if you wish, do you?

le-yams commented 8 years ago

Hi, I can't reproduce this bug so yes a screenshot would be useful and if you also can pastebin the field text, it would be even better :)

le-yams commented 8 years ago

I'm closing this issue which was about adding the feature. @witoldsz don't hesitate to reopen a new issue for the bug you mentioned with as much details as possible. Thank you :)

Best regards, Yann