-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: User interface
Currently, the "Changeset Detail" page are configured to ignore all whitespaces by default.
For example, having a file with the following content:
void foo()
{
// this comment will have some insignificant WS prepended
printf("hello, world!\n"); // this will have some significant space added
}
And later added with whitespace on line 3 and line 4:
void foo()
{
// this comment will have some insignificant WS prepended
printf(" hello, world!\n"); // this will have some significant space added
}
Produces a result as shown in screenshot, changeset_detail.jpg, which is similar to screenshot, diff_ignore_whitespace.JPG(captured in the "Diff" page and ignored all whitespaces option is enabled). A non-ignore whitespace option in the "Diff" page is attached too, diff_without_ignore_whitespace.JPG.
It would be nice to include a similar whitespace configuration option in the "Changeset Detail" page too.