You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Install the Scala and the SBT plugins in IntelliJ.
20
20
- Clone this repository (File -> New -> Project from Version Control -> GitHub).
21
-
**Important: due to a bug in the SBT plugin, it is important that you choose a directory name without uppercase letters, e.g. `tip` (otherwise, the following step will fail).**
21
+
Choose the directory name `tip`. (**If you use another directory name, then the next step may fail!**)
22
22
- IntelliJ should then detect an SBT project. Click 'Import SBT project' and follow the instructions.
23
23
(If this is your first Scala project, you will need to setup the Scala SDK.)
24
24
- Right-click on `Tip.scala` in `src/tip`, then select "Run 'Tip'". To supply
@@ -28,8 +28,8 @@ If you clone the repository using git instead of IntelliJ, you will need to impo
28
28
(File -> New -> Project from Existing Sources).
29
29
Since the `.idea` folder is then regenerated from scrach, in order to keep the
30
30
inspection profiles you need to checkout the `.idea/inspectionProfiles`
31
-
folder and the `.idea/codeStyleSettings.xml` file from the original repo,
32
-
leaving untouched the other generated folders.
31
+
folder and the `.idea/codeStyles` folder from the original repo,
32
+
leaving the other generated folders untouched.
33
33
34
34
#### IntelliJ Scala bugs
35
35
@@ -135,7 +135,7 @@ Tutorials and extensive documentation for Scala are available at [http://docs.sc
135
135
Useful tips:
136
136
- You can see what type Scala has inferred for an expression by selecting the expression and pressing Alt+Equals
137
137
(depending on keyboard settings in Settings -> Keymap -> Scala -> Type Info).
138
-
- You can see what implicit conversion Scala is applying and which ones are available by selecting an expression and pressing Ctrl+Q (depending on keyboard settings in Setting -> Keymap -> Scala -> Implicit Conversion). Expressions on which an implicit is applied are underlined.
138
+
- You can see what implicit conversion Scala is applying by enabling View -> Show Implicit Hints (and View -> Expand Implicit Hints, for full information).
0 commit comments