Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A new feature "Ignored Substitutions" #544

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

EugeneLaptev
Copy link
Contributor

This is a feature to facilitate a programmer workflow. If you deal with a big code base and happen to rename a symbol you may get hundreds of individual changes that are all the same. To let you focus on meaningful changes and filter out those symbol renames I've added another sort of filter called "Ignored Substitutions".

You can edit this filter in a standard way or you can right click on a change and select "Add to Ignored Substitutions", after which those changes will be ignored by the vie panes.

(Sorry is something is trivially wrong- this is my very first experience with github.)

@Mr-Update
Copy link
Contributor

This is a very good idea. 😊

I can use this feature very well for programmes with German language files that cannot be improved by a pull request or an e-mail.

Then I maintain my own language file and can hide a "funny" or suddenly wrong translation of a word when comparing with WinMerge.

@sdottaka sdottaka merged commit 9fd1167 into WinMerge:master Jan 8, 2021
@sdottaka
Copy link
Member

sdottaka commented Jan 8, 2021

Thankl you!

sdottaka added a commit that referenced this pull request Jan 8, 2021
sdottaka added a commit that referenced this pull request Jan 9, 2021
@sdottaka
Copy link
Member

sdottaka commented Jan 9, 2021

It's a good feature, but it doesn't seem to work as expected as below.

image

I also want to be able to replace the PrediffLineFilter.sct plugin, which already has similar functionality, so I'd like to make some changes.

However, I want to release a new version this month, so this feature itself may not be included in the new version.

@EugeneLaptev
Copy link
Contributor Author

EugeneLaptev commented Jan 9, 2021 via email

@sdottaka
Copy link
Member

@EugeneLaptev

The Ignored Substitutions dialog has been modified as follows:

image

By the way, why did you name it Ignored Substitutions instead of "Substitution filters"?

I feel that the name is not consistent with other File filters and Line filters.

@EugeneLaptev
Copy link
Contributor Author

EugeneLaptev commented Jan 27, 2021 via email

@sdottaka
Copy link
Member

Thank you for your answer.
If only this feature exists, the name "Ignored Substitutions" might be appropriate, but I would like to change it to "Substitution Filters" as it is inconsistent with other terms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants