リポジトリ / emssr / independent_common_compiler
r2
| r2 emssr | 1 | { |
| r2 emssr | 2 | "name": "common-scope", |
| r2 emssr | 3 | "displayName": "Common scope", |
| r2 emssr | 4 | "description": "Common 言語の平文を書き、commonc が組んだ内部表現を横で見る。", |
| r2 emssr | 5 | "version": "0.1.0", |
| r2 emssr | 6 | "publisher": "continuous-republic", |
| r2 emssr | 7 | "private": true, |
| r2 emssr | 8 | "engines": { "vscode": "^1.75.0" }, |
| r2 emssr | 9 | "categories": ["Programming Languages", "Visualization"], |
| r2 emssr | 10 | "activationEvents": ["onLanguage:common"], |
| r2 emssr | 11 | "main": "./extension.js", |
| r2 emssr | 12 | "contributes": { |
| r2 emssr | 13 | "languages": [ |
| r2 emssr | 14 | { |
| r2 emssr | 15 | "id": "common", |
| r2 emssr | 16 | "aliases": ["Common", "cmn"], |
| r2 emssr | 17 | "extensions": [".cmn"], |
| r2 emssr | 18 | "configuration": "./language-configuration.json" |
| r2 emssr | 19 | }, |
| r2 emssr | 20 | { |
| r2 emssr | 21 | "id": "common-lexicon", |
| r2 emssr | 22 | "aliases": ["Common lexicon"], |
| r2 emssr | 23 | "extensions": [".dic"], |
| r2 emssr | 24 | "configuration": "./language-configuration.json" |
| r2 emssr | 25 | } |
| r2 emssr | 26 | ], |
| r2 emssr | 27 | "grammars": [ |
| r2 emssr | 28 | { "language": "common", "scopeName": "source.cmn", "path": "./syntaxes/cmn.tmLanguage.json" }, |
| r2 emssr | 29 | { "language": "common-lexicon", "scopeName": "source.cmn", "path": "./syntaxes/cmn.tmLanguage.json" } |
| r2 emssr | 30 | ], |
| r2 emssr | 31 | "commands": [ |
| r2 emssr | 32 | { "command": "commonScope.open", "title": "Common scope: notebook を開く" }, |
| r2 emssr | 33 | { "command": "commonScope.send", "title": "Common scope: このファイルを全パネルへ送る" }, |
| r2 emssr | 34 | { "command": "commonScope.pane", "title": "Common scope: パネルを一枚開く" }, |
| r2 emssr | 35 | { "command": "commonScope.stop", "title": "Common scope: server を止める" } |
| r2 emssr | 36 | ], |
| r2 emssr | 37 | "keybindings": [ |
| r2 emssr | 38 | { |
| r2 emssr | 39 | "command": "commonScope.send", |
| r2 emssr | 40 | "key": "ctrl+enter", |
| r2 emssr | 41 | "when": "editorTextFocus && editorLangId == common" |
| r2 emssr | 42 | } |
| r2 emssr | 43 | ], |
| r2 emssr | 44 | "configuration": { |
| r2 emssr | 45 | "title": "Common scope", |
| r2 emssr | 46 | "properties": { |
| r2 emssr | 47 | "commonScope.port": { |
| r2 emssr | 48 | "type": "number", |
| r2 emssr | 49 | "default": 8787, |
| r2 emssr | 50 | "description": "server.py が待ち受ける port。" |
| r2 emssr | 51 | }, |
| r2 emssr | 52 | "commonScope.python": { |
| r2 emssr | 53 | "type": "string", |
| r2 emssr | 54 | "default": "python", |
| r2 emssr | 55 | "description": "server.py を動かす Python の実行ファイル。" |
| r2 emssr | 56 | }, |
| r2 emssr | 57 | "commonScope.root": { |
| r2 emssr | 58 | "type": "string", |
| r2 emssr | 59 | "default": "", |
| r2 emssr | 60 | "description": "common_scope_notebook のフォルダ。空なら workspace の中から探す。" |
| r2 emssr | 61 | } |
| r2 emssr | 62 | } |
| r2 emssr | 63 | } |
| r2 emssr | 64 | } |
| r2 emssr | 65 | } |