scalameta / metals-feature-requests

Issue tracker for Metals feature requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto generate package name when create new Scala file in scala-cli project

akizminet opened this issue · comments

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

When I try to migrate my single-module projects from sbt to scala-cli I see that metals will not auto generate package name when I create a new Scala source (from VSCode).

Describe the solution you'd like

Auto detect and generate package name at the top of new Scala sources for scala-cli single-module project.

Describe alternatives you've considered

Create new Scala source in sbt project

Additional context

No response

Search terms

scala-cli