Skip to content

Commit 9922941

Browse files
committed
add julia to engine completion schema (#13163)
1 parent 4d61e73 commit 9922941

File tree

6 files changed

+30
-26
lines changed

6 files changed

+30
-26
lines changed

news/changelog-1.8.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,4 @@ All changes included in 1.8:
125125
- ([#12782](https://github.com/quarto-dev/quarto-cli/pull/12782)): fix bug on `safeRemoveDirSync`'s detection of safe directory boundaries.
126126
- ([#12853](https://github.com/quarto-dev/quarto-cli/issues/12853)): fix replaceAll() escaping issue with embedded notebooks containing `$` in their Markdown.
127127
- ([#12939](https://github.com/quarto-dev/quarto-cli/pull/12939)): Upgrade `mermaidjs` to 11.6.0.
128+
- ([#13164](https://github.com/quarto-dev/quarto-cli/pull/13164)): add `julia` to execute schema to allow autocomplete suggestions. (@mcanouil)

src/resources/editor/tools/vs-code.mjs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14618,7 +14618,8 @@ var require_yaml_intelligence_resources = __commonJS({
1461814618
string: {
1461914619
completions: [
1462014620
"jupyter",
14621-
"knitr"
14621+
"knitr",
14622+
"julia"
1462214623
]
1462314624
}
1462414625
},
@@ -22610,6 +22611,7 @@ var require_yaml_intelligence_resources = __commonJS({
2261022611
"The font files to include. These can be local or online. Local file\npaths should be relative to the <code>brand.yml</code> file. Online\npaths should be complete URLs.",
2261122612
"The path to the font file. This can be a local path or a URL.",
2261222613
"A locally-installed font family name. When used, the end-user is\nresponsible for ensuring that the font is installed on their system.",
22614+
"A path to a brand.yml file, or an object with light and dark paths to\nbrand.yml",
2261322615
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don\u2019t use branding on this document. If an\nobject, an inline (unified) brand definition, or an object with light\nand dark brand paths or definitions.",
2261422616
"The path to a light brand file or an inline light brand\ndefinition.",
2261522617
"The path to a dark brand file or an inline dark brand definition.",
@@ -24011,7 +24013,7 @@ var require_yaml_intelligence_resources = __commonJS({
2401124013
"HTML library (JS/CSS/etc.) directory",
2401224014
"Additional file resources to be copied to output directory",
2401324015
"Additional file resources to be copied to output directory",
24014-
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don\u2019t use branding on this document. If an\nobject, an inline brand definition, or an object with light and dark\nbrand paths or definitions.",
24016+
"Path to brand.yml or object with light and dark paths to\nbrand.yml",
2401524017
"Options for <code>quarto preview</code>",
2401624018
"Scripts to run as a pre-render step",
2401724019
"Scripts to run as a post-render step",
@@ -24361,7 +24363,7 @@ var require_yaml_intelligence_resources = __commonJS({
2436124363
"HTML library (JS/CSS/etc.) directory",
2436224364
"Additional file resources to be copied to output directory",
2436324365
"Additional file resources to be copied to output directory",
24364-
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don\u2019t use branding on this document. If an\nobject, an inline brand definition, or an object with light and dark\nbrand paths or definitions.",
24366+
"Path to brand.yml or object with light and dark paths to\nbrand.yml",
2436524367
"Options for <code>quarto preview</code>",
2436624368
"Scripts to run as a pre-render step",
2436724369
"Scripts to run as a post-render step",
@@ -24696,8 +24698,7 @@ var require_yaml_intelligence_resources = __commonJS({
2469624698
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
2469724699
"Manuscript configuration",
2469824700
"internal-schema-hack",
24699-
"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.",
24700-
"A path to a brand.yml file, or an object with light and dark paths to\nbrand.yml"
24701+
"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."
2470124702
],
2470224703
"schema/external-schemas.yml": [
2470324704
{
@@ -24926,12 +24927,12 @@ var require_yaml_intelligence_resources = __commonJS({
2492624927
mermaid: "%%"
2492724928
},
2492824929
"handlers/mermaid/schema.yml": {
24929-
_internalId: 197527,
24930+
_internalId: 197539,
2493024931
type: "object",
2493124932
description: "be an object",
2493224933
properties: {
2493324934
"mermaid-format": {
24934-
_internalId: 197519,
24935+
_internalId: 197531,
2493524936
type: "enum",
2493624937
enum: [
2493724938
"png",
@@ -24947,7 +24948,7 @@ var require_yaml_intelligence_resources = __commonJS({
2494724948
exhaustiveCompletions: true
2494824949
},
2494924950
theme: {
24950-
_internalId: 197526,
24951+
_internalId: 197538,
2495124952
type: "anyOf",
2495224953
anyOf: [
2495324954
{

src/resources/editor/tools/yaml/all-schema-definitions.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/resources/editor/tools/yaml/web-worker.js

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/editor/tools/yaml/yaml-intelligence-resources.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7590,7 +7590,8 @@
75907590
"string": {
75917591
"completions": [
75927592
"jupyter",
7593-
"knitr"
7593+
"knitr",
7594+
"julia"
75947595
]
75957596
}
75967597
},
@@ -15582,6 +15583,7 @@
1558215583
"The font files to include. These can be local or online. Local file\npaths should be relative to the <code>brand.yml</code> file. Online\npaths should be complete URLs.",
1558315584
"The path to the font file. This can be a local path or a URL.",
1558415585
"A locally-installed font family name. When used, the end-user is\nresponsible for ensuring that the font is installed on their system.",
15586+
"A path to a brand.yml file, or an object with light and dark paths to\nbrand.yml",
1558515587
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don’t use branding on this document. If an\nobject, an inline (unified) brand definition, or an object with light\nand dark brand paths or definitions.",
1558615588
"The path to a light brand file or an inline light brand\ndefinition.",
1558715589
"The path to a dark brand file or an inline dark brand definition.",
@@ -16983,7 +16985,7 @@
1698316985
"HTML library (JS/CSS/etc.) directory",
1698416986
"Additional file resources to be copied to output directory",
1698516987
"Additional file resources to be copied to output directory",
16986-
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don’t use branding on this document. If an\nobject, an inline brand definition, or an object with light and dark\nbrand paths or definitions.",
16988+
"Path to brand.yml or object with light and dark paths to\nbrand.yml",
1698716989
"Options for <code>quarto preview</code>",
1698816990
"Scripts to run as a pre-render step",
1698916991
"Scripts to run as a post-render step",
@@ -17333,7 +17335,7 @@
1733317335
"HTML library (JS/CSS/etc.) directory",
1733417336
"Additional file resources to be copied to output directory",
1733517337
"Additional file resources to be copied to output directory",
17336-
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don’t use branding on this document. If an\nobject, an inline brand definition, or an object with light and dark\nbrand paths or definitions.",
17338+
"Path to brand.yml or object with light and dark paths to\nbrand.yml",
1733717339
"Options for <code>quarto preview</code>",
1733817340
"Scripts to run as a pre-render step",
1733917341
"Scripts to run as a post-render step",
@@ -17668,8 +17670,7 @@
1766817670
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
1766917671
"Manuscript configuration",
1767017672
"internal-schema-hack",
17671-
"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’.",
17672-
"A path to a brand.yml file, or an object with light and dark paths to\nbrand.yml"
17673+
"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’."
1767317674
],
1767417675
"schema/external-schemas.yml": [
1767517676
{
@@ -17898,12 +17899,12 @@
1789817899
"mermaid": "%%"
1789917900
},
1790017901
"handlers/mermaid/schema.yml": {
17901-
"_internalId": 197527,
17902+
"_internalId": 197539,
1790217903
"type": "object",
1790317904
"description": "be an object",
1790417905
"properties": {
1790517906
"mermaid-format": {
17906-
"_internalId": 197519,
17907+
"_internalId": 197531,
1790717908
"type": "enum",
1790817909
"enum": [
1790917910
"png",
@@ -17919,7 +17920,7 @@
1791917920
"exhaustiveCompletions": true
1792017921
},
1792117922
"theme": {
17922-
"_internalId": 197526,
17923+
"_internalId": 197538,
1792317924
"type": "anyOf",
1792417925
"anyOf": [
1792517926
{

src/resources/schema/document-execute.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- name: engine
22
schema:
33
string:
4-
completions: [jupyter, knitr]
4+
completions: [jupyter, knitr, julia]
55
description: "Engine used for executable code blocks."
66

77
- name: jupyter

0 commit comments

Comments
 (0)