You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm always frustrated when CodeRunner sends a command to the terminal to change to the current working directory. Now, I use the change to CWD setting, and I like it's functionality a lot. However, I don't like that it sends a command to my terminal for it. I'm not a fan of this.
Describe the solution you'd like
I think it would be great if CodeRunner started the terminal in the cwd of the code itself. This way, we can skip sending one command manually because that command takes up space and is distracting. A smarter change to cwd - I would really like this in CodeRunner. Seamless and invisible.
Specifics
I went through the code and found the relevant code on line:
So you'd probably have to change something on this line to make it work.
Makeshift solution
This is what I changed on my laptop to get a nicer output. I do not recommend actually using this in the extension's code, but this is how I'm handling it for the time being:
this._terminal.sendText(`cd "${cwd}" && cls`);
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm always frustrated when CodeRunner sends a command to the terminal to change to the current working directory. Now, I use the change to CWD setting, and I like it's functionality a lot. However, I don't like that it sends a command to my terminal for it. I'm not a fan of this.
Describe the solution you'd like
I think it would be great if CodeRunner started the terminal in the cwd of the code itself. This way, we can skip sending one command manually because that command takes up space and is distracting. A smarter change to cwd - I would really like this in CodeRunner. Seamless and invisible.
Specifics
I went through the code and found the relevant code on line:
vscode-code-runner/src/codeManager.ts
Line 454 in 5764bba
So you'd probably have to change something on this line to make it work.
Makeshift solution
This is what I changed on my laptop to get a nicer output. I do not recommend actually using this in the extension's code, but this is how I'm handling it for the time being:
The text was updated successfully, but these errors were encountered: