Some commands rely on context to determine the local file path. When right-clicking the file in VS Code explorer to run the command, the path is provided via the context of the file or editor window that was right-clicked. When using CTRL+ALT+P, this context information is missing, so the command fails.
upload (cp) - needs local file path
run file on device (run) - needs local file path
Solution would be to use active editor window path if it exists. Otherwise, a message to open a file first.
Some commands rely on context to determine the local file path. When right-clicking the file in VS Code explorer to run the command, the path is provided via the context of the file or editor window that was right-clicked. When using CTRL+ALT+P, this context information is missing, so the command fails.
Solution would be to use active editor window path if it exists. Otherwise, a message to open a file first.