GithubHelp home page GithubHelp logo

pps-23-24-lab02's Introduction

sbt project compiled with Scala 3

Usage

This is a normal sbt project. You can compile code with sbt compile, run it with sbt run, and sbt console will start a Scala 3 REPL.

For more information on the sbt-dotty plugin, see the scala3-example-project.

Usage with VSCode

Be sure you have installed VSCode extensions for Scala (Metals) and Scala syntax (official).

Upon opening the project, a prompt will appear in the bottom right corner requesting to Import build. Please select this option.

image

Following this, a notification indicating that the sbt project is importing will appear.

image

Next, navigate to a Scala file that extends App. For example, by opening the Values file and clicking the run button located at the top of the file, you will initiate the execution of the code. The output of this operation can be observed in the bottom section of VSCode.

image

Additionally, access the test file located at src/test/scala/u02/TuplesTest.scala. Here, you will find a green arrow on the left side, enabling you to run the tests. Initiating the first test will execute all the tests, and the results will be displayed accordingly.

image

image

pps-23-24-lab02's People

Contributors

teov00 avatar mviroli avatar cric96 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.