-
Notifications
You must be signed in to change notification settings - Fork 31
Configuration
Alexey Dmitriev edited this page Aug 5, 2018
·
18 revisions
-
Install JHelper plugin using plugin repository browser in your IDE:
File-Settings-Editor-Plugins-Browse Repositories
-
Make possible to call JHelper action. Yo should do one or both of the following:
- Add icons of actions to menu or toolbar. Go to
File-Settings-Appearance & Behavior-Menus and Toolbars-Main Menu/Toolbar-Add after-Plugins-JHelper-select all
. Make the toolbar visible to see the icons.View - ToolBar
- Add shortcuts for actions.
File-Settings-Keymap-Plugins-JHelper
- Add icons of actions to menu or toolbar. Go to
-
Optionally download the example project, where some configuration is already made.
-
Go to configuration window
- Choose author name. It'll be inserted in the comment generated by JHelper in source file
- Choose task directory. It's the place where tasks will be created by default. Note, that cpp files for created task should be compiled (In other words, be part of some target(see first step of creating run configuration))
- Choose output file. It is file you'll submit to OJ. It should be compiled too.
- Choose run file. It is file generated to test your solution on added test. Should be a part of run configuration called "testrunner"
- Put you library files somewhere so that you can include them from tasks. For CLion each file should be mentioned in CMakeLists.txt until CPP-263 is fixed
How to create run configuration in CLion?
-
If you plan to run submission code locally(for example for CodeJam, HackerCup), please also configure it.
-
You also may install Browser Extension to parse task from your browsers.