Closed rojepp closed 9 years ago
How did you get the error checking working on OSX/Linux? I can't remember if a VS project file is needed any more. I guess you checked against a .fs file?
Yes, I checked against an .fs file that had a project file.
@rneatherway Is it possible to provide completions, etc. for a .fsx file that does not belong to a .fsproject?
Yes, absolutely, it "just works". Send a request just as for a .fs and FSAC knows what to do with it (based on the filename extension).
Cool! Does that mean that for .fs files the plugin does not have to locate the corresponding .fsproject either?
No, I'm afraid you have to explicitly load the .fsproj still. In Emacs I do that automatically on opening a .fs file if there is an fsproj in the current or enclosing directory.
There are checks for
is_code_file
instead ofis_code
. And there are exceptions when trying to set current project in fsac when there is none.