From c75f153c748aabcb4852f5c60fbb8a420416235c Mon Sep 17 00:00:00 2001 From: Brian Slesinsky Date: Mon, 3 Apr 2017 15:29:55 -0700 Subject: [PATCH] Update CONTRIBUTING.md for 2017.1 --- CONTRIBUTING.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c87c1043ae..059b0a3b88 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,15 +12,16 @@ file. * Download and install the latest stable version of IntelliJ - https://www.jetbrains.com/idea/download/ - - either the community edition (free) or Ultimate will work + - either the community edition (free) or Ultimate will work. We are currently using 2017.1. * Start IntelliJ * In the project structure dialog, configure an IntelliJ platform SDK - point it to the `Contents` directory in your just downloaded copy of IntelliJ Community Edition (e.g, `IntelliJ IDEA CE.app/Contents`) - name it `IntelliJ IDEA Community Edition` -* In order to have the platform sources handy, clone the IntelliJ IDEA Community Edition repo -(`git clone https://github.com/JetBrains/intellij-community`) and add a path to your local clone in the `Sourcepaths` tab of -your `IntelliJ IDEA Community Edition` SDK and accept all the root folders found by the IDE after scanning. -Do the same for the intellij-plugins repo to get Dart plugin sources. + - In order to have the platform sources handy, clone the IntelliJ IDEA Community Edition repo +(`git clone https://github.com/JetBrains/intellij-community`) + - Sync it to the same version of IDEA that you are using (`git checkout idea/171.3780.107`). It will be in 'detached HEAD' mode. + - In the `IntelliJ IDEA Community Edition` sdk, go to the `Sourcepaths` tab and add the path to `intellij-community`. Accept all the root folders found by the IDE after scanning. + - Do the same for the intellij-plugins repo to get Dart plugin sources. * Open flutter-intellij project in IntelliJ. Build it using `Build` > `Make Project` * Try running the plugin; there is an existing launch config for "Flutter IntelliJ". * If the Flutter Plugin doesn't load, check to see if the Dart Plugin is installed in your runtime workbench; if it's not, install it (`Preferences > Plugins`) and re-launch.