-
Related to #1737
Perhaps because PRQL comments start with quarto-cli/src/core/lib/partition-cell-options.ts Lines 279 to 322 in 56da834 Perhaps using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Thanks for the suggestion. However, if you want IDE support for autocompletion and validation of those cells, quarto needs to know the correct language. We choose not to use So, the best course of action is for folks to submit PRs with the comment syntax for their languages. |
Beta Was this translation helpful? Give feedback.
Thanks for the suggestion.
kLangCommentChars
so that quarto knows how to extract "comment-pipe" yaml blocks from code cells. As you have noticed, knitr does its own detection of comment-pipe blocks, and so in the knitr engine, this works.However, if you want IDE support for autocompletion and validation of those cells, quarto needs to know the correct language.
We choose not to use
#|
as a default because we don't want people to get in the habit of writing invalid source code in code cells (that would mean that, for example, our jupyter cell conversion would get more complicated.)So, the best course of action is for folks to submit PRs with the comment syntax for their languages.