Skip to content

Settings And Commands

Marcelo Fornet edited this page Jun 15, 2020 · 4 revisions

Settings

  • acmx.run.timeLimit Maximum time limit in seconds to run the program on each test case.
  • acmx.execution.showRunIconInEditorTitleMenu Whether to show Run icon in editor title menu.
  • acmx.execution.showCompileIconInEditorTitleMenu Whether to show Compile icon in editor title menu.
  • acmx.execution.showSubmitIconInEditorTitleMenu Whether to show Submit icon in editor title menu.
  • acmx.execution.showStressIconInEditorTitleMenu Whether to show Stress icon in editor title menu.
  • acmx.stress.times Number of times to run the solution in stress mode.
  • acmx.configuration.copyToClipboardCommand Command to run to copy to clipboard. Leave empty to copy main program. $CODE is expanded to the path of the code.
  • acmx.configuration.tasks Path to default tasks file to include in the workspace.
  • acmx.configuration.launch Path to default launch file to include in the workspace.
  • acmx.template.solutionPath Path to solution template file. Leave empty to use default template.
  • acmx.template.bruteTemplate Path to brute solution template file. Leave empty to use default template.
  • acmx.template.checkerTemplate Path to checker template file. Leave empty to use default checker.
  • acmx.template.generatorTemplate Path to generator template file. Leave empty to use default template.
  • acmx.configuration.library Path to folder where contests and problems will be created and stored.
  • acmx.configuration.homePath Path to store global configuration.
  • acmx.companion.port Point competitive-companion service to this port.

Commands

  • ACMX: New Problem Create a new problem from name.
  • ACMX: New Contest Create a new contest from name and number of problems.
  • ACMX: Run editor/title Compile and run main solution against test cases.
  • ACMX: Add Test Case Add one test case.
  • ACMX: Open Test Case Open a particular test case.
  • ACMX: View: Code Change layout to display only main solution.
  • ACMX: Stress Run the solution against correct program using testcases from generator. Useful to find failing and corner cases.
  • ACMX: Upgrade Generate relevant files to call stress.
  • ACMX: Compile Compile main solution.
  • ACMX: Copy Submission Execute copyToClipboardCommand and puts it on the clipboard.