CodesAway / CodesAway/BEXCodeCompare

BEX View incorrectly showing comments as important when "use enhanced compare" is disabled

Open
#116 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Example code

**Before**
```
int blah;
```

**After**
```
int blah; /*
Something
*/
```

In BEX View, it's correctly marking the commented out code as ignored, but it's still marking the change as important. In this case, I'd expect that since all lines in the change are ignored, that the change itself shouldn't be important.

![image](https://user-images.githubusercontent.com/13824365/108071578-83ad2800-702b-11eb-837d-7589b4a303cf.png)

Ideally, it would show as a single level in the tree, like what happens if we added a new comment on it's own line

Using enhanced compare (enabled)
![image](https://user-images.githubusercontent.com/13824365/108072522-9ecc6780-702c-11eb-866c-fecb0d8ab1c4.png)

Not using enhanced compare (disabled)
![image](https://user-images.githubusercontent.com/13824365/108072691-d1766000-702c-11eb-9a1e-f89f0349d3bc.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.