-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document all commands that support passing arguments #4298
Labels
Comments
Commands to add:
This is not a complete list, only those known to me. |
Related to #683 |
My terminal is suddenly not opening to the current project (zsh / mac). I keep reading about |
moathdarwesh
added a commit
to moathdarwesh/vscode-docs
that referenced
this issue
May 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This page has a list of commands: https://code.visualstudio.com/api/references/commands
All of them can be executed from extension with
vscode.commands.executeCommand
, but some of them can be used fromkeybindings.json
file with "args", likevscode.setEditorLayout
oreditorScroll
. The list is not complete, though.I think this page should contain all commands that accept arguments.
2 notes:
keybindings.json
: not possible to run some commands likevscode.openFolder
For instance, there is a command that supports accepting args
And it's pretty useful for users, but if you are an extension author - then the api
Terminal.sendText()
is most likely what you need.The text was updated successfully, but these errors were encountered: