Skip to content

Add drag and drop for contributed tree viewsΒ #32592

Description

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)

Activity

  1. cartermp commented on Aug 15, 2017

    @cartermp

    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.

  2. forki commented on Aug 15, 2017

    @forki

    Oh that would be an awesome feature!

  3. mastoj commented on Aug 15, 2017

    @mastoj

    πŸ’― * πŸ‘

  4. hakonrossebo commented on Aug 15, 2017

    @hakonrossebo

    +1

  5. DmitryBatalov commented on Aug 16, 2017

    @DmitryBatalov

    +1

  6. priort commented on Aug 16, 2017

    @priort

    That would be a really helpful feature.

  7. priort commented on Aug 16, 2017

    @priort

    +1

  8. magnushammar commented on Aug 16, 2017

    @magnushammar

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

  9. pirrmann commented on Aug 16, 2017

    @pirrmann

    +1

  10. Neftedollar commented on Aug 16, 2017

    @Neftedollar

    F# developers need this feature as an air.

  11. MangelMaxime commented on Aug 16, 2017

    @MangelMaxime

    πŸ’―

  12. 69 remaining items

  13. gplumb commented on Jan 14, 2022

    @gplumb
  14. gjsjohnmurray commented on Jan 14, 2022

    @gjsjohnmurray
    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 Kai Maetzel (@kieferrm) (not moved into the Deferred section though). But there's evidence of work on it by Alex Ross (@alexr00) recently, so I think it stands a chance of landing in 2022.

  15. alexr00 commented on Jan 14, 2022

    @alexr00
    Member

    John Murray (@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!

  16. added
    unreleasedPatch has not yet been released in VS Code Insiders
    insiders-releasedPatch has been released in VS Code Insiders
    and removed
    unreleasedPatch has not yet been released in VS Code Insiders
    on Mar 2, 2022
  17. locked and limited conversation to collaborators on Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions