ionide / ionide-vscode-mechanic

Mechanic plugin for VS Code
https://github.com/fsprojects/Mechanic
MIT License
17 stars 4 forks source link

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

Open MangelMaxime opened 6 years ago

MangelMaxime commented 6 years ago

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

MangelMaxime commented 6 years ago

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.

forki commented 6 years ago

//cc @jindraivanek

jindraivanek commented 6 years ago

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