Currently, Eclipse Find/Replace has no built-in way to insert sequential numbers when replacing multiple matches. Users working with numbered lists, SQL inserts, or configuration files need this capability and currently resort to external tools.
Proposal: Add a #{start,step,pad} placeholder syntax to the replace string that expands to an auto-incrementing counter during Replace All and Replace/Find operations.
Examples:
#{1,1,3} → 001, 002, 003, …
#{10,5,0} → 10, 15, 20, …
$1_#{1,1,2} (with regex) → Match1_01, Match1_02, …
Currently, Eclipse Find/Replace has no built-in way to insert sequential numbers when replacing multiple matches. Users working with numbered lists, SQL inserts, or configuration files need this capability and currently resort to external tools.
Proposal: Add a #{start,step,pad} placeholder syntax to the replace string that expands to an auto-incrementing counter during Replace All and Replace/Find operations.
Examples:
#{1,1,3} → 001, 002, 003, …
#{10,5,0} → 10, 15, 20, …
$1_#{1,1,2} (with regex) → Match1_01, Match1_02, …