Блог пользователя pushpavel

Автор pushpavel, 3 года назад, По-английски

The starting part of my competitive programming setup felt just ideal with vscode and its amazing cphelper extension. I remember reading articles like "Setting up your C++ competitive programming environment" that got me up in no time. Later, when I heard about Clion, I understood how much it could offer me. This time around CLion the starting part was not ideal but still okay. But I could not find something as simple and straightforward as cphelper in any of the plugins that I looked and most of their docs were clearly not making my setup any simpler. There was no way I could ignore CLion and its amazing features. So, I had to do something and this plugin is what I did.

Despite making it easier for me to use, I hope to make it as accessible as possible. It would be very helpful if you could let me know of any issues or suggestions on GitHub by opening a new issue and would love feedback by rating or reviewing the plugin. Use Discussions for any questions.

The instructions in this post are outdated, please refer the latest docs

AutoCp

Generate and judge your solution files in Programming Contests. See Docs

Competitive Companion browser extension is required to parse the problems from cp websites

AutoCp helps you

  • Create solution Files using Competitive Companion
  • Build and run any programming language by customizing the build command in Settings/Preferences > AutoCp
  • Test your solutions against sample testcases, or your own testcases
  • Test results are presented in Test Runner UI built in the IDE.

Installation

  • Using JetBrains Marketplace
  • Using IDE built-in plugin system:
    • Settings/Preferences > Plugins > Marketplace > Search for "AutoCp" > Install Plugin
  • Manually:
    • Download the latest release and install it manually using Settings/Preferences > Plugins > settings icon > Install plugin from disk...

Quick Start

  • Generate files by Tools > Gather Problems and parsing the problem or contest using Competitive Companion
  • Write your program
  • Run the file by right-clicking
  • Open View > Tool Windows > AutoCp to open testcase viewer
  • Customize Build commands or add new Programming Languages through Settings / Preferences > AutoCp

Supported IDEs

Android Studio, CLion, DataGrip, JetBrains Gateway, GoLand, IntelliJ IDEA Ultimate, IntelliJ IDEA Community, IntelliJ IDEA Educational, MPS, AppCode, PhpStorm, PyCharm Professional, PyCharm Community, PyCharm Educational, Rider, RubyMine, WebStorm

Screenshot

Полный текст и комментарии »

  • Проголосовать: нравится
  • +29
  • Проголосовать: не нравится