Skip to content
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

"SyntaxError: unexpected character after line continuation character" pops up #10531

Closed
linette-zyy opened this issue Jun 22, 2022 · 2 comments · Fixed by #10556
Closed

"SyntaxError: unexpected character after line continuation character" pops up #10531

linette-zyy opened this issue Jun 22, 2022 · 2 comments · Fixed by #10556
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@linette-zyy
Copy link

linette-zyy commented Jun 22, 2022

Environment data

Build of Visual Studio Code - Insiders: 1.69.0-insider(user setup)
Build of python-Pre-Release: v2022.9.11681004
Build of jupyter-Pre-Release: v2022.6.1001741036
Build of pylance-Pre-Release: v2022.6.21
Build of jupyter Notebook Renderers: v1.0.8
Build of jupyter Keymap: v1.0.0

Steps to reproduce:

1.Make sure Anaconda installed in local
2.Open the file src/test/datascience/manualTestFiles/manualTestFile.py in VS Code
3.At the top of the file it will list the things that you need installed in your Python environment
4. On the first cell click Run Below
5.Interactive Window should open, show connection information, and execute cells
6.Check the "# %% Latex"

Expected behaviour

Execute cells sucessfully without errors
image

Actual behaviour

image

image

Sample code

# %% Latex 

%%latex 

\begin{align} 

\nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ 

\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ 

\nabla \cdot \vec{\mathbf{B}} & = 0 

\end{align} 
@linette-zyy linette-zyy added the bug Issue identified by VS Code Team member as probable bug label Jun 22, 2022
@github-actions github-actions bot added the triage-needed Issue needs to be triaged label Jun 22, 2022
@rchiodo
Copy link
Contributor

rchiodo commented Jun 22, 2022

I wonder when this stopped working. Did we perhaps escape this before?

@rchiodo rchiodo added notebook-markdown and removed triage-needed Issue needs to be triaged labels Jun 22, 2022
@rchiodo rchiodo removed their assignment Jun 23, 2022
@DonJayamanne DonJayamanne added this to the June 2022 milestone Jun 24, 2022
@rchiodo rchiodo added the verified Verification succeeded label Jun 30, 2022
@rchiodo
Copy link
Contributor

rchiodo commented Jun 30, 2022

/verified

image

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants