I'm aiming to make the F# editing experience smoother with Visual Studio as a reference.
In particular, F# requires files to be in dependency order in the fsproj.
See also #268
Current Behavior
Changing F# file order requires right clicking a project selecting open file.
Or, a user can switch to the normal file explorer to edit the fsproj file.
Alternatives
I see three main alternatives to solve this problem
add move up and move down commands to file items in the explorer
Add quick access to the fsproj file
add a button to project tree item that opens the file
changes project click behavior to open the project file instead of expand/collapse
After exploring, I decided that adding optional click behavior to project tree items was best.
It is a small change, it allows behavior similar to Visual Studio, the feature has already been requested (#179),
and it simplifies other project editing (which has become more common since the new csproj approach).
Behavior after PR
By default, the behavior will be unchanged.
The users can set a boolean configuration value that will change the behavior when project items are clicked.
Instead of expanding / collapsing, the project's underlying file will be opened.
Motivation
I'm aiming to make the F# editing experience smoother with Visual Studio as a reference. In particular, F# requires files to be in dependency order in the fsproj.
See also #268
Current Behavior
Changing F# file order requires right clicking a project selecting open file. Or, a user can switch to the normal file explorer to edit the fsproj file.
Alternatives
I see three main alternatives to solve this problem
After exploring, I decided that adding optional click behavior to project tree items was best. It is a small change, it allows behavior similar to Visual Studio, the feature has already been requested (#179), and it simplifies other project editing (which has become more common since the new csproj approach).
Behavior after PR
By default, the behavior will be unchanged. The users can set a boolean configuration value that will change the behavior when project items are clicked. Instead of expanding / collapsing, the project's underlying file will be opened.