You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A feature request is to have a set of strings to ignore.
For example, setting ignore_strings [ "dev","staging","prod"] would assist with comparing code between configuration files dev, staging, and prod folders.
It may be possible to consider 2 files as identical if the only differences are strings in the ignore_strings. It won't be possible to not highlighting them in the diff view if there are more differences in these files.
So, if the only differences are the strings in the ignore_strings, the files would appear in the "identical" view and not in the "differences" but if there are more differences, the strings in the ignore_strings will be highlighted alongside the other differences.
Why? because the diff view is vscode's built in and I don't know a way to ask it not to highlight a difference
@gliviu what do you think? Does it make sense to add this option to the dir-compare or is it better vscode-compare-folders extension to implement it as a compareFileSync handler? If the second option, is it possible to somehow adding a hook into the lineBasedCompareSync so consumers won't have to handle the side effects, the concurrent files reading etc.?
By hook I mean to allow consumer to enrich the lines comparing here, something like
A feature request is to have a set of strings to ignore.
For example, setting ignore_strings [ "dev","staging","prod"] would assist with comparing code between configuration files dev, staging, and prod folders.
Source: https://marketplace.visualstudio.com/items?itemName=moshfeu.compare-folders&ssr=false#review-details
The text was updated successfully, but these errors were encountered: