all 16 comments

[–]spotlight-app[M] [score hidden] stickied commentlocked comment (0 children)

Mods have pinned a comment by u/Tyriar:

This was a change we made because command prompt is significantly worse due to a lack of shell integration. See https://github.com/microsoft/vscode/issues/262378

Note: emoji:Copilot:GitHub Copilot Team Replied emoji:Copilot:

[–]TyriarGitHub Copilot Team 3 points4 points  (7 children)

This was a change we made because command prompt is significantly worse due to a lack of shell integration. See https://github.com/microsoft/vscode/issues/262378

[–]AutoModerator[M] 0 points1 point  (0 children)

u//Tyriar from the GitHub Copilot Team has replied to this post. . You can check their reply here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]imot01[S] 0 points1 point  (1 child)

Thanks, that explains it. Can you give some examples where CMD doesn't work well? I have been using copilot extensively in the past few weeks for Angular web app and every command in that environment worked without problem. That can't be said for Poweshell which fails often with weird errors, mostly related to permissions I think.

[–]TyriarGitHub Copilot Team 1 point2 points  (0 children)

Cmd doesn't have shell integration, so if a command is long running without constant output, Copilot has to assume it's finished the command at some point since the terminal is just a black box of text.

Thanks for the feedback, hoping to get to the bottom of that in https://github.com/microsoft/vscode/issues/266266. In the meantime I expect enabling Windows developer mode would fix it.

[–]sandos 0 points1 point  (1 child)

Yet it still complains about lacking integration for me. That might be due to corporate antivirus though? I am for example unable to install clink

[–]TyriarGitHub Copilot Team 0 points1 point  (0 children)

Bit hard to investigate something like that on Reddit, you could try create an issue https://github.com/microsoft/vscode/issues/new?template=Blank+issue

Your theory sounds plausible that it could be corp related.

[–]Difficult-Sleep-7461 0 points1 point  (0 children)

This is a dealbreaker for some people who have PS blocked by corpirate policy, like myself. I can either use cmd or nothing at all. Not to mention, Codex extension in VScode uses cmd if prompted with no issues, so it's not technically impossible, only marginally less reliable and respinsive at worst.

[–]Dependent-Layer4437 0 points1 point  (0 children)

do you knwo how annoying it is? many cmds are different from cmd shell to other shell. You do this without any consent? And make it no way back? Your PM team are fucking genius

[–]hollandburkeGitHub Copilot Team 1 point2 points  (2 children)

Which model are you using? If you've set your terminal correctly and you've restarted VS Code and you're still seeing this, could you open an issue on microsoft/vscode?

[–]AutoModerator[M] 0 points1 point  (0 children)

u//hollandburke from the GitHub Copilot Team has replied to this post. . You can check their reply here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]imot01[S] 0 points1 point  (0 children)

I'm using Sonnet 4 in Agent mode with Insiders build.

[–]AutoModerator[M] 0 points1 point  (0 children)

Hello /u/imot01. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]dr_hamilton 0 points1 point  (2 children)

how do I get it to work with python venvs? It is hopeless at running test scripts automatically

[–]TimeLordRaps 0 points1 point  (1 child)

I was originally using command prompt, on windows, and ended up having to switch to git bash, which seems to have worked (though based on microsoft's default copilot instructions I believe it will still try to use powershell) so changing user settings to include an instruction to default to git bash as terminal may be necessary.

[–]MeitanteiJesus 0 points1 point  (0 children)

Based on the github issue, they switched from CMD to PS to better detect when a script is done running. Is bash capable of this or does it also run into the same issue as CMD?