You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the project with an IDE with metals support. There should be a generated .bsp/scala-cli.json and .scala-build/ide-options-v2.json.
In project.scala, there should be the error on using buildInfo
that complains about the `power` option.
In the root of the project, do scala-cli setup-ide . --power. Look at content of .scala-build/ide-options-v2.json, you should find
{"powerOptions": {"power":true}}
However the error in project.scala on using buildInfo does not go away although ide-options-v2.json is read through the arg --json-options in .bsp/scala-cli.json.
Go to .bsp/scala-cli.json and append --power to args. Error in project.scala disappears.
Expected behaviour --power should be picked up when set through --json-options
The text was updated successfully, but these errors were encountered:
Version(s)
1.1.1
Describe the bug
scala-cli bsp --power
setspower
whilescala-cli bsp --json-options jsonOptions.json
wherejsonOptions.json
isdoes not set
power
totrue
.To Reproduce
1.
Open the project with an IDE with
metals
support. There should be a generated.bsp/scala-cli.json
and.scala-build/ide-options-v2.json
.In
project.scala
, there should be the error onusing buildInfo
scala-cli setup-ide . --power
. Look at content of.scala-build/ide-options-v2.json
, you should findHowever the error in
project.scala
onusing buildInfo
does not go away althoughide-options-v2.json
is read through the arg--json-options
in.bsp/scala-cli.json
.Go to
.bsp/scala-cli.json
and append--power
to args. Error inproject.scala
disappears.Expected behaviour
--power
should be picked up when set through--json-options
The text was updated successfully, but these errors were encountered: