ionide-vscode-mechanic
ionide-vscode-mechanic copied to clipboard
What should be done if an .fs file doesn't belong to a project ?
This issue make reference to https://github.com/ionide/ionide-vscode-mechanic/pull/16#issuecomment-372942035
I think we could propose to add the file to a project and then run Mechanic over the project.
We probably want to add this to Mechanic library ?
Or use fsharp.AddFileToProject
from Ionide.fsharp to test the workflow.
//cc @jindraivanek
I would say we show list of project like when you on non-.fs
file.
Not sure about propose to add file, but certainly separate command "add file and order" will be good.
My vision is that Mechanic will be able to do this via CLI arguments like (--add
add to bottom and order, --add-top
add to top and order).