A code rewrite tool for structural search and replace that supports ~every language.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by rvantonder about 4 years ago
.comby
file in TOML format, where using flags="-my-flags"
will be appending to comby
invocation in the current directory. This file can also be used to specify templates for the directoryPublished by rvantonder over 4 years ago
Added:
-exclude
option to exclude filesUpdated source files to compile with OCaml 4.10.
Published by rvantonder over 4 years ago
exclude-dir
option now accepts multiple comma-separated prefixes.Published by rvantonder over 4 years ago
Bug fix for a ZIP64 issue reading the central directory on large ZIP64 files.
Published by rvantonder over 4 years ago
id
when generating unique identifiers in rewrite templates. E.g.,func foo_:[id(unique_label)]() {...}
var my_function = foo_:[id(unique_label)]
Published by rvantonder almost 5 years ago
Change:
Published by rvantonder almost 5 years ago
Published by rvantonder almost 5 years ago
Published by rvantonder almost 5 years ago
Published by rvantonder almost 5 years ago
Published by rvantonder almost 5 years ago
Published by rvantonder almost 5 years ago
patch
and git apply
compatible patches for special cases where files do not contain trailing newlines.Published by rvantonder almost 5 years ago
substitute
option for substituting variables.jsx
and .tsx
extensionsPublished by rvantonder almost 5 years ago
-disable-substring-matching
option to disable substring matchingPublished by rvantonder about 5 years ago
Published by rvantonder about 5 years ago
-review
option. Edit can be set with -editor
, and default accept behavior can be toggled with -default-no
(as in codemod).-match-only
returns matches on single lines, prefixed by the matched files, like grep
. Newlines are converted to \n
.[hole\n]
, [ hole]
, :[hole.]
syntax which substitute for variable hole
.Published by rvantonder about 5 years ago
Published by rvantonder over 5 years ago
Adds support for nestable alphanumeric delimiters (e.g., def ... end
in Ruby,case ... esac
in Bash, and begin ... end
in OCaml).
Published by rvantonder over 5 years ago
.jsx
and .tsx
to Javascript-json-only-diff
flag-exclude-dir
in zip files:[x\n]
to match until newline:[x.]
to match alphanumeric and punctuation:[ ]
or [ x]
to match only spaces/tabs