VsCode on Fedora Linux 33, with fantomas installed using dotnet tool install -g fantomas-tool
Issue
Triggering Fantomas with Ctrl-Shift-P >Format document gives the following error
[fantomas-fmt] Command failed with exit code 127: ./fantomas "/home/cfosli/.vscode/extensions/paolodellepiane.fantomas-fmt-0.3.0/fantomas.tmp.fs"/bin/sh: ./fantomas: No such file or directory
[fantomas-fmt] format failed
Additional info
I can use fantomas fine from the commandline, but I don't have a fantomas executable in the project directory.
It is located in ~/.dotnet/tools/fantomas since I installed it as a global tool, as suggested in the extension README.
It is available in $PATH, so in the commandline I can simply fantomas <filename>
Environment
VsCode on Fedora Linux 33, with fantomas installed using
dotnet tool install -g fantomas-tool
Issue
Triggering Fantomas with
Ctrl-Shift-P >Format document
gives the following errorAdditional info
I can use fantomas fine from the commandline, but I don't have a fantomas executable in the project directory. It is located in
~/.dotnet/tools/fantomas
since I installed it as a global tool, as suggested in the extension README. It is available in$PATH
, so in the commandline I can simplyfantomas <filename>
Solution
See PR #21