Skip to content
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

Add drag and drop for contributed tree views #32592

Closed
Krzysztof-Cieslak opened this issue Aug 15, 2017 · 45 comments · Fixed by #122239 or #123542
Closed

Add drag and drop for contributed tree views #32592

Krzysztof-Cieslak opened this issue Aug 15, 2017 · 45 comments · Fixed by #122239 or #123542
Assignees
Labels
api api-finalization feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders on-testplan tree-views Extension tree view issues
Milestone

Comments

@Krzysztof-Cieslak
Copy link
Contributor

We've been using new Tree View API to provide structured view of F# projects - in F# project files needs to be ordered according to compilation order so this additional view gives users better information about their project. We also include in the view list of project references, and assembly references so it's really similar to the Visual Studio solution explorer.

It looks like following:
image

As I've mentioned - ordering of files is really important for the F# projects, and we provide couple of helper commands to manage it (move file up/down etc). Those commands work more or less, but I don't think it's best UX.
I think it would be super nice if users had ability to use normal drag and drop to manipulate the order - just as they are able to manipulate files in normal file explorer (drag and drop files to move them to subfolder for example)

@vscodebot vscodebot bot added the workbench label Aug 15, 2017
@cartermp
Copy link

Just to add weight to this: file ordering is critically important for F# users. We're also exploring adding click and drag for CPS in Visual Studio, which would leave VSCode as the only F# editor that doesn't support click and drag for file ordering.

@forki
Copy link

forki commented Aug 15, 2017

Oh that would be an awesome feature!

@mastoj
Copy link

mastoj commented Aug 15, 2017

💯 * 👍

@hakonrossebo
Copy link

+1

1 similar comment
@DmitryBatalov
Copy link

+1

@priort
Copy link

priort commented Aug 16, 2017

That would be a really helpful feature.

@priort
Copy link

priort commented Aug 16, 2017

+1

@magnushammar
Copy link

This would be awesome. Some things are actually better done with a GUI and this is one.

@pirrmann
Copy link

+1

@Neftedollar
Copy link

F# developers need this feature as an air.

@MangelMaxime
Copy link

💯

@sandy081 sandy081 added tree-views Extension tree view issues feature-request Request for new features or functionality labels Aug 21, 2017
@sandy081 sandy081 added this to the Backlog milestone Aug 21, 2017
@schaveyt
Copy link

+1

@bpasero bpasero removed the workbench label Nov 16, 2017
@weinand weinand changed the title [Feature Request] Add drag and drop for contributed tree views Add drag and drop for contributed tree views Nov 29, 2017
@DanTup
Copy link
Contributor

DanTup commented Mar 5, 2018

I'd like to see this too for a UI tree we're building. Some things it'd be nice for the API to support:

  • Declaring if a node is draggable or not
  • Ability to drop on top of or in between items (re-order versus changing parent)
  • Ability to provide feedback while dragging about whether a given location is valid to drop on

@FrederickBrier
Copy link

Someone wrote that we need to wait for the vscode team to implement the feature. Does that mean that we should not fork the repo and try to implement it? Because that that is not their process and a pull request would be rejected? Thank you.

@zhaoyi0113
Copy link

any update about this requirement?

@sandy081
Copy link
Member

No plans yet.

@alexr00 alexr00 added this to the November 2021 milestone Oct 26, 2021
@nickzhums
Copy link
Member

nickzhums commented Nov 8, 2021

To provide some additional info from VS Code Java team. We've been hearing feedback that developers want this kind of drag and drop feedback from our past survey and customer development.

In addition, some of the community videos have mentioned about this feature request as well (https://www.youtube.com/watch?v=uq4GjRF_860&ab_channel=JavaBrains) - 33:20 (Video itself has 78K views)

Would be great if we can support drag and drop in tree view soon and make this higher priority - thanks!

alexr00 added a commit that referenced this issue Nov 16, 2021
alexr00 added a commit that referenced this issue Nov 16, 2021
alexr00 added a commit that referenced this issue Nov 17, 2021
alexr00 added a commit that referenced this issue Nov 17, 2021
alexr00 added a commit that referenced this issue Nov 17, 2021
jrieken added a commit that referenced this issue Nov 23, 2021
@alexr00 alexr00 modified the milestones: November 2021, December 2021 Nov 24, 2021
guibber pushed a commit to guibber/vscode that referenced this issue Nov 30, 2021
@nickzhums
Copy link
Member

nickzhums commented Jan 14, 2022

Hello folks, just wondering what the current plan for this feature is ? We have customer feedback that they find this missing in the Java Project Explorer and think it is inconvenient - thanks!

@gplumb
Copy link

gplumb commented Jan 14, 2022 via email

@gjsjohnmurray
Copy link
Contributor

Would be good to know if this made the cut from last year's roadmap or not :-)

It was on the current iteration plan (#139607) until 10 days ago, then removed by @kieferrm (not moved into the Deferred section though). But there's evidence of work on it by @alexr00 recently, so I think it stands a chance of landing in 2022.

@alexr00
Copy link
Member

alexr00 commented Jan 14, 2022

@gjsjohnmurray is correct, it does stand a chance of landing in 2022. We're just going through our API process and refining it now.

Folks who are interested in it can try out the current API proposal and provide feedback in this issue if you want to help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api api-finalization feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders on-testplan tree-views Extension tree view issues
Projects
None yet