Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 01:46

    baronfel on master

    add codepage flags to FSI invoc… (compare)

  • 01:46
    baronfel closed #1521
  • 01:46
    baronfel closed #1498
  • Apr 12 21:59
    baronfel opened #1521
  • Apr 12 17:22
    MangelMaxime commented #1512
  • Apr 12 13:15
    DigiOhhh closed #1519
  • Apr 12 13:15
    DigiOhhh commented #1519
  • Apr 12 12:39
    nhirschey commented #1498
  • Apr 12 12:38
    nhirschey commented #1519
  • Apr 12 12:37
    nhirschey commented #1520
  • Apr 12 12:00
    baronfel commented #1520
  • Apr 12 11:28
    DigiOhhh commented #1519
  • Apr 12 10:06
    open-collective-bot[bot] labeled #1520
  • Apr 12 10:06
    open-collective-bot[bot] commented #1520
  • Apr 12 10:06
    nhirschey opened #1520
  • Apr 12 09:22
    nhirschey commented #1519
  • Apr 11 10:58
    DigiOhhh edited #1519
  • Apr 11 10:06
    open-collective-bot[bot] commented #1519
  • Apr 11 10:05
    DigiOhhh opened #1519
  • Mar 26 05:15
    babysnakes commented #1518
Yuriy Habarov
@cotyar
Cannot execute lint
and so on
in [Extension Host] [IONIDE-FSAC]: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:272
Happening on two machines, one with latest .netcore, one without.
Intellisense stops working completely
Is anyone else facing this please?
Looks like caused by the latest update of the plugin
Yuriy Habarov
@cotyar
Please ignore issues above.
Found an error in the build sequence
Ataias Pereira Reis
@ataias
Hi, people! I create a SAFE template (https://safe-stack.github.io/docs/quickstart/) and I am able to run the project with fake build --target run. However, when I open the file Client.fs with Visual Studio Code (even with Visual Studio Community for Mac as well), there are several The namespace or module is node defined. I am MacOS HighSierra. Does anyone know a solution for that?
Ataias Pereira Reis
@ataias
It seems like I had two plugins enabled by mistake: ionide and also the F# language server. After uninstalling the F# language server, things started to work without having to add extra modules.
Fergus Meiklejohn
@fergusmeiklejohn
@ataias I'm having the same issue. I don't have F# Language Server installed though. Symptom is that Ionide claims that "The namespace or module 'Elmish' is not defined." and so on for Fable, Fulma etc. Red error lines. But it builds and runs as normal.
If (eg) I comment out open Elmish it won't compile and obviously if I delete the comment it builds again as expected. So Ionide is not seeing the packages..
And VS Mac is giving me the same Error: the namespace or module 'Elmish' is not defined
Fergus Meiklejohn
@fergusmeiklejohn
These errors are on an unaltered dotnet Fulma template project, which has built successfully and is running as expected in the browser. Weird..
Fergus Meiklejohn
@fergusmeiklejohn
Ignore the above.. This problem went away when I made changes to the view function. Don't understand why but nothing to see here now..
devota7
@devota7
hey guys I need help. I can't get fsi: start to work in Visual Studio Code
'#' is not recognized as an internal or external command,
Steve Poling
@StevePoling
i am just starting & trying to set up vscode/ionide and work through some of the online tutorials. I keep getting "Project parsing failed" and when I look at my project status it says, Status: failed to load and Error: Project not restored. This isn't exactly pointing me toward anything actionable. In fact it seems like it's saying "it's broken" three times without saying why. I'll wager i've done something so obviously wrong that "why" goes without saying.
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 ?