123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- {
- "name": "acmx",
- "displayName": "acmX",
- "description": "Competitive Programming made simple",
- "icon": "images/logo.png",
- "publisher": "marx24",
- "version": "0.2.6",
- "license": "MIT",
- "engines": {
- "vscode": "^1.30.0"
- },
- "author": {
- "name": "Marcelo Fornet"
- },
- "categories": [
- "Other"
- ],
- "activationEvents": [
- "*"
- ],
- "main": "./out/extension",
- "contributes": {
- "configuration": [
- {
- "title": "acmX",
- "properties": {
- "acmx.run.timeLimit": {
- "type": "number",
- "default": 2,
- "description": "Maximum time limit in seconds to run the program on each test case.",
- "scope": "resource"
- },
- "acmx.stress.times": {
- "type": "number",
- "default": 10,
- "description": "Number of times to run the solution in stress mode.",
- "scope": "resource"
- },
- "acmx.execution.compile": {
- "type": "string",
- "default": "g++ -std=c++11 $PROGRAM -o $OUTPUT",
- "description": "Command to compile the program. Refer to the code as $PROGRAM, and output file as $OUTPUT.",
- "scope": "resource"
- },
- "acmx.execution.pythonPath": {
- "type": "string",
- "default": "/usr/bin/python3",
- "description": "Path to python executable.",
- "scope": "resource"
- },
- "acmx.configuration.copyToClipboardCommand": {
- "type": "string",
- "default": "",
- "description": "Command to run to copy to clipboard. Leave empty to copy main program. Refer to the code as $PROGRAM",
- "scope": "resource"
- },
- "acmx.configuration.tasks": {
- "type": "string",
- "default": "",
- "description": "Path to default tasks file to include in the workspace.",
- "scope": "resource"
- },
- "acmx.configuration.launch": {
- "type": "string",
- "default": "",
- "description": "Path to default launch file to include in the workspace.",
- "scope": "resource"
- },
- "acmx.configuration.templatePath": {
- "type": "string",
- "default": "",
- "description": "Path to template file. Leave empty to use default template.",
- "scope": "resource"
- },
- "acmx.configuration.solutionPath": {
- "type": "string",
- "default": ".",
- "description": "Path to folder where contest will be created and stored. To set active workspace use `.`",
- "scope": "resource"
- },
- "acmx.configuration.extension": {
- "type": "string",
- "default": "cpp",
- "description": "Extension of the programming language you will use to code solutions. Default `cpp` for c++",
- "scope": "resource"
- },
- "acmx.companion.port": {
- "type": "number",
- "default": 10042,
- "description": "Point competitive-companion service to this port.",
- "scope": "resource"
- }
- }
- }
- ],
- "commands": [
- {
- "command": "acmx.addProblem",
- "title": "ACMX: New Problem"
- },
- {
- "command": "acmx.addContest",
- "title": "ACMX: New Contest"
- },
- {
- "command": "acmx.runSolution",
- "title": "ACMX: Run"
- },
- {
- "command": "acmx.openTestcase",
- "title": "ACMX: Open Test Case"
- },
- {
- "command": "acmx.addTestcase",
- "title": "ACMX: Add Test Case"
- },
- {
- "command": "acmx.coding",
- "title": "ACMX: View: Code"
- },
- {
- "command": "acmx.stress",
- "title": "ACMX: Stress"
- },
- {
- "command": "acmx.upgrade",
- "title": "ACMX: Upgrade"
- },
- {
- "command": "acmx.compile",
- "title": "ACMX: Compile"
- },
- {
- "command": "acmx.setChecker",
- "title": "ACMX: Set Checker"
- },
- {
- "command": "acmx.debugTestCase",
- "title": "Select Test Case"
- },
- {
- "command": "acmx.copyToClipboard",
- "title": "ACMX: Copy Submission"
- }
- ],
- "keybindings": [
- {
- "command": "acmx.compile",
- "key": "ctrl+alt+b"
- },
- {
- "command": "acmx.runSolution",
- "key": "ctrl+alt+l"
- },
- {
- "command": "acmx.stress",
- "key": "ctrl+alt+k"
- },
- {
- "command": "acmx.coding",
- "key": "ctrl+alt+o"
- },
- {
- "command": "acmx.upgrade",
- "key": "ctrl+alt+u"
- },
- {
- "command": "acmx.copyToClipboard",
- "key": "ctrl+alt+m"
- }
- ],
- "menus": {
- "explorer/context": [
- {
- "command": "acmx.debugTestCase",
- "group": "acmx@1",
- "when": "resourceExtname == .in"
- }
- ],
- "commandPalette": [
- {
- "command": "acmx.debugTestCase",
- "when": "false"
- }
- ]
- }
- },
- "scripts": {
- "vscode:prepublish": "npm run compile",
- "compile": "tsc -p ./",
- "watch": "tsc -watch -p ./",
- "postinstall": "node ./node_modules/vscode/bin/install",
- "test": "npm run compile && node ./node_modules/vscode/bin/test"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/mfornet/acmx.git"
- },
- "bugs": {
- "url": "https://github.com/mfornet/acmx/issues",
- "email": "mfornet94@gmail.com"
- },
- "devDependencies": {
- "@types/got": "^9.3.0",
- "@types/mocha": "^2.2.42",
- "@types/node": "^8.10.25",
- "@types/md5-file": "^4.0.0",
- "tslint": "^5.8.0",
- "typescript": "^3.1.4",
- "vscode": "^1.1.33"
- },
- "dependencies": {
- "got": "^9.5.0",
- "jssoup": "0.0.10",
- "sync-request": "^6.0.0",
- "unescape": "^1.0.1",
- "express": "^4.16.4",
- "body-parser": "^1.18.3",
- "md5-file": "^4.0.0",
- "clipboardy": "^2.2.0"
- }
- }
|