scalameta / metals-sublime

Sublime Text package for Metals, a language server for Scala
https://packagecontrol.io/packages/LSP-metals
Apache License 2.0
16 stars 10 forks source link

How to build the code use metals #48

Closed finalcreator closed 2 years ago

finalcreator commented 2 years ago

How to build the code use metals in sublime text? The docker run results are all green

ayoub-benali commented 2 years ago

Hi, it isn't possible to build inside sublime. You have to use external tool like sbt or bloop.

For further question please join the discord chat https://discord.com/channels/632642981228314653/632841843901726731

ayoub-benali commented 2 years ago

@finalcreator after discussion with @ninth-dev it is seems to be possible after all. Here is an example: https://github.com/ninth-dev/SublimeText/blob/master/bloop.sublime-build

But you would be interacting with the build tool not metals.