Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Project code processing method and device

A code and project technology, applied in the field of project code processing methods and devices, can solve problems such as the inability to delete module codes and limited file incremental modification functions

Pending Publication Date: 2021-06-04
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention provides a project code processing method and device, which can solve the problem that the existing command line scaffolding tool cannot delete the existing module code, and the incremental modification function of the file is limited

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Project code processing method and device
  • Project code processing method and device
  • Project code processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0045] figure 1 is a schematic diagram of the main flow of the project code processing method according to the first embodiment of the present invention, and the project code processing method may include:

[0046] Step S101, receiving a module processing command, selecting a module template type and corresponding template type parameters from a configuration file to gene...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a project code processing method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: receiving a module processing command, and selecting a module template type and a corresponding template type parameter from a configuration file to generate a template parameter; reading a code template file in a corresponding module template type subdirectory from the code template file directory, and replacing a preset placeholder in a code template file name with an introduced template parameter; and based on the extension name type of the code template file, executing a module processing command. Therefore, the problems that an existing command line scaffold tool cannot delete existing module codes, and the file increment modification function is limited can be solved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a project code processing method and device. Background technique [0002] In the early stage of the project, the command line scaffolding tool (CLI tool) is usually used to automatically generate the initial code of the project, which can provide developers with automatic creation commands, reducing a lot of workload and error rate. [0003] In the course of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0004] In existing code projects, the command-line scaffolding tool can only automatically add new module codes, and does not support deleting existing module codes. Moreover, the function when incrementally modifying existing files is very limited, and only supports modifying specific parts in certain specific code files. In addition, it is very difficult for users to expand the module command b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/33G06F40/186
CPCG06F8/33
Inventor 周涛
Owner BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products