-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Inline evaluation results no longer display in 2.0.216 #1332
Comments
Thanks for reporting! Are you using GitLense perhaps? |
I am using GitLens, yes. But disabling it doesn't seem to fix the bug. |
Thanks for trying that. Very strange. Do you have some other extension that annotates behind the line endings? I suspect it is a race condition between Calva and some other extension, but I'm really unsure about it, because I can have GitLense line blames on w/o conflict with inline results. BTW, anyone reading this and experiencing this bug. Run with Calva v2.0.215 for now. In the Extension pane, click the cogwheel in the Calva entry: |
I disabled all my other extensions except Calva, but it still didn't fix it. Here are the ones that I am actively using :
|
Hmmm. Does it work with |
It works fine with |
Thanks for updating about that. Since I can't reproduce the error, I might ask you for help debugging this. Would you be up for that? It's pretty easy to setup the dev environment, and it is detailed on the wiki. |
Sure, no problem. I will have a look at the wiki and see if I can setup the environment. |
@PEZ I have the dev environment setup. Let me know if there is anything specific I can do. |
That's awesome! The change that messes it up for you lives in I am curious about the difference in the DOM when it works and when it doesn't. If you open the developers tools (available from both the command palette and the Help menu) and inspect around the end of the line where the results are (or are not) displayed, maybe you can find a clue. That's all I can think up right now. It is a very strange error. |
Changing
|
Ah, so it was that other change. 😄 This is even more strange, though. Why wouldn't |
All seems fine :
Gives me :
|
So it is a string... please also check if any of these work: contentText.replaceAll(' ', "\u00a0")
contentText.replace(/ /g, "\u00a0") |
Debug tips: Instead of |
|
Wow, that's so strange! Why wouldn't I wonder if babel can be configured to fix it for us... But I also wonder about the root cause. ... Ah, a comment on this SO answer says it was added in nodejs 15. https://stackoverflow.com/a/1145525/44639 Which VS Code version are you on? |
|
This is from the about box on my VS Code:
Putting yours here for easy comparison:
|
It seems there are options for "User Installer" and "System Installer", and I may have chosen the former. Let me try the System Installer. |
Well, all that has changed is instead of "user setup" it nows says "system setup" 😅. I think it is a Windows thing, and I noticed you are using Mac. |
Now tested on my Windows machine and it works there.
This goes deeper. 😄 We can of course use |
I'd be happy to provide a PR. Should I create a separate issue to find the root cause? |
Awesome. Yes, please file an issue about Please also place the same workaround in |
Linked : #1339 |
Version: 1.61.0 (user setup)
Commit: ee8c7def80afc00dd6e593ef12f37756d8f504ea
Date: 2021-10-07T18:13:09.652Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19043
The text was updated successfully, but these errors were encountered: