vscode-ibmi icon indicating copy to clipboard operation
vscode-ibmi copied to clipboard

Show object information in object browser

Open szsascha opened this issue 3 years ago • 8 comments

Is your feature request related to a problem? Please describe. A similar feature as already described in #47 but for the object browser could be pretty useful.

Describe the solution you'd like I've already suggest a solution in #47. This could be also done for the object browser.

Describe alternatives you've considered The alternative would be to use an 5250 emulator besides VS Code

szsascha avatar Aug 11 '21 17:08 szsascha

@szsascha I would like to implement this, but I am unsure how I would display the info.

Any ideas?

worksofliam avatar Aug 11 '21 17:08 worksofliam

@worksofliam I would make the object entry expandable. The child entries are used to show the information.

szsascha avatar Aug 11 '21 17:08 szsascha

@szsascha

Do you know any examples of that happening on other apps?

worksofliam avatar Aug 11 '21 18:08 worksofliam

@worksofliam Not exactly. But the database browser works similar for showing the fields. Objects could be like this. Instead of showing field names, you show the attributes of the object.

szsascha avatar Aug 11 '21 18:08 szsascha

So there is a reason I'm against that design.

In the future, I'd actually like to make some objects openable and editable from the Object Browser.

For example, imaging clicking on a binding directory and have a JSON file open up (which is the binding directory contents).

worksofliam avatar Aug 14 '21 21:08 worksofliam

Sounds like a great idea!

But wouldn't it make more sense to open that kind of json file in an editor window where you can edit and save it?

Currently I do not see any point where this interferes with each other.

szsascha avatar Aug 14 '21 21:08 szsascha

@worksofliam Any updates on this?

szsascha avatar Sep 18 '21 15:09 szsascha

@szsascha I am back thinking about this again. I am not sure I like the idea of objects being expandable, but I am still exploring how we could show object information.

worksofliam avatar Oct 25 '21 00:10 worksofliam