MCPcopy Index your code
hub / github.com/fadeyev/intellijcoder

github.com/fadeyev/intellijcoder @v2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0 ↗ · + Follow
515 symbols 1,345 edges 56 files 50 documented · 10%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

intellijcoder

IntelliJ IDEA plugin for TopCoder

Installation

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

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

Support

New features are developed by contributors now (thanks a lot to all of them). I don't actively develop this project - only critical bug fixes. However, contributions are always welcome. I'll do my best to merge your changes and deploy a new version to JetBrains website.

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"

Extension points exported contracts — how you extend this code

WorkspaceManager (Interface)
Handler for TopCoder events on IDE side @author Konstantin Fadeyev 13.01.11 [6 implementers]
intellijcoder/src/intellijcoder/workspace/WorkspaceManager.java
Ide (Interface)
Interface to IDE facilities requiered by IntelliJCoder @author Konstantin Fadeyev 15.01.11 [2 implementers]
intellijcoder/src/intellijcoder/idea/Ide.java
ArenaPlugin (Interface)
Interface for TopCoder editor plugin as specified here: http://www.topcoder.com/contest/classes/How%20to%20create%20an%2 [2 …
intellijcoder/src/intellijcoder/arena/ArenaPlugin.java

Core symbols most depended-on inside this repo

equals
called by 27
intellijcoder/src/intellijcoder/model/Problem.java
getInstance
called by 25
intellijcoder-idea/src/intellijcoder/idea/ConfigurationService.java
createProblemWorkspace
called by 17
intellijcoder/src/intellijcoder/workspace/WorkspaceManager.java
start
called by 14
intellijcoder/src/intellijcoder/ipc/IntelliJCoderServer.java
addRow
called by 13
intellijcoder/src/intellijcoder/workspace/CodeBuilder.java
launch
called by 13
intellijcoder/src/intellijcoder/os/ProcessLauncher.java
setProblemComponent
called by 13
intellijcoder/src/intellijcoder/arena/ArenaPlugin.java
toString
called by 11
intellijcoder/src/intellijcoder/model/Problem.java

Shape

Method 454
Class 55
Enum 3
Interface 3

Languages

Java100%

Modules by API surface

intellijcoder/test/intellijcoder/ipc/ClientServerIntegrationTest.java65 symbols
intellijcoder/test/intellijcoder/arena/ProblemComponentModelMaker.java65 symbols
intellijcoder-idea/src/intellijcoder/idea/IntelliJIDEA.java34 symbols
intellijcoder/test/intellijcoder/arena/ProblemComponentModelStub.java26 symbols
intellijcoder/test/intellijcoder/arena/IntelliJCoderArenaPluginTest.java21 symbols
intellijcoder/src/intellijcoder/arena/IntelliJCoderArenaPlugin.java17 symbols
intellijcoder-idea/src/intellijcoder/idea/Injector.java17 symbols
intellijcoder/src/intellijcoder/model/Problem.java15 symbols
intellijcoder/test/intellijcoder/workspace/TestCodeBuilderTest.java14 symbols
intellijcoder/test/intellijcoder/arena/ArenaConfigManagerTest.java13 symbols
intellijcoder/src/intellijcoder/arena/ArenaAppletInfo.java12 symbols
intellijcoder/src/intellijcoder/ipc/IntelliJCoderClient.java11 symbols

For agents

$ claude mcp add intellijcoder \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact