Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 24 20:53
    colelawrence commented #1496
  • Feb 22 12:29
    Krzysztof-Cieslak closed #1501
  • Feb 22 12:29
    Krzysztof-Cieslak labeled #1501
  • Feb 22 12:29
    Krzysztof-Cieslak labeled #1502
  • Feb 22 12:29
    Krzysztof-Cieslak labeled #1500
  • Feb 22 12:29
    Krzysztof-Cieslak labeled #1500
  • Feb 22 12:28
    Krzysztof-Cieslak labeled #1502
  • Feb 21 14:37
    nhirschey edited #1503
  • Feb 21 14:36
    nhirschey closed #1503
  • Feb 21 14:36
    open-collective-bot[bot] commented #1503
  • Feb 21 14:36
    nhirschey opened #1503
  • Feb 21 11:46
    nhirschey commented #1500
  • Feb 21 11:41
    open-collective-bot[bot] commented #1502
  • Feb 21 11:41
    nhirschey opened #1502
  • Feb 20 21:51
    baronfel commented #1500
  • Feb 20 21:44
    cartermp commented #1500
  • Feb 20 21:12
    baronfel commented #1501
  • Feb 20 21:02
    open-collective-bot[bot] commented #1501
  • Feb 20 21:02
    xloggr opened #1501
  • Feb 20 15:40
    open-collective-bot[bot] unlabeled #1500
Steve Poling
@StevePoling
apologies if there's a faq covering this. please point me to it.
carbon-twelve
@carbon-twelve

Hi there, I just found this in the "Requirements" section of the home page:

MsBuild 2015 (Windows only, optional) - [...] However, we highly recommend using new, SDK-based project files.

IIRC, project.json is on the way to the retirement. Is this still a thing?

Julien Roncaglia
@vbfox
project.json is dead :)
@carbon-twelve The new project system reverted to msbuild but the projects are a little different "SDK-based", the fsproj starts like this: <Project Sdk="Microsoft.NET.Sdk"> and they are easier to handle for tools like ionide.
MSbuild 2015 (or later) is needed to build old style project but I would advise against they aren't well supported and won't be fixed because everyone is transitioning from it
carbon-twelve
@carbon-twelve
@vbfox Oh, I see! I confused project.json with the new style of fsproj. Thanks a lot!
zetashift
@zetashift
Heya people picking up F# again, using VSCode but indention doesn't work is this on purpose?
Leo Cavalcante
@leocavalcante

Hey folks, Ionide isn't recognizing CsvFile at FSharp.Data.
I have a paket.dependencies with:

source https://www.nuget.org/api/v2

nuget FSharp.Data

And a paket.references with:

FSharp.Data

Already ran paket install
I'm able to see a newly created packages folder with FSharp.Data folder and its contents.

But inside VSCode, my file:

open FSharp.Data

[<EntryPoint>]
let main args =
  let data = CsvFile.Load("data.csv")

  printfn "%A" "hello world"
  0

I get:
The value, namespace, type or module 'CsvFile' is not defined.

What I'm missing?

Thanks!

Leo Cavalcante
@leocavalcante
It was missing a .fsproj read more about it, it is how text editors, like VSCode+Ionide can know what is going on
tobia
@tobia
Hello. Does anybody know why I get Intellisense summaries for my own modules https://ibb.co/iM4nCU but not for system ones https://ibb.co/hBdse9 ? I'm using VSCode + NetCore on Ubuntu. Do I need to install some additional package?
tobia
@tobia
@zetashift what do you mean indentation doesn't work? I'm experiencing a bug where Backspace on a blank line removes one space instead of one indentation level (I'm not sure if that's a VSCode or Ionide bug) but other than that, things are working for me
zetashift
@zetashift
@tobia it's a small thing if I define a type or function and press enter to type the body it doesn't auto-indent I have to press. I tried with emacs and that one does automatically place a tab on the next line. So I was wondering if it's just a default on Ionide or something.
Not really an issue just curious :P
Harold Salaila
@HSalaila
Hello! Is there something in F# like scala worksheets / quokka available? Preferably usable in VS Code
zetashift
@zetashift
@HSalaila closest thing I found, which works with VSCode is: https://docs.microsoft.com/en-us/dotnet/fsharp/tutorials/fsharp-interactive/
zetrious
@zetrious
Hey, I'm having a few issues with Iodine. When I write a simple program that makes any type of output such as "System.Console.WriteLine("Test")" nothing outputs at all.
Not even using "printfn" works.
zetrious
@zetrious
Compiling works just fine, no errors just doesn't pring.
print*
Dan Liebgold
@Danl2620
test
Dan Liebgold
@Danl2620
can someone suggest steps to diagnose “Cannot execute tooltip, File ‘<my-file>.fs' not parsed” … I don’t see the actual error
setting "FSharp.logLanguageServiceRequestsOutputWindowLevel": "DEBUG”, appears to offer the same information interspersed with the contents of the files… unless I’m missing something
Dan Liebgold
@Danl2620
(also the contents of the file make searching for errors kind of a needle-in-the-haystack thing)
Ok, narrowed it to : [11:25:36 DEBUG] RES (013) <- {symboluse} in 14 ms: Kind={"error”}
what does this mean?
If there is a more active forum for discussion let me know and I’ll stop spamming this place :sweat_smile:
Gulogomi
@Gulogomi
Hello everyone! I get the error "connect ECONNREFUSED 127.0.0.1:8239" when I try run the script. ALT+ENTER gives another error "Failed to spawn FSI, please ensure it's in PATH"
Fergus Meiklejohn
@fergusmeiklejohn

Using the latest Fable Minimal template.
Does anyone know what this Ionide message means:

Consider using the .Net Core language services by setting `FSharp.fsacRuntime` to `netcore`

Where do I set FSharp.fsacRuntime?

thanks

TEDDY
@Teddmab
Hi everyone, I'm uiet new on Ionid-f# and I'm getting the following error message every time I try to run the FSI
Failed to spawn FSI, please ensure it's in PATH
I'm using: - Ubuntu 16.04 - Visual Studio Code 1.28.2 - Ionide-sharp 3.28.0
does anyone have an idea what would be the issue ?
I've been using F# on VS Code since few months but this is the first time I'm getting this
I tried to reinistall ionide and relaunch VS code, but issue persits
(+ (* 1 2 3 4) 5 6 7)
@cowlike
@fergusmeiklejohn it's in settings/ extensions/fsharp configuration
Fergus Meiklejohn
@fergusmeiklejohn
Thanks!
s164158
@s164158
I have the same issue, as teddy, however I tried pointing to my FSI path C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\FSharp\fsi.exe\ but this doesnt work, any tips?
Onur Gumus
@OnurGumus
does debugging make use of launch.json ?
Prince Dzonga
@t3ndai
Hello folks, I'm using .netcore on MacOS but and I've set Iodide to use .netcore but can't get the REPL to work
Bob McCrory
@Bob-McCrory
@s164158 I did the same, but without the final '\', and it worked (sort of). I can run FSI, but I still don't have Intellisense
Matthew Moloney
@moloneymb
hi folks, it seems as if Ionide defaults to the 32bit FSI, I have example rojects that have 64bit native libraries and I'd like to enable end users to simply git clone, open in Ionide, then run script in FSI without having to first change their worspace settings to the full path of FSharpAnyCPU. Is there any way to do this currently?
Matthew Moloney
@moloneymb
Lee Paludan
@Paludan
Hey guys, I still have this issue here ionide/ionide-vscode-fsharp#949 and have had it for a week or so now. Anyone know how to get around it?*
Tom Pittman
@Tlingit

I am just starting out learning programming with F# via Gareth Hubball's Twitch videos. He's on a PC, I'm on a Mac, and when I installed VS Code and Ionide-fsharp, I got an error message about Mono. I figured out what that was and installed it, but now I still get the following message (and I can't figure out how to fix it): "Consider using the .Net Core language services by setting FSharp.fsacRuntime to netcore"

I've Googled and Binged and I'm still stuck, so any assistance would be appreciated. Cheers!

Tom Pittman
@Tlingit
@Tlingit I fixed it! Thanks to @cowlike; your last comment to @fergusmeiklejohn was what gave me the missing bit of information I needed to figure out my problem. :-)
Theia Vogel
@vgel
I just added the Ionide F# extension to VSCode and it's not recognizing a package I added with dotnet add package. The project builds fine, but Ionide is saying that the package FParsec (which is what I added) is not defined.
I'm very confused so was hoping someone who knew what they were doing could help :)
PinkyBrain
@PinkyBrain_gitlab
some projects in my solution show "Status: parsed correctly" but the tree is empty in the ionide tab, other projects are all there, any idea what causes this?
(+ (* 1 2 3 4) 5 6 7)
@cowlike
@vgel I found that happening a lot with my vscode (seems like it gets better or worse with different updates) but I started cleaning the build output with the following hammer, which usually cures it: rm -r `find . -type d \( -name "obj" -o -name "bin" \)`
From the project root where the sln file sits, of course