Activate plugin in Java files
jvican opened this issue · 3 comments
jvican commented
As suggested by https://scalameta.org/metals/blog/2022/01/12/aluminium#basic-java-support, Metals 0.11 adds support for Java build targets. I think it would be great if we could activate Metals for Java plugins, as currently that's not the case and one cannot find and run any of the Metals commands in Java files. Looks related to #77 but only superficially.
ayoub-benali commented
I would need to ping @rwols @rchl for this one.
Could multiple values be set here?
https://github.com/scalameta/metals-sublime/blob/master/LSP-metals.sublime-settings#L9
rchl commented
"selector": "source.scala, source.foo"
jvican commented
Thanks, this is awesome