Skip to content
Marcelo Fornet edited this page Nov 1, 2020 · 3 revisions

To submit directly from the extension use the command ACMX: Submit or activate submit button in configuration showSubmitIconInEditorTitleMenu. Submissions are done using 3rd party tools that can be executed from the terminal.

Specify the command acmx.configuration.submitCommand to be executed in order to submit the solution. The following tags will be expanded with relevant information:

  • $CODE: Path to the solution
  • $URL: Url of the problem to submit

If the settings acmx.configuration.copyToClipboardCommand exists (i.e. it is not empty), it will be executed first, and its output will be used as submission.

The default for acmx.configuration.submitCommand is cf submit -f $CODE $URL which invokes cf-tools from the terminal to perform the submission. Notice before being able to submit using this tools it is required to install it and configure it.

There are other 3rd party tools that can be used such as Online Judge Tools(oj). Make sure to check your preferred tool to make automatic submissions.