You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Syntax highlighting in the output of tests explorer #17411
I worked on the issue and I managed to get syntax highlighting to work via VSCode's built-in Markdown engine, however there are two problems.
You can't select (and, consequently, copy) the code unless you open it in the editor via the button in the top-right, which might be a bit inconvenient.
For some reason the code blocks don't get rendered as-is and the whitespace is squashed similarly to the regular HTML, so the code isn't indented properly.
Now I tried using non-breaking spaces ( ) and building the message manually without the MarkdownString.appendCodeblock method, but none of that worked. Maybe there is an issue with the VSCode's Markdown renderer?
@ziebam Sorry for not to reply earlier.
Sadly, I cant't help to develop extensions in VS Code. I just made the feature request.
Maybe someone from the developers team could say something.
Activity
pralkarz commentedon Sep 14, 2021
I assume the fix isn't too difficult (hence the
good first issuelabel), so would it be okay if I worked on this issue?pralkarz commentedon Sep 17, 2021
I worked on the issue and I managed to get syntax highlighting to work via VSCode's built-in Markdown engine, however there are two problems.
Sample code for a test message looks like this:
Now I tried using non-breaking spaces (
) and building the message manually without theMarkdownString.appendCodeblockmethod, but none of that worked. Maybe there is an issue with the VSCode's Markdown renderer?pralkarz commentedon Sep 26, 2021
Kindly bump.
Please do tell me if this is rude. I'm still relatively new to open-source, so I'm not sure what's acceptable and what's not.diogo-rossi commentedon Oct 8, 2021
@ziebam Sorry for not to reply earlier.
Sadly, I cant't help to develop extensions in VS Code. I just made the feature request.
Maybe someone from the developers team could say something.
pasumarty08 commentedon Sep 16, 2022
Can I be assigned this issue please?