-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Pylance | syntax error near unexpected token `&' #16224
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
Comments
You can use |
@karthiknadig, my apologies. I'm very surprised! I do not know what happened, with al respect, I was under the assumption I pasted in necessary information |
@kwhjvdkamp I see. This is unrelated to Duplicate of #16175 |
Dear Karthik Nadig, thanks for answering so fast! I mean it! Succes!
Koen
---
K.W.H.J. van der Kamp
Karthik Nadig schreef op 12-05-2021 21:36:
@kwhjvdkamp [1] I see. This is unrelated to pylance, it is an issue with VS Code itself. They recently updated terminal settings, and this seems to be causing issues with terminal detection. In the extension we are not able to determine the right terminal shell being used so the commands we send to the terminal end up being wrong.
Duplicate of #16175 [2]
--
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [3], or unsubscribe [4].
|
@karthiknadig, my apologies. I'm very surprised! I do not know what happened, with al respect, I was under the assumption I pasted in necessary information
Problem! After acceptation latest Pylance yesterday it suddenly seems not possible anymore to use the little green triangle button pointing to the right, positioned at the top right of the IDE Python. On al terminals I ran into this issue: syntax error near unexpected token `&', where as execution a script at it sub level with command for example with bash $ python the script executes. It does matter is I change the default terminal to PS or Cmd.
@karthiknadig, my apologies. I'm very surprised! I do not know what happened, with al respect, I was under the assumption I pasted in necessary information
Version: 1.56.1 (user setup)
Commit: e713fe9b05fc24facbec8f34fb1017133858842b
Date: 2021-05-06T10:08:05.141Z
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Windows_NT x64 10.0.19042
python.languageServer: 2021.5.1
The text was updated successfully, but these errors were encountered: