-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Code not showing in generated report #119
Comments
To debug this, I tried to use <pre><code id="code-block-3-0">PGgyPkFsbCBIdW1hbnM8L2gyPgp7eyNpZiBodW1hbnMubGVuZ3RofX0KICA8dWw+CiAgICB7eyNlYWNoIGh1bWFuc319CiAgICAgIDxsaT57e25hbWV9fTwvbGk+CiAgICB7ey9lYWNofX0KICA8L3VsPgp7e2Vsc2V9fQogIDxwPk5vIGh1bWFucyBleGlzdC48L3A+Cnt7L2lmfX0K</code></pre> For all others, nothing is shown: <pre><code id="code-block-4-0"></code></pre> |
Oh, now I know the problem. I'm a teacher, and students email me their projects as ZIP files, which I then unzip on my computer and open in VS Code, and then I use this extension to do a Code Review on their work. Some students use Mac, and I use Windows. In their files on my computer, That the code was shown for one of my comments was because that's a file I've created on my Windows computer and published on the web for the students to learn, so in that one newlines was already represented as Someone who want's to create an extension that changes Otherwise, excellent extension, it was precisely what I was looking for, thank you! |
Won't you look at that. It's a big world we live in :) |
🐞 Bug report
Description
I've reviewed the code and written some comments that are stored in the CSV file, e.g.:
Then I've created my own report template, with the body looking like this:
When I generate the report based on this template, the highlighted code for each comment is only shown for one of all my comments. For all other of my comments, the code is empty. Here's part of the body for the generated report:
Why does the code only show for one of my comments? I need the code to be shown for all my comments. Is there a setting somewhere that I've missed, or is there a bug somewhere?
The text was updated successfully, but these errors were encountered: