2

I am having a problem sending F# scripts to F# Interactive using Ionide in Visual Studio Code.

I am using the "FSI: Send Selection" command using Alt+Enter. This works fine for smaller scripts, but with script length exceeds a certain limit (approx 1.5kb), it no longer sends to FSI. There is no error shown in FSI, nothing happens. Reducing the selection size below this limit restores original behaviour, until it exceeds it again.

I've not found any clues online, and would appreciate any hints for how to resolve/investigate this. I've uninstalled and reinstalled Ionide & Visual Studio Code, without any effect.

Here is an example script that works, but adding even one more character takes it over the limit:

printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "1234567890123456789012345678901234567890123456789012345678901234567890"
printfn "12345678901234567890"
Simon PA
  • 748
  • 13
  • 26
Joe
  • 21
  • 1
  • It works fine for me, even with much more than this. – asibahi Nov 03 '16 at 15:18
  • Thanks asibahi, I feared this would be so or the internet would be full of people complaining :-) Still, good to be sure, thanks for letting me know. Fingers crossed someone might have an idea what could cause my issue, as I am flummoxed. – Joe Nov 03 '16 at 19:05
  • 1
    This is also reported here https://github.com/ionide/ionide-vscode-fsharp/issues/199. But works fine for me. – Antti Leppänen Nov 04 '16 at 03:58
  • Thanks Antti, knowing I'm not the only one gives me some hope! – Joe Nov 04 '16 at 10:13

0 Answers0