You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wouldn't be nice to also have a way to transform a particular line or each of the lines that are being copied.
so for ex:
copy_part_of_files: {
options: {},
transform: (line:string) => [transformed] line
}
this could be useful in cases where lets say we have a Constants file in our backend proj. and another constants.js file in the frontend wanted to keep them in sync. Now if it were to be a .cs file we may need to transform the line that is "parse-able" in js.
like
public const string SomethingAsFoo = "SomethingAsFoo"
-
SomethingAsFoo: "SomethingAsFoo"
but, nevertheless there are many possibilities.
The text was updated successfully, but these errors were encountered:
Hey Man,
Wouldn't be nice to also have a way to transform a particular line or each of the lines that are being copied.
so for ex:
this could be useful in cases where lets say we have a Constants file in our backend proj. and another constants.js file in the frontend wanted to keep them in sync. Now if it were to be a .cs file we may need to transform the line that is "parse-able" in js.
like
but, nevertheless there are many possibilities.
The text was updated successfully, but these errors were encountered: