1. Download the archive
You downloaded the archive from
JavaRush , unpacked it and see the following two folders: The
JavaRushHomeWork folder contains a project template in which you will solve problems.
The JavaRushIdeaPlugin folder contains a plugin that needs to be connected to IntelliJ IDEA (Idea).
2. Open the project
Open an Idea. Go to menu
File -> Open... . Open the path where the archive was unpacked. Click on the JavaRushHomeWork folder and press the
OK button .
An open project looks like this:
3. Set up the project
Open the project settings
File -> Project Structure .... Set
Project language level to
7.0
In Modules you also set
the Language level to
7.0 . Remove the
.idea folder from the project, for which you need to select it and click
Excluded .
In SDKs, if there is nothing there, click the green
+ on top, select JDK from the drop-down list and specify
the path to java . Click
OK .
Attention! On the java7 course, install version 7 so that there are no problems with the settings. When the project is transferred to java8, we will inform you about it. Make sure
JDK home path points to your java path. In the
Classpath tab , click the green
+ on the right. Connect all jar files from *java path*/jre/lib Click the
Apply button and reload the project.
4. Connect the plugin
Open the settings Ideas
File -> Settings... for Plugins and click
the Install plugin from disk... button .
Select the path to the
IdeaPlugin.jar plugin , which is located in the lib folder inside JavaRushIdeaPlugin (see step 1) and click OK.
Apply the new settings by clicking on
Apply and
re-opening the Idea - click Restart .
5. Testing the plugin
Two new buttons have appeared:
- press the left button (stripe) to get a list of your tasks
- click the right button (check mark) to submit the task for review
Important informationThe JavaRushPlugin.properties file contains your secret key, do not show it to anyone. You can always log into your account using it. Happy studying!
GO TO FULL VERSION