<commit_before>[![official JetBrains project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
![Scala Plugin Build & Test](https://github.com/JetBrains/intellij-scala/workflows/Scala%20Plugin%20Build%20&%20Test/badge.svg)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/JetBrains/intellij-scala)


# Scala Plugin for IntelliJ IDEA

Plugin that implements Scala, sbt, Play 2, SSP and Hocon support in IntelliJ IDEA.

## General information

- To get information about how to install and use this plugin in IDEA, please
  use [IntelliJ IDEA online help](https://www.jetbrains.com/idea/help/scala.html).

- If you have any question about the Scala plugin, we'd be glad to answer it in [our
  developer community](https://devnet.jetbrains.com/community/idea/scala).

- If you found a bug, please report it on [our issue
  tracker](https://youtrack.jetbrains.com/issues/SCL#newissue).

- If you want to contribute, please see our [intro to the Scala plugin
  internals](https://blog.jetbrains.com/scala/2016/04/21/how-to-contribute-to-intellij-scala-plugin/).

## Setting up the project

### Prerequisites
In order to take part in Scala plugin development, you need:

1. IntelliJ IDEA 2020.1 or higher with a compatible version of Scala plugin
2. JDK 11
3. (optional but recommended) Enable "[internal mode](https://www.jetbrains.org/intellij/sdk/docs/reference_guide/internal_actions/enabling_internal.html)" in IDEA

### Setup

1. Clone this repository to your computer

  ```
  $ git clone https://github.com/JetBrains/intellij-scala.git
  ```

2. Open IntelliJ IDEA, select `File -> New -> Project from existing sources`, point to
the directory where the Scala plugin repository is and then import it as sbt project.

3. In the next step, select JDK 8 as project JDK (create it from an installed JDK if necessary).

5. Select the `scalaCommunity` run configuration and select the `Run` or `Debug` button to build and start a
development version of IDEA with the Scala plugin.

## Browsing IntelliJ platform sources

When loading the plugin in sbt, the IntelliJ platform is downloaded to `<home>/.ScalaPluginIC/sdk/<sdk version>/`. <commit_msg>update JDK instructions in README<commit_after>[![official JetBrains project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
![Scala Plugin Build & Test](https://github.com/JetBrains/intellij-scala/workflows/Scala%20Plugin%20Build%20&%20Test/badge.svg)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/JetBrains/intellij-scala)


# Scala Plugin for IntelliJ IDEA

Plugin that implements Scala, sbt, Play 2, SSP and Hocon support in IntelliJ IDEA.

## General information

- To get information about how to install and use this plugin in IDEA, please
  use [IntelliJ IDEA online help](https://www.jetbrains.com/idea/help/scala.html).

- If you have any question about the Scala plugin, we'd be glad to answer it in [our
  developer community](https://devnet.jetbrains.com/community/idea/scala).

- If you found a bug, please report it on [our issue
  tracker](https://youtrack.jetbrains.com/issues/SCL#newissue).

- If you want to contribute, please see our [intro to the Scala plugin
  internals](https://blog.jetbrains.com/scala/2016/04/21/how-to-contribute-to-intellij-scala-plugin/).

## Setting up the project

### Prerequisites
In order to take part in Scala plugin development, you need:

1. IntelliJ IDEA 2020.1 or higher with a compatible version of Scala plugin
2. JDK 11
3. (optional but recommended) Enable "[internal mode](https://www.jetbrains.org/intellij/sdk/docs/reference_guide/internal_actions/enabling_internal.html)" in IDEA

### Setup

1. Clone this repository to your computer

  ```
  $ git clone https://github.com/JetBrains/intellij-scala.git
  ```

2. Open IntelliJ IDEA, select `File -> New -> Project from existing sources`, point to
the directory where the Scala plugin repository is and then import it as sbt project.

3. In the next step, select JDK 11 as project JDK (create it from an installed JDK if necessary).

5. Select the `scalaCommunity` run configuration and select the `Run` or `Debug` button to build and start a
development version of IDEA with the Scala plugin.

## Browsing IntelliJ platform sources

When loading the plugin in sbt, the IntelliJ platform is downloaded to `<home>/.ScalaPluginIC/sdk/<sdk version>/`. 
{'fraction_non_alphanumeric': 0.108047522976911, 'fraction_numerical': 0.01546738399462004, 'mean_word_length': 4.501849568434032, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 22, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3123875', 'n_tokens_mistral': 1506, 'n_tokens_neox': 1365, 'n_words': 476}