Skip to content

Intra-line (word diff?) highlighting #33

@vlsi

Description

@vlsi

I know the approach in difftastic is tree-based diff, so "intra-line" and "word-diff" might not be the right terms, however, it would be nice to see the modifications within the lines. For instance: function call added, or operand added, or variable name change.

For instance, see line 514 in #32:

@@ -511,20 +511,21 @@ create or replace package body rte_data_capture is
               from table(vars.all_columns) c,
                    (select column_value data_field from table(vars.oldnew_columns)
                     union
-                    select column_value data_field from table(vars.change_tracker_columns)) cv
+                    select column_name data_field from table(vars.change_tracker_columns)) cv

column_value -> column_name is puzzling to spot in difftastic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions