-
Notifications
You must be signed in to change notification settings - Fork 29.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance custom tree views #27823
Comments
I can register a command for selection changes and menus, but I don't see a way to register a command for the "open" mouse gesture (usually double-click). That would make sense to have. |
One of my case is cloudant design database. It is a json that contains javascript string What is a plan if I want to make a tree of json and show js icon for a child that is javascript string? |
@atian25 Thanks for pointing it out. Will update it. |
Hello, I've tried to embed them inline with |
Is it possible to obtain the default vscode icons for the iconPath? I would prefer to be able to delegate the iconPath to the default icons instead of specifying one myself. Ah nvm I see it was mentioned here: #26948 (comment) |
Hi @sandy081 , I don't know if I'm missing something, but I didn't find a way to have direct access to the I mean, let's suppose I need to add/remove a level 0 node. Instead of simply As I said, I don't know if I'm missing something. But if I am, could you please point me in the right direction? Otherwise, I thing that you could expand the API to scenarios like this. Thanks for your help |
@alefragnani Yes, It is PULL instead of PUSH. It is designed to register a data provider where the core can ask for data (similar to other providers in API). Regarding triggering changes, you do not need to have the back up of |
@sandy081, I understand (and agree) the decision to use a PULL design, but I expected to have a bit more APIs to access/look for the data already provided. Still, I also understand that this API is in early stages, just recently published, and the current issue exists for the exact purpose to enhance it 😄 . I ended up adding a reference to my model inside the I would like suggest a few enhancements:
Thanks |
I would add a few more to that list:
I'm assuming that adding a Thanks for the consideration! |
Does the ' Ability to update the view label' concern tree items? I'm currently looking at a way to update the Tree-Item label without having to fire refresh (to preserve the state of the Tree-Item's children). For example, this issue in the vscode-cosmosdb would be easily solved if this functionality was provided. :-) |
Another high priority item is #40018 |
I also have a number of things I'd like to see in a tree. Here's a list of items I mentioned already in #28338.
would then show much nicer. All the individual values nicely aligned.
|
@mike-lischke
There is another issue I don't see referenced here that I believe is same or related #41686 |
Closing this item as mentioned items in the description are done. I would request to create a separate issue for each of your feature requests or bugs as it is becoming very difficult to track in a single item. Thanks for understanding. |
@sandy081 I don't consider it as appropriated action on this issue to simply close it and have everyone do their own issue filing. It's a pretty nice collection of FRs all revolving around the same element and the issue itself started out as a collection of ideas/wishes. Usually I also prefer to separate issues, as it's just better to solve each of them. But this issue is more about development of a core element that needs consolidation of the individual requests. Of course each FR then has to go into its own Github issue, but a central collection/discussion issue is pretty useful too. |
@mike-lischke The pain point here is that these feature requests are spread across multiple comments and its very hard to track them and to prioritise. You are right that this issue was created initially to capture improvements to be done to custom views. But they are scoped to those listed in the summary. This could get easily side tracked by multiple feature requests in multiple comments. They are so important that I do not want to miss them. Hence, I asked to create an issue per feature request. Hope it makes sense. |
Continuation from #26948
inline
group on a custom view item to show on hover -- like the search close x #28634The text was updated successfully, but these errors were encountered: