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
Currently, Metals uses a basic heuristic to select a default built target when multiple targets are associated with a single source file. For example, when a user edits a shared source file for Scala.js and JVM build targets Metals automatically picks the JVM build target and the users can't override/customize that choice.
It would be good if Metals exposed some control over the default heuristic via configuration, for example:
Preferred platform: [JVM, JS, Native]
Preferred Scala version: [2.12, 2.11, 2.13]
Users could reorder those lists to for example tell Metals to prefer JS on 2.11 over JVM 2.12.
jvican, gabro, ekrich, laughedelic, keiSunagawa and 16 more