Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

A repository template for Scala development in Codespaces

Notifications You must be signed in to change notification settings

pygumby/scala-sbt-codespaces-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚨 My GitHub account name and domain have changed since I created this repository!

When I originally created this repository, my GitHub account was @typeduke and my domain was typeduke.com. These might be referenced within this repository. Note that my current GitHub account is @pygumby and my current domain is pygumby.com.

scala-sbt-codespaces-template

A repository template for Scala development in Codespaces

Description

This GitHub repository template enables Scala 3 development in GitHub Codespaces.

As a starting point, the repository defines a minimal sbt project containing a "Hello, world." function and one unit test. The project is ready to be extended.

To facilitate development in Codespaces, the repository defines a dev container that references an official sbt image, making available a JDK, Scala and sbt. It also enables several VS Code extensions, including Scala Syntax for syntax highlighting and Metals for a fully-fledged IDE experience.

The repository also defines VS Code settings, which, among other things, provide that Scalafmt is the default formatter and that it is applied automatically upon saving a file.

Releases

Branch Ubuntu JDK (Eclipse Temurin) Scala sbt ScalaTest
(sbt dependency)
Scala Syntax
(VS Code extension)
Scala Metals
(VS Code extension)
Scalafmt
(via Scala Metals)
main 22.04.3 17.0.8.1+1 3.3.1 1.9.7 3.2.17 0.5.7 1.26.1 3.7.15
scala-3.3.0 22.04.1 17.0.5+8 3.3.0 1.9.3 3.2.16 0.5.7 1.24.4 3.7.12
scala-3.2.2 22.04.1 17.0.5+8 3.2.2 1.8.2 3.2.15 0.5.6 1.23.0 3.7.3

Getting started

  1. Create a new repository based on this repository template.
  2. Create a codespace for the new repository.
  3. When prompted by Metals with "New sbt workspace detected", click "Import build".

Optionally, refactor the following files and directories to remove references to this repository template:

About

A repository template for Scala development in Codespaces

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published