-
Notifications
You must be signed in to change notification settings - Fork 24
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
Code changes in comment editor #1174
Comments
This could hopefully be added as custom markdown tags when the ACE editor gets replaced (#1217). |
Should be usable now I think @torgeirl... This markdown code:
DocsHere is the docs (just screenshot from the builtin docs for the supported markdown): Why multiple diff "styles"?This is because the different styles are better/worst for different amounts of changes/code lines. "Side by side" and "simple" is very nice for short examples, while compact is much better for larger snippets with lots of changes. The compact style is very similar (or perhaps the same) as the one the |
Here is an a bit more realistic code example with a bit of common code left between the two snippets:
|
As user suggestion for the improved comment editor (#1040): enabling code change snippets in the comment editor to allow examiners to write code changes in their feedback to the student.
Ie..:
where the
-
line is highlighted red and the+
line is highlighted green, similar to how Github allow users to comment inline on pull requests.The text was updated successfully, but these errors were encountered: