JavaRush /Java Blog /Random EN /Opening a JavaRushHomeWork project
Diana
Level 41

Opening a JavaRushHomeWork project

Published in the Random EN group
Opening a CodeGymHomeWork project - 1

1. Download the archive

You have downloaded the CodeGym archive , unpacked it and you see the following two folders: The CodeGymHomeWork folder contains a project template in which you will solve problems. The CodeGymIdeaPlugin folder contains a plugin that needs to be connected to IntelliJ IDEA (Idea).

2. Open a project

Open Idea. Go to menu File -> Open... . Open the path where the archive was unpacked. Click on the CodeGymHomeWork folder and press the OK button .
Opening a CodeGymHomeWork project - 2
An open project looks like this:
Opening a CodeGymHomeWork project - 3

3. Set up the project

Open the project settings File -> Project Structure... . Set Project language level to 7.0
Opening a CodeGymHomeWork project - 4
In Modules 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 .
Opening a CodeGymHomeWork project - 5
In SDKs, if there is nothing there, click on the green + at the top, select JDK from the drop-down list and specify the path to java . Click OK . Attention! On the java7 course, put version 7 so that there are no problems with the settings. When the project is translated to java8, we will inform about it. Make sure the JDK home path is the path to your java. In the Classpath tab , click the green + on the right. Connect all jars from *path to java*/jre/lib Press the Apply button and reload the project.
Opening a CodeGymHomeWork project - 6

4. Connect the plugin

Open the Idea settings File -> Settings... for Plugins and click the Install plugin from disk... button .
Opening a CodeGymHomeWork project - 7
Select the path to the plugin IdeaPlugin.jar , which is located in the lib folder inside CodeGymIdeaPlugin (see step 1) and click the OK button.
Opening a CodeGymHomeWork project - 8
Apply the new settings by clicking on Apply and reopen the Idea - click Restart .

5. Testing the plugin

There are two new buttons:
  • press the left button (striped) to get a list of your tasks
  • press the right button (tick) to submit the task for review
Opening a CodeGymHomeWork project - 9
Important informationThe CodeGymPlugin.properties file contains your private key, don't show it to anyone. You can always log into your account using it. Happy learning!
Comments
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION