sublime-fsharp-package
sublime-fsharp-package copied to clipboard
compile project from editor
@rneatherway @rojepp
How does this work on other editors? Do they run msbuild on behalf of the user? Fake? Both? Is there a standard approach?
There is not a standard approach. In Emacs, when an F# file is loaded it look for a project or solution file nearby or in an enclosing directory. Applying msbuild to this is offered as a default compilation command. On *nix this is just xbuild
. On Windows it looks for msbuild in the usual places: https://github.com/fsharp/emacs-fsharp-mode/blob/master/fsharp-mode-util.el
Vim works similarly. On Mon, 25 May 2015 at 15:30, Robin Neatherway [email protected] wrote:
There is not a standard approach. In Emacs, when an F# file is loaded it look for a project or solution file nearby or in an enclosing directory. Applying msbuild to this is offered as a default compilation command. On *nix this is just xbuild. On Windows it looks for msbuild in the usual places: https://github.com/fsharp/emacs-fsharp-mode/blob/master/fsharp-mode-util.el
— Reply to this email directly or view it on GitHub https://github.com/fsharp/sublime-fsharp-package/issues/21#issuecomment-105232532 .
@rneatherway I believe you mentioned somewhere else that fsac would provide the path to msbuild as well. Is this in already?
It's not in yet: https://github.com/fsharp/FsAutoComplete/issues/23
I just haven't had time. If anyone does, I will do the review and release. Otherwise hopefully I will get to it soon.