Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>DEPRECATED: Scala auto packageNew to Visual Studio Code? Get it now.

DEPRECATED: Scala auto package

gabro

|
1,229 installs
| (0) | Free
Automatically insert a package statement upon file creation
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-scala-auto-package

Automatically inserts a toplevel package {name} statement when creating a Scala file, where {name} is inferred from the file system structure.

Demo

E.g. if you create a file in src/main/scala/io/buildo/myproject/, this extension will automatically add

package io.buildo.myproject

on top of the file.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft