FAQ

Frequently asked questions by CP Editor users
  • How to fetch testcases from the websites?
    • You have to install Competitive Companion on your browser, and use it on the website while CP Editor is running.
  • How to submit to CF inside the editor?
    • You have to either parse the problem from Competitive Companion, or set the problem URL in the right-click menu of the tabs. Then you’ll see the submit button.
  • I am using it on Codeforces but the submit button is not clickable.
    • It’s because the editor can’t run the cf command. Please make sure it’s in the PATH or set the path to it in the Preferences.
  • When I click the Submit button, I get some message saying template is required?
    • cf tool requires you to configure it before you use it. Please run cf config to set the username & password and add a template.
  • I got an invalid payload when parsing sample testcases?
    • Please try restarting the browser and the editor. It’s known that there are few people always fail on this even after restarting, and Firefox is more stable than Google Chrome. We’re really sorry if it always fails, you can change a browser as for now, we will try our best to investigate it.
  • How to enable error linting in the code editor?
    • You need to install a Language Server program and set the settings in Preferences -> Extensions -> Language Server. You can learn about more details here.