microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.9k stars 29.17k forks source link

Access VSCode APIs/Commands from Command Line #92696

Closed sunliangqin closed 4 years ago

sunliangqin commented 4 years ago

Is it possible to make vscode APIs/Commands accessible from command line? So we can control it interactively from the terminal or perform various actions in sequence in a script. Just like vim, this is kind of command mode for vcode.

E.g. In PowerShell, I can run the following command to format all opened documents. image

vscodebot[bot] commented 4 years ago

We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding and happy coding!