user.apps.vscode.command_client.vscode.py

Modules

Actions

user.command_server_directory() str

Return the directory of the command server

user.did_emit_pre_phrase_signal() bool

Indicates whether the pre-phrase signal was emitted at the start of this phrase

user.emit_pre_phrase_signal() bool

        If in an application supporting the command client, returns True         and touches a file to indicate that a phrase is beginning execution.         Otherwise does nothing and returns False.        

user.run_rpc_command(command_id: str, arg1: Any = typing.Any, arg2: Any = typing.Any, arg3: Any = typing.Any, arg4: Any = typing.Any, arg5: Any = typing.Any)

Execute command via RPC.

user.run_rpc_command_and_wait(command_id: str, arg1: Any = typing.Any, arg2: Any = typing.Any, arg3: Any = typing.Any, arg4: Any = typing.Any, arg5: Any = typing.Any)

Execute command via application command server and wait for command to finish.

user.run_rpc_command_get(command_id: str, arg1: Any = typing.Any, arg2: Any = typing.Any, arg3: Any = typing.Any, arg4: Any = typing.Any, arg5: Any = typing.Any) Any

Execute command via application command server and return command output.

user.trigger_command_server_command_execution()

Issue keystroke to trigger command server to execute command that         was written to the file.  For internal use only

Actions

user.vscode(command_id: str)

Execute command via vscode command server, if available, or fallback         to command palette.

user.vscode_and_wait(command_id: str)

Execute command via vscode command server, if available, and wait         for command to finish.  If command server not available, uses command         palette and doesn't guarantee that it will wait for command to         finish.

user.vscode_get(command_id: str, arg1: Any = typing.Any, arg2: Any = typing.Any, arg3: Any = typing.Any, arg4: Any = typing.Any, arg5: Any = typing.Any) Any

Execute command via vscode command server and return command output.

user.vscode_with_plugin(command_id: str, arg1: Any = typing.Any, arg2: Any = typing.Any, arg3: Any = typing.Any, arg4: Any = typing.Any, arg5: Any = typing.Any)

Execute command via vscode command server.

user.vscode_with_plugin_and_wait(command_id: str, arg1: Any = typing.Any, arg2: Any = typing.Any, arg3: Any = typing.Any, arg4: Any = typing.Any, arg5: Any = typing.Any)

Execute command via vscode command server and wait for command to finish.