nojaf / fable-tour-of-heroes

Content for webinar with JetBrains
MIT License
15 stars 1 forks source link

Question about using Rider #1

Open maxild opened 4 years ago

maxild commented 4 years ago

Hi,

@nojaf I am watching your "From F# to JavaScript with Fable". You use paket load-scripts, and App.fsx etc. Do you know, if I can use Rider when working with fable project with App.fsproj without loosing intellisense (and still have repo-folder open)?

What I am doing now is creating an sln in the root, and adding fsproj to the sln. Then in the Rider explorer I change to the FileSystem view (in order to see index.html etc...).

But in vscode (with ionide) I can just open the root/repo folder and the vscode explorer and the ionide solution explorer can both work without the sln.

Can you work with Fable project in Rider without any sln, and still have intellisense, "find everywhere" etc working for all files?

nojaf commented 4 years ago

Hello @maxild,

Thanks for watching the webinar!

I use the same approach where have a top-level solution file and that seems to help a lot. VSCode does seem to have better support for *.fsproj without sln file.

I found that Rider only adds support for script files (*.fsx) when opening a folder. Maybe that behavior has improved in the latest version, I'm not entirely sure.

You can always open an issue at https://youtrack.jetbrains.com/, in my experience JetBrains is quite responsive and acts upon tickets where you add steps to reproduce.