by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 08 10:09
    open-collective-bot[bot] commented #1404
  • Aug 08 10:09
    OnurGumus opened #1404
  • Aug 08 04:25
    CherenkovLiu commented #372
  • Aug 05 15:39

    github-actions[bot] on 4.15.0

    (compare)

  • Aug 05 15:39

    github-actions[bot] on master

    Bump version to 4.15.0 (compare)

  • Aug 05 15:22

    baronfel on master

    checkout head on manual builds (compare)

  • Aug 04 21:55

    baronfel on master

    fix branch push (compare)

  • Aug 04 21:33

    baronfel on master

    ensure the git user is initiali… (compare)

  • Aug 04 20:59

    baronfel on master

    format email correctly and allo… (compare)

  • Aug 04 20:42

    baronfel on 4.15.0

    (compare)

  • Aug 04 20:38

    baronfel on master

    tweak release flow one more time (compare)

  • Aug 04 20:20

    baronfel on 4.15.0

    only do commits when tagging, a… (compare)

  • Aug 04 20:20

    baronfel on master

    only do commits when tagging, a… (compare)

  • Aug 04 20:02

    baronfel on master

    use npm to install globally ins… (compare)

  • Aug 04 20:02

    baronfel on 4.15.0

    use npm to install globally ins… (compare)

  • Aug 04 19:47

    baronfel on 4.15.0

    (compare)

  • Aug 04 19:47

    baronfel on master

    bump version and release notes (compare)

  • Aug 04 18:44

    Krzysztof-Cieslak on master

    Update F#.Formatting panel only… (compare)

  • Aug 04 18:31

    Krzysztof-Cieslak on master

    Update reelase GH action (compare)

  • Aug 04 18:23

    Krzysztof-Cieslak on master

    Don't create tag on release (compare)

Daniel Guldberg Aaes
@notaduck
Hi guys.I I use Ionide togheter with vs code on linux, however it is not always that the types are shown? https://i.imgur.com/AvbFDEg.png
and I cannot figure out what is causing this, is it a known bug?
Bruno Cadorette
@bruno-cadorette
Hello! Is the .ionide folder safe to add in the gitignore? Right now all I have is the symbolCache.db file
Alexander Prooks
@aprooks
hi, yes it should be gitignored
Bruno Cadorette
@bruno-cadorette
thanks
Bruno Cadorette
@bruno-cadorette
Is there a way of removing all unused open in every files of my project? I can only do it one at a time
Nicolas EL HAYEK
@PigeonPanet
hi everyone i made a donwload service in my ionic application but i got a problem when i use it in ios, The tuto i used is here https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/index.html . When i try to download file in ios i have a success status but
no file is present in directory. (The services work in android). Can i have some help pls thanks
(i used native File plugin to write the file)
b0wter
@b0wter

Anyone else having issues with ionide doing strange things to a projects fsproj file when doing simple things like adding files? Ionide does not simply add a single line but does things like this:

@@ -1,7 +1,7 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <TargetFramework>netcoreapp2.0</TargetFramework>
     <RootNamespace>b0wter.CouchDb.Tests.Integration</RootNamespace>
+    <TargetFramework>netcoreapp2.0</TargetFramework>
   </PropertyGroup>

Unfortunately, it regularly removes files from the project files that I need! Like nuspec files or other resources.

Kollego
@Kollego
Hi everyone!
Can anybody tell how to fix this problem? This is *.fsx script and Visual Studio Code just underline every type
Screenshot_140.png
Chet Husk
@baronfel
@Kollego yes, this problem is tracked in ionide/ionide-vscode-fsharp#1215 and we're actively working it. In the meantime you can use an older version of ionide.
Kollego
@Kollego
@baronfel thanks :)
SystemOut1324
@SystemOut1324
Hello first i would like to ask if anyone would like to help me. I know this might seem dumb but I cant get ionide-fsharp to work. I am on windows and I have tried to install .NET Core 3.0 SDK but it did not work for me and now I am trying VS 2019 Build tools where I have installed ".NET desktop build tools " + F# compiler but I get errors along the lines of "you must add a reference to assembly 'netstandard'" and I don't get IntelliSense/code suggestions. How do you get going with F# on windows(I can get it to work on linux). I just want to use F# and VSCode with ionide-fsharp
Robin Munn
@rmunn
@SystemOut1324 It sounds like you've installed the right tools. How did you create your F# project? In VS Code? By cloning an existing project that works elsewhere? What I would suggest for a brand-new F# project is to use https://github.com/TheAngryByrd/MiniScaffold - run dotnet new -i MiniScaffold at a command prompt, then run dotnet new mini-scaffold --help to see options. Besides the options that every template has (-n for the name of your new project, and -o for the output folder you want to put it in if you don't want it put in your current directory), the MiniScaffold also has --outputType (or -ou for short) where you can select either console or library. Try creating a new project with dotnet new mini-scaffold -n Foo -o foo -ou console, then do cd foo followed by dotnet build and dotnet test. If that all works, then Ionide should also work. If any of those steps fails, then you have a starting point for troubleshooting your .NET Core setup.
muhammadHuzaifaSalman
@muhammadHuzaifaSalman
Does anyone know how to use FSharp.Data typeproviders in vscode ionide works? I've been trying to get it to work in a .fsx file but I don't even understand how to use the #r to get the package into the script.
Andreas Vilinski
@vilinski
@muhammadHuzaifaSalman did you already tried FAKE? With it you can avoid the hassle with #r until it is properly implemented from Micro$oft. Do dotnet new fake and then add to the script the packages you need.
mecusorin
@mecusorin_twitter
image.png
Trying to build Ionide on a Windows 10 Pro 64bit machine (without .Net Core 2.0 sdk installed, but with .Net Core 3.0 and 3.1 sdk), but got the above error. Anybody encountered the same issue? Any idea how to solve it?
Andreas Vilinski
@vilinski
what is a way to fix the problem fsi can't load arbitrary nuget packages? 'System.ComponentModel.Composition' or 'Mono.Posix' ? I'm generating scripts with paket and trying to send lines to fsi. it's never successful. Ionide doesn't show any errors in the script, so it may be not ionide's or fsac problem. And I also cannot run it after it, failing with the same error. But if I do the same with the FAKE there is no problem at all - not in ionide, not by running. Makes the FAKE something better than paket itself?
captainkout
@captainkout
Hi folks. I am tyring to add jwt to a F# giraffe web server. I added a reference to the project with "paket add Microsoft.AspNetCore.Authentication.JwtBearer --project Server" and it was added without errors, as far as I can tell. But I am still getting a namespace not defined error and the project does not build. What can I do to solve this?
captainkout
@captainkout
So I successfully added the reference now. However now I'm getting both the intellisense(good) and a compiler error saying

namespace JwtBearer
Full name: JwtBearer

Assembly: Microsoft.AspNetCore.Authentication.JwtBearer

The namespace 'JwtBearer' is not defined. a:\repos\fern\src\Server\Server.fsproj

What can I do to refresh intellisense? Close re-open resolved this issue. Is there a command to refresh?
Edgar Rodriguez
@edgarjrg
Hello everybody :wave: i'm new to Ionide (and F#), but i've been loving it ! I asked a question here How to add Format config file to VSCode workspace using Ionide, if anyone knows the answer I would really appreciate it, i don't know where's the best place to put questions because the Github Issues are more about features/errors. Sorry for bothering :pray:
Morten Maxild
@maxild
The list seems empty. Does anybody know the command for setting up a shortcurt like ctrl+shift+a to view f# solution explorer?

I found this

{
        "key": "ctrl+shift+a",
        "command": "fsharp.revealInSolutionExplorer"
 }

almost the same thing...

Morten Maxild
@maxild

Using R# in vs for years, I also have this shortcut in my keybindings

{
        "key": "shift+alt+l",
        "command": "workbench.files.action.showActiveFileInExplorer"
}

Does anybody know if you can add "when": .... syntax to figure out if you are viewning fs|fsx file?

Paolo
@pviotti
Hi there! Has anyone managed to have a debugger working on Linux (either vsdbg or netcoredbg)? If so, could you post a link to your VS Code configuration files (e.g. launch.json)? Thanks in advance!
Pieter Bryon
@pbryon

Hi everyone! For some reason, the Info Panel doesn't work in my VSCode: it shows up, but it's always blank. I'm using the latest versions of both VSCode and Ionide-fsharp.

I've tried:

  • adjusting both workspace and user settings
  • with and without hover
  • in all update modes
  • switching to update mode "none" and back
  • reinstalling Ionide

What might be wrong with my settings?

Andreas Vilinski
@vilinski

Is somebody else experiencing the same problem? I'm using script.fsx in the root of solution to make interactive development, doing paket generate-load-script and adding #I and #r to the project dll. It has worked a couple weeks ago. Now I'm getting red underscores everywhere. But sending to fsi brings no issues - everthing is good. What can be a problem with vscode+ionide then?

I must switch to Rider because of it, where i have anoter problem - compared to ionide it can't autorefresh on project code changes. What a pity ))

1 reply
Gerhard
@smibe
My vscode Ionide plugin (on Windows) does not have file completion. I would like to do a live fsharp demo today and without file completions things are getting more difficult. Anyone has a solution for this?
mpchean
@mpchean
For some reason I'm not getting auto indent in VSCode F# using ionide - Am I missing some setting?
1 reply
Ronald Munodawafa
@RonaldTinashe
Hi everybody! There appears to be an issue with unnecessary closing brackets being added with when typing attributes for example. Has anyone found a workaround for this?
muhammadHuzaifaSalman
@muhammadHuzaifaSalman
can someone please help me? I have installed ionide on vscode and used F#: new roject command but paket and fake are not initialized by themselves for me as they are done in a tutorial I am fllowing.
Or could someone please recommend a suitable tutorial for using F# with Ionide on vscode.
Andreas Vilinski
@vilinski
not sure which tutorial you use, but maybe dotnet tool restore helps
Ronald Munodawafa
@RonaldTinashe
@muhammadHuzaifaSalman According to fsharp.org Ionide works best using the dotnet toolchain
muhammadHuzaifaSalman
@muhammadHuzaifaSalman
so I should just use the cli instead?
@RonaldTinashe is that what you eant?
Ronald Munodawafa
@RonaldTinashe
Yes xD
Daniel Hegner
@da9l
Hi! I'm having problems with ionide and SwaggerProvider. When referencing a swagger.yaml file ionide want to get the file from the repo root folder while dotnet build want to fetch it from the source folder of the project src\client
Unless there is a solution for this I'm thinking I could work around this with a compiler directive that distinguishes dotnet build from ionide. Any idea what compiler value I should check for?
Or even better, is there a solution to make it work? I currently have to set fsac to net in order to make ionide intellisensing the SwaggerProvider.
Daniel Hegner
@da9l
Ok, I'm asking more directly again
Does Ionide define a unique symbol that can be checked with the preprocessor directive #if ?
Daniel Hegner
@da9l
Never mind. I underrated the usefulness of __SOURCE_DIRECTORY__.