Skip to content

Remove quotes and .exe from VSCode command when calling from %PATH% #1574

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

Merged
merged 1 commit into from
Apr 26, 2025

Conversation

firai
Copy link
Contributor

@firai firai commented Apr 25, 2025

When VSCode isn't found from the portable folder within WinPython or %LOCALAPPDATA%, I understand that winvscode.bat tries to implicitly call it from %PATH%. However, the batch file calls "code.exe", which doesn't seem to work. Instead, we should just be able to call code.

@stonebig
Copy link
Contributor

ok

@stonebig stonebig merged commit 3631f53 into winpython:master Apr 26, 2025
@firai firai deleted the fix-vscode-launch-from-path branch April 29, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants