-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How is IntelliSense supposed to work in FAKE v5? #1590
Comments
Yep this is what we will have eventually, it is just not done jet :) |
I guess I overlooked this comment in the docs: Then I have a couple of questions:
|
Totally, good idea
Obviously as I don't know how else it could work? |
Should I make a PR for the rename?
FAKE could offer an But I hate to bring this up. I like my tools having a single purpose, without tons of layers of redirection, so that nobody knows what the f**k is going to happen when you type a seemingly simple command into the terminal. Looking at |
Sure :)
I know that's why I haven't decided anything yet. I did not come up with any convincing idea. Deep and loose paket integration have both pros and cons. For some technical reasons a deep (via paket.core api) integration was a lot simpler to start with. Sorry, I don't have a better answer for now. |
PR at #1594. |
Hi, I have a question, which i think is connected with this. The start of my Fake file is this: (* -- Fake Dependencies paket-inline
source https://nuget.org/api/v2
nuget Fake.Core.Targets prerelease
nuget Fake.Core.Tasks prerelease
nuget Fake.Core.Tracing prerelease
nuget Fake.Core.Globbing
nuget Fake.IO.FileSystem
nuget Fake.DotNet.MsBuild
nuget Fake.DotNet.NuGet
nuget Fake.DotNet.Testing.NUnit
nuget NUnit.ConsoleRunner
-- Fake Dependencies -- *)
#load "./.fake/build.fsx/intellisense.fsx"
//manually add references
#r @".\.fake\build.fsx\packages\Fake.Core.Targets\lib\netstandard1.6\Fake.Core.Targets.dll"
#r @".\.fake\build.fsx\packages\Fake.Core.Tracing\lib\netstandard1.6\Fake.Core.Tracing.dll"
#r @".\.fake\build.fsx\packages\Fake.Core.Globbing\lib\netstandard1.6\Fake.Core.Globbing.dll"
#r @".\.fake\build.fsx\packages\Fake.IO.FileSystem\lib\netstandard1.6\Fake.IO.FileSystem.dll"
#r @".\.fake\build.fsx\packages\Fake.DotNet.MsBuild\lib\netstandard1.6\Fake.DotNet.MsBuild.dll"
#r @".\.fake\build.fsx\packages\Fake.DotNet.NuGet\lib\netstandard1.6\Fake.DotNet.NuGet.dll"
#r @".\.fake\build.fsx\packages\Fake.DotNet.Testing.NUnit\lib\netstandard1.6\Fake.DotNet.Testing.NUnit.dll" am i correct in thinking this is currently required, as |
|
that's what i thought would happen originally, but the contents of my // This file is needed for IDE support
printfn "loading dependencies ..." also, |
no fake run doesn't need it (at least it shouldn't) |
When I did #1594, I added a comment to the docs that this file currently does nothing. But somehow I can't find the page on the website right now. |
intellisense will contain the "#r" lines eventually. It's just work to do. And yes the file is basically only required for intellisense |
About the note. sorry I might have removed it because I'm positive that this will be fixed somehow before the actual release. I just haven't figured out the details or have found the time to just do it... So I don't want to accidentally release with the note |
@matthid It's still there, in |
@matthid definitely see compile errors when I fake run without it. I installed via chocolatey if that helps... |
Related ionide/ionide-vscode-fsharp#558 |
The script is now called |
Description
IntelliSense is not available in FAKE 5 scripts anymore.
Repro steps
Create a
build.fsx
file, pretty much as seen in the guides:Create a
paket.dependencies
file:Run
paket install
Run
fake run build.fsx
Open
build.fsx
with any editor that provides F# supportExpected behavior
loadDependencies.fsx
contains#r
s for all the assemblies FAKE is going to use, and that would enable IntelliSense in the editor.Actual behavior
loadDependencies.fsx
contains nothing butprintfn "loading dependencies... "
. My script never references any assemblies and the editor of my choice complains about stuff not being defined.Is this the world we're going to live in now?
Known workarounds
None.
Related information
The text was updated successfully, but these errors were encountered: