Use this page to configure Scala settings for your project.
Editor
Use this tab to configure settings for editor in Scala.
| Item | Description |
|---|
| Show type info on mouse hover after, ms | Use this field to invoke Show Type Info action on a mouse hover after the
specified time in the editor. |
| Highlighting | Use this area configure how your code is highlighted in the editor.
You can select from the following options:
- Highlight methods added via implicit conversion in code completion dialog-
if you select this check box, IntelliJ IDEA highlights methods that are added via implicit
conversions with a grey underline.
- Highlight arguments to by-name parameters
- Include block expressions
- Include literals
- Collection type highlighting - select this check box to highlight
imports with prefixes.
|
| Autocomplete | Use thia area to configure settings for the autocomplete action. |
| Ahead-of-time completion (parameter and variables names) | Select this check box to invoke autocompletion for both the name and the type before
actually adding a type reference. |
| Use Scala classes priority over Java classes | Select this check box if you want IntelliJ IDEA to invoke the code completion for Scala classes before
Java classes.
|
| Code Conversion | Use this area to configure editor settings for converting Java code to Scala code automatically.
The following options are available:
- Convert Java code to Scala on copy-paste - select this check box to
convert a code from Java files to Scala when you perform a copy-paste action. In this case
IntelliJ IDEA displays Convert code from Java dialog.
- Don't show on paste and automatically convert to Scala code - select
this check box if you want to perform code conversion automatically without showing the
Convert code from Java dialog.
|
Performance
| Item | Description |
|---|
| Implicit parameters search depth (-1 for none) | |
| Search all symbols (include locals) | |
| Resolve to all classes, even in wrong directories (this may cause performance problems) | |
| Disable parsing of documentation comments. This may improve editor performance for very large files
.(SCL-2900) | |
| Disable language injection in Scala files (injected language may freeze typing with auto pop-up
completion) | |
| Don't cache compound types (use it in case of big pauses in GC) | |
| Use old implicit conversion search algorithm | |
Worksheet
| Item | Description |
|---|
| Output cutoff limit, lines | Use this field to set a line limit to the output of your worksheet's results. |
| Run worksheet in the compiler process | Select this check box if you want to run work sheet inside the Scala compile
server. |
| Run worksheet in the interactive mode | Select this check box to display the code results automatically. |
| Use eclipse compatibility mode | In this case all statements inside the object are included in the worksheet's output. |
Base packages
Use this tab to specify base packages.
Misc
| Item | Description |
|---|
| Scala Test default super class | |
| Language injection settings for interpolated strings | |
Updates
| Item | Description |
|---|
| Plugin update channel | Use this field to update the Scala plugin. You can choose to download either EAP,
Release or Nightly version. As soon as the specified version is available, IntelliJ IDEA will display an appropriate notification.
|