Currently, I have only deleted some incorrect codes (affects issue #34), and there is still work to be done (finished).
In this patch, the id and init of a VariableDeclarator, or the id and params of a FunctionDeclaration will be used to generate the feature pattern. If the source code matches the pattern, the chance of mistakenly removing the extra code is very low.
The templates are provided as follows:
Currently, I have only deleted some incorrect codes (affects issue #34), and there is still work to be done (finished).
In this patch, the id and init of a VariableDeclarator, or the id and params of a FunctionDeclaration will be used to generate the feature pattern. If the source code matches the pattern, the chance of mistakenly removing the extra code is very low.