Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Conversation

grokys
Copy link
Contributor

@grokys grokys commented Aug 23, 2017

Previously we were crashing trying to show inline comments when a projection buffer (such as a .cshtml file) was opened in a diff. Don't crash, and actually show inline comments.

Fixes #1186

Previously we were crashing trying to show inline comments when a projection buffer was opened in a diff. Don't crash, and actually show inline comments.

Fixes #1186
@grokys grokys requested a review from jcansdale August 23, 2017 08:04
@grokys grokys changed the title Handle inline comments in projection buffers. WIP: Handle inline comments in projection buffers. Aug 23, 2017
@grokys grokys removed the request for review from jcansdale August 23, 2017 08:13
`.cshtml` files have a projection buffer which is the contents of the generated C#. Don't use this as a content source for diff matching as it's completely different to the file in git.
@grokys grokys requested a review from jcansdale August 23, 2017 09:49
@grokys grokys changed the title WIP: Handle inline comments in projection buffers. Handle inline comments in projection buffers. Aug 23, 2017
@jcansdale
Copy link
Collaborator

Before this fix:
image

After this fix:
image

Seems to be working! 👍

Copy link
Collaborator

@jcansdale jcansdale left a comment

Choose a reason for hiding this comment

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

This works for me!

@jcansdale jcansdale merged commit fc9254e into master Aug 23, 2017
@jcansdale jcansdale deleted the fixes/1186-projection-buffers branch August 23, 2017 11:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants