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
With the editor in Shinylive for Python, in some cases it will add or delete extra characters, or show text that isn't really there.
In the video below, there is some code that has very weird syntax -- it calls a function using a named argument before using the spread operator on a list. In the recording, I try to move the cursor one step at at a time, and then add commas and delete them one at a time. Then when I move the cursor, it shows some of the text duplicated, and then it goes away.
I am pretty sure this is due Pyright: if I add # type: ignore to the end of that line, then the weird behavior stops.
I think it's also because we are using a very old version of Pyright. I have not been able to reproduce this in VS Code with recent versions of Pylance.
The text was updated successfully, but these errors were encountered:
With the editor in Shinylive for Python, in some cases it will add or delete extra characters, or show text that isn't really there.
In the video below, there is some code that has very weird syntax -- it calls a function using a named argument before using the spread operator on a list. In the recording, I try to move the cursor one step at at a time, and then add commas and delete them one at a time. Then when I move the cursor, it shows some of the text duplicated, and then it goes away.
shinylive-weird-compressed.mp4
Live example
I am pretty sure this is due Pyright: if I add
# type: ignore
to the end of that line, then the weird behavior stops.I think it's also because we are using a very old version of Pyright. I have not been able to reproduce this in VS Code with recent versions of Pylance.
The text was updated successfully, but these errors were encountered: