プログラミング/Visual Studio Code の履歴(No.1)
更新コマンドマクロ†
Ctrl+M で、
- ターミナルに移動
- make を実行
- エディタへ戻る
をしたいような時、
macro-commander という Extention を使うと良いみたい。
プロジェクトフォルダの .vscode/settings.json に、
LANG: json { "macros": { "run make": [ "workbench.action.terminal.focus", { "command": "workbench.action.terminal.sendSequence", "args": { "text": "make\n" } }, "workbench.action.focusActiveEditorGroup" ] } }
のように書いておくと、Ctrl+K Ctrl+S のキーボードショートカット一覧に
のように macros.run make が出るので、
Counter: 2561 (from 2010/06/03),
today: 2,
yesterday: 1