1

JetBrains Fleet has limited description for setting.json reference offered in link, where toolchains field is merely described as "Enable toolchains for the folder or its subfolders".

The auto-generated setting.json is something like this:

{
    "toolchains": []
}

I wonder the usage of toolchains and how to configure it, or where can I find a more detailed reference.

LazyOne
  • 158,824
  • 45
  • 388
  • 391
PTYin
  • 13
  • 4
  • Which language? Some basic example for Go can be seen here (on a screenshot): https://youtrack.jetbrains.com/issue/FL-17336 You should be able to configure the main thing in the Fleet's GUI settings. BTW, when you are editing the `settings.json` file, Fleet should offer you the code completion with available options. Does it work for you? (maybe it currently works in certain places only) – LazyOne Mar 20 '23 at 18:00
  • You can also check other tickets where "toolchains" is mentioned, they may contain other examples: https://youtrack.jetbrains.com/issues/FL?q=toolchains – LazyOne Mar 20 '23 at 18:03

1 Answers1

0

You can select toolchains in the UI settings for your project. Here are some examples (language specific):

https://www.jetbrains.com/help/fleet/getting-started-with-java-in-fleet.html#configure-jdk https://www.jetbrains.com/help/fleet/getting-started-with-csharp.html#configure-toolchains https://www.jetbrains.com/help/fleet/getting-started-with-python.html#python-interpreter https://www.jetbrains.com/help/fleet/getting-started-with-go.html#configuring_go_sdk

  • 1
    My project doesn't show those toolchains, as in it is not able to detect Go, Python etc. So the only option is to edit `settings.json` which the documentations does not explain. – mohitmayank Jul 13 '23 at 16:49