scalameta / metals-feature-requests

Issue tracker for Metals feature requests
37 stars 4 forks source link

Add support for embedded Scala worksheet/script inside a shell script #399

Open robby-phd opened 2 months ago

robby-phd commented 2 months ago

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

Scala allows worksheet/script to be embedded in a shell script (e.g., build.cmd). It would be nice to have all Scala Worksheet support in Metals available for editing such files when the user specifies the file association for the file extension (e.g., *.cmd) to the Scala language (similar to IntelliJ).

Describe alternatives you've considered

Setting the file association in VSCode+Metals currently only provides syntax highlighting.

Additional context

No response

Search terms

shell script