dotnet / fsharp

The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
https://dotnet.microsoft.com/languages/fsharp
MIT License
3.83k stars 773 forks source link

F# files moved with by dragging #17218

Open vsfeedback opened 1 month ago

vsfeedback commented 1 month ago

This issue has been moved from a ticket on Developer Community.


Since the order that F# files appear in is important, they need to be reordered.

You can do that by editing the project file. You can also do it in Solution Explorer via right click Move Up/Down. This is not very discoverable and is relatively awkward as it moves files only one position at a time.

It would be very nice if we could just drag files to change the order.


Original Comments

Feedback Bot on 8/12/2021, 11:50 AM:

(private comment, text removed)

abelbraaksma commented 1 month ago

As an alternative, you can use the key combinations Alt+Up and Alt+Down. This will move the file through the adjacent other files. I find that it's usually the simplest/quickest way, but I agree it is not that "discoverable" either, as you put it.

You can use the mouse, though, but only if you move the file to a different folder. I agree that it would be a good addition if you could move it with just the mouse to any location.

PS: Ctrl + mouse does allow you to drop a copy of the file in any location.