muneeb12342 / Distance-and-Time

We have used Google Map API to find the distance and time for the routes by entering the origin and destination points.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Downloading and Installing of Intellij

Step by Step

  • First go to Download the Intellij
  • Choose your desired operating system e.g(Windows/macOS/linux)
  • Click on the "Download"Free trial or "Download" Open source
  • Downloading will start on your operating system
  • When it have downloaded, then click on the Intellij setup
  • Now the installation of intellij will start on your operating system.

Installing the Intellij Scala Plugin

  • After installation completes, run Intellij.
  • IntelliJ will start up with a dialog with options such as “Create New Project”, “Import Project”, etc.
  • At the bottom right, there is a Configure drop-down: Click the Configure drop-down and select Plugins
  • Click the “Install JetBrains plugin…” button at the bottom left
  • In the search field at the top, type “Scala"
  • The Scala 3.0.1 (or newer) plugin should appear, with details in the right pane
  • Click the green Install button
  • This will download and automatically install the Scala plugin
  • After that completes, click Close
  • Intellij will ask if you want to restart it to activate plugin changes - click “Restart"

Creating a Scala project

  • After it restarts, click “Create New Project” - Scala should show up as an option on the left-hand side.
  • Click Scala
  • Create a sample project called “ScalaSample"
  • Click “Create” next to Scala SDK and then click "Download"
  • This will download the latest Scala (2.11.8) and SBT (0.13.8) - note this may take some time
  • After it completes, make sure “scala-sdk-2.11.8” shows up in the Scala SDK drop down
  • For Project SDK, you need to choose the location where the Java 1.8 SDK was installed
  • Then click “Finish"

Opening a Scala Worksheet

  • In order to open a Scala Worksheet go to File>>New>>Scala Worksheet
  • Your Scala Worksheet will be open.

CONGRATS! 👍 you have done it!

About

We have used Google Map API to find the distance and time for the routes by entering the origin and destination points.


Languages

Language:Scala 100.0%