Commit f6a0f89
committed
Fix preview of single-file Julia documents using Jupyter instead of Julia engine
Engine extensions (like the bundled Julia engine) were only loaded in
singleFileProjectContext when renderOptions was provided. The preview
command creates the project context before render services exist, so
engine extensions were never discovered for single files. This caused
Jupyter to win the language claim for Julia code blocks.
Now engine extensions are always resolved, using a fresh extension
context as fallback when renderOptions is absent — matching the pattern
used by projectContext.
Fixes #142081 parent 7c01551 commit f6a0f89
1 file changed
Lines changed: 13 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
96 | 108 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 109 | + | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
| |||
0 commit comments