Skip to content

[VS Code] Persist syntax highlighting after streaming

Checklist

Summary

In VSCode, Duo manages to successfully syntax-highlight while typing out its response, but the highlighting disappears when the response is complete.

Steps to reproduce

Ask Duo to write some code (this was reproduced in Bash code) and see it be highlighted while the response is being typed out. Then highlighting disappears once response is complete.

What is the current bug behavior?

Code syntax-highlight disappears when response is complete.

What is the expected correct behavior?

Code syntax-highlight stays when response is complete.

Relevant logs and/or screenshots

formattingbug

Possible fixes