Skip to content

fix: engine autocomplete does not show julia and markdown #13164

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/changelog-1.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,4 @@ All changes included in 1.8:
- ([#12782](https://github.com/quarto-dev/quarto-cli/pull/12782)): fix bug on `safeRemoveDirSync`'s detection of safe directory boundaries.
- ([#12853](https://github.com/quarto-dev/quarto-cli/issues/12853)): fix replaceAll() escaping issue with embedded notebooks containing `$` in their Markdown.
- ([#12939](https://github.com/quarto-dev/quarto-cli/pull/12939)): Upgrade `mermaidjs` to 11.6.0.
- ([#13164](https://github.com/quarto-dev/quarto-cli/pull/13164)): add `julia` and `markdown` to execute schema to allow autocomplete suggestions.
20 changes: 11 additions & 9 deletions src/resources/editor/tools/vs-code.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14602,7 +14602,9 @@ var require_yaml_intelligence_resources = __commonJS({
string: {
completions: [
"jupyter",
"knitr"
"knitr",
"julia",
"markdown"
]
}
},
Expand Down Expand Up @@ -22493,6 +22495,9 @@ var require_yaml_intelligence_resources = __commonJS({
"Specification of a light logo",
"Specification of a dark logo",
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
"Specification of a light logo",
"Specification of a dark logo",
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
"Options for a light logo",
"Options for a dark logo",
"The brand\u2019s custom color palette and theme.",
Expand Down Expand Up @@ -23374,7 +23379,7 @@ var require_yaml_intelligence_resources = __commonJS({
},
"Control the <code>\\pagestyle{}</code> for the document.",
"The paper size for the document.",
"The brand mode to use for rendering the Typst document,\n<code>light</code> or <code>dark</code>.",
"The brand mode to use for rendering the document, <code>light</code>\nor <code>dark</code>.",
{
short: "The options for margins and text layout for this document.",
long: 'The options for margins and text layout for this document.\nSee <a href="https://wiki.contextgarden.net/Layout">ConTeXt\nLayout</a> for additional information.'
Expand Down Expand Up @@ -24669,10 +24674,7 @@ var require_yaml_intelligence_resources = __commonJS({
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
"Manuscript configuration",
"internal-schema-hack",
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019.",
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
"Specification of a light logo",
"Specification of a dark logo"
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019."
],
"schema/external-schemas.yml": [
{
Expand Down Expand Up @@ -24901,12 +24903,12 @@ var require_yaml_intelligence_resources = __commonJS({
mermaid: "%%"
},
"handlers/mermaid/schema.yml": {
_internalId: 197480,
_internalId: 197500,
type: "object",
description: "be an object",
properties: {
"mermaid-format": {
_internalId: 197472,
_internalId: 197492,
type: "enum",
enum: [
"png",
Expand All @@ -24922,7 +24924,7 @@ var require_yaml_intelligence_resources = __commonJS({
exhaustiveCompletions: true
},
theme: {
_internalId: 197479,
_internalId: 197499,
type: "anyOf",
anyOf: [
{
Expand Down

Large diffs are not rendered by default.

20 changes: 11 additions & 9 deletions src/resources/editor/tools/yaml/web-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 11 additions & 9 deletions src/resources/editor/tools/yaml/yaml-intelligence-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -7574,7 +7574,9 @@
"string": {
"completions": [
"jupyter",
"knitr"
"knitr",
"julia",
"markdown"
]
}
},
Expand Down Expand Up @@ -15465,6 +15467,9 @@
"Specification of a light logo",
"Specification of a dark logo",
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
"Specification of a light logo",
"Specification of a dark logo",
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
"Options for a light logo",
"Options for a dark logo",
"The brand’s custom color palette and theme.",
Expand Down Expand Up @@ -16346,7 +16351,7 @@
},
"Control the <code>\\pagestyle{}</code> for the document.",
"The paper size for the document.",
"The brand mode to use for rendering the Typst document,\n<code>light</code> or <code>dark</code>.",
"The brand mode to use for rendering the document, <code>light</code>\nor <code>dark</code>.",
{
"short": "The options for margins and text layout for this document.",
"long": "The options for margins and text layout for this document.\nSee <a href=\"https://wiki.contextgarden.net/Layout\">ConTeXt\nLayout</a> for additional information."
Expand Down Expand Up @@ -17641,10 +17646,7 @@
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
"Manuscript configuration",
"internal-schema-hack",
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’.",
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
"Specification of a light logo",
"Specification of a dark logo"
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’."
],
"schema/external-schemas.yml": [
{
Expand Down Expand Up @@ -17873,12 +17875,12 @@
"mermaid": "%%"
},
"handlers/mermaid/schema.yml": {
"_internalId": 197480,
"_internalId": 197500,
"type": "object",
"description": "be an object",
"properties": {
"mermaid-format": {
"_internalId": 197472,
"_internalId": 197492,
"type": "enum",
"enum": [
"png",
Expand All @@ -17894,7 +17896,7 @@
"exhaustiveCompletions": true
},
"theme": {
"_internalId": 197479,
"_internalId": 197499,
"type": "anyOf",
"anyOf": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/resources/schema/document-execute.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: engine
schema:
string:
completions: [jupyter, knitr]
completions: [jupyter, knitr, julia, markdown]
description: "Engine used for executable code blocks."

- name: jupyter
Expand Down
Loading