Skip to content
Evgenii Balai edited this page Jun 12, 2015 · 18 revisions
  • Install JHelper plugin using plugin repository browser in your IDE:
    File-Settings-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. Click to the toolbar-Customize menus and toolbars-Main menu/toolbar-Add after-Plugins-JHelper-select all
    • Add shortcuts for actions. Preferences-Keymap-Plugins-JHelper
  • 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 AppCode?
How to create run configuration in CLion?