Project filename batch automatic replacement method
A project file and file name technology, applied in the field of project management, can solve the problems of spending a lot of time and energy, prone to errors, etc., and achieve the effect of solving the problem of long manual replacement time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0018] The present invention will be described in detail below in conjunction with specific embodiments.
[0019] The invention provides the replacement function of the designated rules of the file white list, which can be easily replaced with the target format. First, by adding filter conditions such as file name, file type, or folder path to the whitelist, traverse and obtain all files in the project directory according to the filter conditions, and filter out the files that need to be replaced.
[0020] Then get all the code file names and the contents of the files that may need to be modified, perform regular matching in the contents of the files that may need to be modified, and modify and replace them if the match is successful.
[0021] Finally, write the replaced content to the original file. Here, it can be replaced according to the user-defined rules, or the default rules can be used for replacement.
[0022] Include the following specific steps:
[0023] Step 1: ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More