Skip to content

Commit bd56990

Browse files
author
Maciej Gorywoda
committed
A new page about Scala IDEs + reordering of Getting Started
1 parent cba8042 commit bd56990

File tree

6 files changed

+53
-4
lines changed

6 files changed

+53
-4
lines changed

_data/doc-nav-header.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
- title: Getting Started
2-
url: "/getting-started/index.html"
2+
url: "#"
3+
submenu:
4+
- title: Install Scala
5+
url: "/getting-started/install-scala.html"
6+
- title: Scala IDEs
7+
url: "/getting-started/scala-ides.html"
38
- title: Scala 3
49
url: "#"
510
submenu:

_overviews/getting-started/index.md _overviews/getting-started/install-scala.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ and in the official sbt [documentation](https://www.scala-sbt.org/1.x/docs/index
184184
185185
### With an IDE
186186
187-
You can skip the rest of this page and go directly to [Building a Scala Project with IntelliJ and sbt](/getting-started/intellij-track/building-a-scala-project-with-intellij-and-sbt.html)
188-
187+
You can read a short summary of Scala IDEs on [a dedicated page](/getting-started/scala-ides.html)
189188
190189
## Open hello-world project
191190
+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
layout: singlepage-overview
3+
title: Scala IDEs
4+
5+
partof: scala-ides
6+
7+
permalink: /tutorials/:title.html
8+
9+
keywords:
10+
- Scala
11+
- IDE
12+
- JetBrains
13+
- IntelliJ
14+
- VSCode
15+
- Metals
16+
---
17+
18+
By Maciej Gorywoda
19+
20+
## Introduction
21+
22+
Theoretically, you can write Scala code even in a notepad and compile and run the code from the terminal. When you do it, the compiler will tell you if it encounters any problems and suggest changes. You can apply that feedback in the notepad and try again.
23+
24+
However, this way of software development will quickly prove to be unusable when you start coding anything more complicated than simple exercises. For larger projects, we highly recommend that you use one of the following IDEs (Integrated Development Environments):
25+
26+
# IntelliJ IDEA + Scala Plugin
27+
28+
[https://jetbrains.com/scala](https://jetbrains.com/scala)
29+
30+
![](../../resources/images/getting-started/IntelliJScala.png)
31+
32+
IntelliJ IDEA is a cross-platform IDE developed by JetBrains that provides a consistent experience for a wide range of programming languages and technologies. It also supports Scala through the IntelliJ Scala Plugin, which is being developed at JetBrains. First, install IntelliJ IDEA Community Edition (unless you don't already use the Ultimate edition) and then add the IntelliJ Scala Plugin.
33+
34+
IntelliJ IDEA and Scala Plugin will assist you in virtually every part of a Scala software developer's work. Use it if you like a solid integrated experience, sane default settings, and tested solutions.
35+
36+
For more information, check out our tutorial [Getting Started with Scala in IntelliJ](/getting-started/intellij-track/building-a-scala-project-with-intellij-and-sbt.html)
37+
38+
# Visual Studio Code + Metals
39+
40+
[https://scalameta.org/metals](https://scalameta.org/metals)
41+
42+
![](../../resources/images/getting-started/VSCodeMetals.png)
43+
44+
Visual Studio Code, commonly called VS Code, is a source code editor developed by Microsoft. Similar to how IntelliJ IDEA requires IntelliJ Scala Plugin to support Scala, you can get support for Scala in VS Code by installing an extension: Metals by Scalameta. In contrast to IntelliJ IDEA + Scala Plugin, VS Code + Metals is aimed at people who like to tinker with settings and try out experimental Scala features. Besides, Metals - the extension - is also available for a variety of other source-code editors, such as Vim, Sublime Text, and Emacs, which means that you will get a similar experience in any of them.
45+

index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sections:
1717
- title: "Getting Started"
1818
description: "Install Scala on your computer and start writing some Scala code!"
1919
icon: "fa fa-rocket"
20-
link: /getting-started.html
20+
link: /getting-started/install-scala.html
2121
- title: "Tour of Scala"
2222
description: "Bite-sized introductions to core language features."
2323
icon: "fa fa-flag"
Loading
Loading

0 commit comments

Comments
 (0)