[
{ “keys”: [“f5”], “command”: “build”, “args”: {“select”: true} },
{
“keys”: [";"], “command”: “astyleformat”,
//I want to use the command at the same time, save the input key.
/*
Just like Visual Studio:
int a = 0;
Typing a semicolon at the same time automatic alignment, And keep the semicolon won’t disappear.
*/
“context”: [{“key”: “astyleformat_is_enabled”, “operator”: “equal”, “operand”: “”}]
},
]
Thank you for your answer to me, the problem is solved.