-
Notifications
You must be signed in to change notification settings - Fork 131
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
support a "don't care" for cwd
in the runInTerminal
request
#160
Comments
how about just sending A special "don't care" value is no less a breaking change than allowing the key to be omitted; both require a client capability, right? |
A cwd |
not in my client. I don't really understand where the |
Depending on the implementation of |
Both VS Code (so far I have tested Linux and Windows) and VS are happy with empty string. Anyone have a client which isn't? |
In case it helps...
I suspect that any other client would reasonably expect the value supplied to be a valid path. |
Since I don't want to introduce a new capability for this ancillary feature, I propose to change the /**
* Working directory for the command. For non-empty, valid paths this typically results in execution of a change directory command ('cd cwd').
*/
cwd: string; |
LGTM |
Since the
cwd
property of therunInTerminal
request is not optional, it is not possible to express the "don't care" case, e.g. if a DA knows that the "cwd" is already correct and that there is no need to generate acd ...
command.The text was updated successfully, but these errors were encountered: