Positron won't recognize .qmd file types when reopening project in a new session #3713
Replies: 3 comments 6 replies
-
The icon for the fast-api-notes.qmd file in the Explorer pane, and the missing Preview button on the Editor bar seems to me that the Quarto extension is not installed or disabled somehow? Can you check your extensions to ensure the Quarto extension is installed and enabled? Positron pre-release 2024.06.1-27 did not have the Quarto extension bundled, but we should have it included in an upcoming pre-release soon. |
Beta Was this translation helpful? Give feedback.
-
I ensured that the Quarto extension and latest version of Quarto were installed prior to opening the issue and confirmed again just now. Thank you for replying. Please let me know if there are other things you'd like me to try or replicate. |
Beta Was this translation helpful? Give feedback.
-
I have resolved the issue and (surprise!) it's more user error than Positron. I had the following configuration I had ported over from my VS Code settings.json:
Removing these resolved the issue and Quarto works as expected. |
Beta Was this translation helpful? Give feedback.
-
I'm using Quarto to write notes on a learning project. There weren't any previous issues with this project on the same machine while using VS Code.
The issue seems to be that Positron will not recognize the
.qmd
file type when reopening the project (as noted by the text file icon next to the filename in the included image). Also, when trying to create a new code block using typical shortcuts or even the manual way, the Quarto doc does not recognize this or any previous code cells as being anything other than as if they were.txt
format.Though the example code block in the image is non-executable, removing the extra
{}
does not cause it to perform as expected.EDIT for clarity: I experience typical functionality when creating a new Quarto doc. Code blocks render, document knits, markdown syntax -- all good. However, closing Positron and reopening causes this file to be viewed as
.txt
and Quarto functionality is gone.System specs included:
Thank you all for making such a great tool. R with VS Code was clunky and this was great to see!
Beta Was this translation helpful? Give feedback.
All reactions