Skip to content

meseer/intellijcoder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intellijcoder

IntelliJ IDEA plugin for TopCoder

Installation

  • Automatically: just like any other IntelliJ IDEA plugin:
    • Windows: File -> Settings -> Plugins -> Browse repositories... -> IntelliJCoder -> Download and install
    • Mac OS: IntelliJ IDEA -> Preferences -> Plugins -> Browse repositories... -> IntelliJCoder -> Download and install
  • Manually: download the latest jar file: https://code.google.com/p/intellijcoder/downloads/list and place it in the plugins directory:
    • Windows: <user.home>/.IdeaXXXX/config/plugins/
    • Mac OS: <user.home>/Library/Application Support/IdeaXXXX/

Usage

  • Create new or open existing project in IntelliJ IDEA
  • Press TopCoder button TopCoder icon on the main toolbar to launch Arena applet (please note, that the main toolbar is hidden by default, Click View -> Toolbar to enable it)
  • Login to Arena, then select a contest and open a problem
  • IntelliJCoder will automatically create a new module with a solution stub and a test class and run tests
  • After you finished editing your code, use Compile and Sumbit buttons in Arena to submit your code to TopCoder servers
  • Thanks to the contributors you can now setup your favorite imports and method templates in Settings:
    • Windows: File -> Settings -> IntelliJCoder
    • Mac OS: IntelliJ IDEA -> Preferences -> IntelliJCoder

Screenshot

TopCoder icon

How to build (for contributors)

  • Check out project

    git clone https://github.com/fadeyev/intellijcoder.git
    
  • Repository contains .idea project files, so just open the project in IDEA: File -> Open

  • Configure the project:

    • Open project settings: File -> Project Structure (Ctrl+Alt+Shift+S)
    • Set up IntelliJ IDEA Plugin SDK: Project -> Project SDK -> New... ->IntelliJ Platform Plugin SDK -> <Pick your IDEA directory> -> OK
    • Set this SDK as SDK for modules: Modules -> intellijcoder -> Dependencies -> Module SDK -> <Pick your SDK here> Modules -> intellijcoder-idea -> Dependencies -> Module SDK -> <Pick your SDK here>
    • You also need to set up IDEA Junit plugin library location, since IntelliJCoder depends on it: Libraries -> JUnit IDEA Plugin -> <If idea-junit.jar location is incorrect, please set up the correct one>
    • Check that there are no errors at the bottom of the dialog. Press OK to close Project Settings.
  • To be able to debug the plugin you may want to check out fresh IntelliJ IDEA sources: http://www.jetbrains.org/pages/viewpage.action?pageId=983225

    git clone https://github.com/JetBrains/intellij-community.git
    

    and then attach them to IntelliJ IDEA Plugin SDK: File -> Project Structure -> SDKs -> IDEA IC-*** -> Sourcepath -> Add -> <Point to the checked out folder>

  • To build a jar file, right-click on intellijcoder-idea module, select the option "Prepare Plugin Module intellijcoder-idea for Deployment"

About

IntelliJ IDEA plugin for TopCoder

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 100.0%