Skip to content

Conversation

@juliasilge
Copy link
Collaborator

@juliasilge juliasilge commented Jan 2, 2026

This PR addresses:

After these changes, you'll see logs like this in the Quarto output channel, depending of course on the exact details of how your Quarto is configured:

Screenshot 2026-01-02 at 3 41 09 PM

I went fairly verbose on these logs and am open to feedback about this being overkill, but I tend to think more is better, at least to some level. I did not add any of this to the status bar or anything like that; I think that the output channel is a good spot for folks to look for this kind of info.

@juliasilge juliasilge requested a review from vezwork January 2, 2026 22:57
Copy link
Collaborator

@vezwork vezwork left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with questions

Comment on lines +171 to +181
colorTheme: workbench?.colorTheme ?? this._settings.workbench.colorTheme
},
quarto: {
logLevel: Logger.parseLogLevel(settings.quarto.server.logLevel),
path: settings.quarto.path,
logLevel: Logger.parseLogLevel(quarto?.server?.logLevel),
path: quarto?.path ?? this._settings.quarto.path,
mathjax: {
scale: settings.quarto.mathjax.scale,
extensions: settings.quarto.mathjax.extensions
scale: quarto?.mathjax?.scale ?? this._settings.quarto.mathjax.scale,
extensions: quarto?.mathjax?.extensions ?? this._settings.quarto.mathjax.extensions
},
symbols: {
exportToWorkspace: settings.quarto.symbols.exportToWorkspace
exportToWorkspace: quarto?.symbols?.exportToWorkspace ?? this._settings.quarto.symbols.exportToWorkspace
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, more defensive (less error possibilities and risk of things being undefined) and probably more correct.

@vezwork
Copy link
Collaborator

vezwork commented Jan 6, 2026

Oh! P.s. I like the indentation you've done on the logs!

@juliasilge juliasilge merged commit 81147b4 into main Jan 6, 2026
2 of 3 checks passed
@juliasilge juliasilge deleted the log-quarto-cli-discovery branch January 6, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants