ionide-vscode-mechanic icon indicating copy to clipboard operation
ionide-vscode-mechanic copied to clipboard

What should be done if an .fs file doesn't belong to a project ?

Open MangelMaxime opened this issue 6 years ago • 3 comments

This issue make reference to https://github.com/ionide/ionide-vscode-mechanic/pull/16#issuecomment-372942035

MangelMaxime avatar Mar 14 '18 10:03 MangelMaxime

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.

MangelMaxime avatar Mar 15 '18 08:03 MangelMaxime

//cc @jindraivanek

forki avatar Mar 15 '18 08:03 forki

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).

jindraivanek avatar Mar 15 '18 09:03 jindraivanek