infoverload commented on a change in pull request #16892: URL: https://github.com/apache/flink/pull/16892#discussion_r692096930
########## File path: docs/content/docs/flinkDev/ide_setup.md ########## @@ -51,112 +51,43 @@ git clone https://github.com/apache/flink.git ## Ignoring Refactoring Commits -We keep a list of big refactoring commits in `.git-blame-ignore-revs`. When looking at change annotations using `git blame` it's helpful to ignore these. You can configure git and your IDE to do so using: +We keep a list of big refactoring commits in `.git-blame-ignore-revs`. When looking at change +annotations using `git blame` it's helpful to ignore these. You can configure git and your IDE to +do so using: ```bash git config blame.ignoreRevsFile .git-blame-ignore-revs ``` -## IntelliJ IDEA +# IntelliJ IDEA -A brief guide on how to set up IntelliJ IDEA IDE for development of the Flink core. -As Eclipse is known to have issues with mixed Scala and Java projects, more and more contributors are migrating to IntelliJ IDEA. +The following guide has been written for [IntelliJ IDEA](https://www.jetbrains.com/idea/download/) +2020.3. Some details might differ in other versions. Please make sure to follow all steps +accurately. -The following documentation describes the steps to set up IntelliJ IDEA 2020.3 -([https://www.jetbrains.com/idea/download/](https://www.jetbrains.com/idea/download/)) -with the Flink sources. +## Importing Flink -### Installing the Scala plugin - -The IntelliJ installation setup offers to install the Scala plugin. -If it is not installed, follow these instructions before importing Flink -to enable support for Scala projects and files: - -1. Go to Settings → Plugins and select the "Marketplace" tab. -2. Select for and install the "Scala" plugin. -3. Restart IntelliJ if prompted. - -### Importing Flink - -1. Start IntelliJ and choose New → Project from Existing Sources. +1. Choose "New" → "Project from Existing Sources". 2. Select the root folder of the cloned Flink repository. 3. Choose "Import project from external model" and select "Maven". 4. Leave the default options and successively click "Next" until you reach the SDK section. 5. If there is no SDK listed, create one using the "+" sign on the top left. Select "JDK", choose the JDK home directory and click "OK". - Select the most suiting JDK version. NOTE: A good rule of thumb is to select + Select the most suiting JDK version. NOTE: A good rule of thumb is to select Review comment: ```suggestion Select the most suitable JDK version. NOTE: A good rule of thumb is to select ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
