mfornet / acmx

Competitive programming made simple. VSCode extension.
MIT License
148 stars 9 forks source link

Submit to Codeforces #88

Closed mfornet closed 4 years ago

mfornet commented 4 years ago

This issue cover a subset of #35. Submit solution to Codeforces with a button using cf-tool

This can be easily implemented for now before implementing the submission for all platforms.

Proposal:

  1. Users should install cf-tools manually and have a global command that allows using it.
  2. When there is a problem open and is detected to be from codeforces enable the button to submit.
  3. When the button is clicked it should call the command that submits the solution.

It will require to store in the config.json details of the problem from competitive companion.

Salil03 commented 4 years ago

It would be better to not create a button and instead show this command in command pallete because there will be too many buttons.

Alternatively, remove the stress and upgrade buttons and add the submit button.