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

Enable per-file plugin application with file number specification #2598

Merged
merged 9 commits into from
Jan 5, 2025

Conversation

sdottaka
Copy link
Member

@sdottaka sdottaka commented Jan 1, 2025

This PR introduces the ability to apply plugins to individual files or different plugins to each file in WinMerge by specifying a file number after the plugin name.

Examples:

  1. MakeUpper:2 - Applies the MakeUpper plugin only to the second file.
  2. MakeLower:1|MakeUpper:2 - Applies the MakeLower plugin to the first file and the MakeUpper plugin to the second file.

Additionally, the "Select Plugin" window has been updated to allow specifying file numbers when selecting plugins.

image

@@ -159,21 +161,36 @@
// EXCEPTION: OCX Property Pages should return FALSE
}

void CSelectPluginDlg::prepareListbox()
void CSelectPluginDlg::prepareListbox()

Check warning

Code scanning / CodeQL

Poorly documented large function Warning

Poorly documented function: fewer than 2% comments for a function of 114 lines.
Src/FileTransform.cpp Fixed Show fixed Hide fixed
@sdottaka sdottaka changed the title WIP Enable per-file plugin application with file number specification Jan 5, 2025
@sdottaka sdottaka marked this pull request as ready for review January 5, 2025 01:25
@sdottaka sdottaka added this to the v2.16.46 milestone Jan 5, 2025
@sdottaka sdottaka merged commit a69b808 into master Jan 5, 2025
4 checks passed
@sdottaka sdottaka deleted the plugin-file-number branch January 5, 2025 01:35
Marcellomco added a commit to Marcellomco/winmerge that referenced this pull request Jan 5, 2025
Added translation for "Enable per-file plugin application with file number specification (WinMerge#2598)"
@Marcellomco Marcellomco mentioned this pull request Jan 5, 2025
sdottaka pushed a commit that referenced this pull request Jan 5, 2025
Added translation for "Enable per-file plugin application with file number specification (#2598)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant