-
Notifications
You must be signed in to change notification settings - Fork 29
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
Possible conflict between Quarto extension and Dropbox causing corruption #538
Comments
Also noting that I have tested after reverting to default settings for both the Quarto extension and R extension and still see this issue. Previously I had changed R extension settings to use the radian terminal, but it seems unrelated to that. |
Here's some steps that reliably cause this issue for me every time:
After saving, the line of code and closing fence for the code block disappear. See screencap below. Screen.Recording.2024-09-13.at.12.41.06.mov |
I've noticed that this issue appears to be correlated with the appearance of a |
Thank you, this is helpful. This likely points to an issue in apps/vscode/src/vdoc/vdoc-tempfile.ts. See https://github.com/quarto-dev/quarto/blob/main/apps/vscode/src/vdoc/vdoc-tempfile.ts#L45: that's where we'd create a |
@cscheid thank you. I tried debugging the extension but it's beyond my ability. I also just discovered that this issue is related to the VSCode workspace directory being in Dropbox. Outside Dropbox everything seems to be fine, so I guess Dropbox interferes with |
I'm experiencing a frustrating issue where certain actions cause unwanted changes to my Quarto documents in VSCode. Sometimes when I paste code into an R code block in qmd file or save the file, parts of the document will get changed or corrupted. This appears to occur only when both the Quarto and REditorSupport extensions are enabled. If just one of those two is enabled, I don't see the issue. It does not occur on every paste or save and I can't figure out what is the trigger aside from those actions. I presume it is related to code formatting.
As an example, here is a screenshot of a freshly created qmd file:
And here is how it looks after pasting one line of code into the R code block:
My setup:
The text was updated successfully, but these errors were encountered: