{ "name": "riscv-asm", "displayName": "RISC-V Assembly", "description": "Support pour le développement en assembleur RISC-V", "version": "0.0.1", "engines": { "vscode": "^1.101.0" }, "categories": [ "Programming Languages", "Other" ], "activationEvents": [ "onLanguage:riscv-asm" ], "main": "./out/extension.js", "contributes": { "commands": [ { "command": "riscv-asm.helloWorld", "title": "Hello World", "category": "RISC-V" }, { "command": "riscv-asm.compile", "title": "Compile RISC-V File", "category": "RISC-V", "icon": "$(tools)" }, { "command": "riscv-asm.run", "title": "Run in QEMU", "category": "RISC-V", "icon": "$(play)" }, { "command": "riscv-asm.compileAndRun", "title": "Compile & Run", "category": "RISC-V", "icon": "$(play-circle)" } ], "menus": { "editor/title": [ { "when": "resourceExtname == .s || resourceExtname == .asm || resourceExtname == .rv", "command": "riscv-asm.compile", "group": "navigation@1" }, { "when": "resourceExtname == .s || resourceExtname == .asm || resourceExtname == .rv", "command": "riscv-asm.run", "group": "navigation@2" }, { "when": "resourceExtname == .s || resourceExtname == .asm || resourceExtname == .rv", "command": "riscv-asm.compileAndRun", "group": "navigation@3" } ], "editor/context": [ { "when": "resourceExtname == .s || resourceExtname == .asm || resourceExtname == .rv", "command": "riscv-asm.compileAndRun", "group": "risc-v" } ], "commandPalette": [ { "command": "riscv-asm.compile", "when": "resourceExtname == .s || resourceExtname == .asm || resourceExtname == .rv" }, { "command": "riscv-asm.run", "when": "resourceExtname == .s || resourceExtname == .asm || resourceExtname == .rv" }, { "command": "riscv-asm.compileAndRun", "when": "resourceExtname == .s || resourceExtname == .asm || resourceExtname == .rv" } ] }, "languages": [ { "id": "riscv-asm", "aliases": [ "RISC-V Assembly", "riscv-asm" ], "extensions": [ ".s", ".asm", ".rv" ], "configuration": "./language-configuration.json" } ], "grammars": [ { "language": "riscv-asm", "scopeName": "source.riscv-asm", "path": "./syntaxes/riscv-asm.tmLanguage.json" } ], "snippets": [ { "language": "riscv-asm", "path": "./snippets/riscv.json" } ] }, "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "watch": "tsc -watch -p ./", "pretest": "npm run compile && npm run lint", "lint": "eslint src", "test": "vscode-test" }, "devDependencies": { "@types/vscode": "^1.101.0", "@types/mocha": "^10.0.10", "@types/node": "22.x", "@typescript-eslint/eslint-plugin": "^8.39.0", "@typescript-eslint/parser": "^8.39.0", "eslint": "^9.32.0", "typescript": "^5.9.2", "@vscode/test-cli": "^0.0.11", "@vscode/test-electron": "^2.5.2" } }