Skip to content

Commit 3244d04

Browse files
committed
Minor changes to README
1 parent 9d648fd commit 3244d04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Interactive Scala is an extension for Visual Studio Code. This extension lets yo
88

99
The extension will automatically open a new integrated terminal and initialise the Scala interpreter upon opening a `.scala` file.
1010

11-
Once in a `.scala` file, you can select a subset of your Scala code and use the keyboard shortcut `alt+enter` to quickly execute the code in the Scala interpreter.
12-
The shortcut can be changed in your VS Code settings.
11+
Once in a `.scala` file, you can select a subset of your Scala code and use the keyboard shortcut `alt+enter` to quickly execute the code in the Scala interpreter or `ctrl+alt+enter` to execute a whole file at once. `ctrl+alt+r` allows you to reset Interactive Scala and start from scratch.
12+
The shortcuts can be changed in your VS Code settings.
1313

1414
If you are to send single line to the interpreter, there's no need for selection at all! Just place the caret on the line and press the shortcut.
1515

@@ -20,7 +20,7 @@ Shortcuts are not your style? You can now use the context menu as well! Just sel
2020
## Extension Settings
2121

2222
The used REPL Scala interpreter can be changed through the VS Code preferences. You can choose any Scala interpreter you like, including `scala` (default) and `sbt console`.
23-
The first of which is using the system-wide Scala installation through the `scala` command. `sbt console` uses the Scala Build Tool thourgh the `sbt`command and will use the local project installation. Please note, that SBT will instantiate a new project, if none is found in the working directory.
23+
The first of which is using the system-wide Scala installation through the `scala` command. `sbt console` uses the Scala Build Tool thourgh the `sbt` command and will use the local project installation. Please note, that SBT will instantiate a new project, if none is found in the working directory.
2424

2525
Using `sbt console` is a bit slower initially, as SBT will compile and check for updates before entering the interpreter.
2626

0 commit comments

Comments
 (0)