comby icon indicating copy to clipboard operation
comby copied to clipboard

A code rewrite tool for structural search and replace that supports ~every language.

Results 76 comby issues
Sort by recently updated
recently updated
newest added

Hey 👋 first of all `comby` is a really amazing project and the concept behind blow my mind away. My use case is quite advanced and goes beyond substitution so...

For example, for the below code where `^M` as carriage return, ```python def foo(a: str,^M b: str):^M ... ``` And I have a rule for rewriting the wrongly typed `string`...

I would like to increase [the usage of augmented assignment statements](https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements "Augmented assignment statements") with the help of the program version 1.7.0. I hoped that a transformation approach (like the...

I would like to try a simple transformation out according to the program version 1.7.0 for [a bit of Python source code](https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting "printf-style string formatting"). ``` [Markus_Elfring@fedora lokal]$ echo '"%s-text"...

Some named matches are occasionally combined besides other characters for the handling of bigger data structures. The overall data selection would be matched then. I propose to connect another identifier...

Code rewriting should occasionally be performed at some places with several changes. Thus different software adjustments would belong together. Each adjustment depends on context information. Only when a selected context...

Changes are directly specified together with match operators for [rewrite expressions](https://github.com/comby-tools/comby.dev/blob/49b5e2f548bc758f4250e056ab435083da5bb753/website/docs/advanced-usage.md#rewrite-expressions "Rewrite expressions") so far. I suggest to connect such change specifications to identifiers. The identifiers can be reused then...

Which [variant](https://github.com/comby-tools/comby.dev/blob/461f661eb1a4f06dc80d4c6ae446d404ae1dcd9c/website/docs/syntax-reference.md#match-and-rewrite-syntax "Match syntax") would support to match path specifications which would contain any slashes (or backslashes for example)? :thinking:

:thinking: How do you think about to publish any libraries for [code rewrite approaches with this tool](https://comby.dev/docs/advanced-usage#rewrite-expressions "Advanced usage")? :crystal_ball: Would you like to demonstrate any more possibilities for collateral...

:eyes: I would occasionally like to find some information where relevant data should be handled together with enclosing marks. Data which would be enclosed by items like the following: *...