Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for adjusting code format

A code format and adjustment method technology, applied in the field of software code, can solve problems such as different code formats, unsightly full-text codes, and different code formats, so as to improve adjustment efficiency, save manual adjustment time, and save adjustment or format setting the effect of the link

Active Publication Date: 2022-04-05
WEICHAI POWER CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the advancement of science and technology, the computer industry is also developing rapidly, which involves the continuous expansion of software projects, and some large-scale software projects often require multi-person teams to develop, for example: software codes require multiple people to collaborate and develop, because Everyone has a different format for writing code, which makes the full-text code look ugly
[0003] At present, the ways to adjust codes with different formats to codes with a unified format include: pre-establishing code format specifications and using code editors for assistance, but different programmers have different understandings of pre-established code format specifications, making the The format of the code obtained by the code format specification will also be different. Similarly, when using the code editor, different programmers have different settings for the format-related menus in the code editor, which will also lead to the format of the code given by the code editor. different

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
  • Method and device for adjusting code format
  • Method and device for adjusting code format
  • Method and device for adjusting code format

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The present invention provides a code format adjustment method and device. The code to be processed can automatically perform format adjustment based on preset code features, which saves the link of programmer adjustment or setting the format, saves manual adjustment time, and improves adjustment efficiency.

[0062] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0063] Such as figure 1 As shown, it is a flowchart of a code format adjustment method provided by an embodiment of the present inve...

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 present invention provides a code format adjustment method and device. After obtaining the code to be processed that needs code format adjustment, the format of the code to be processed is adjusted based on the preset code characteristics to obtain the target code with the preset format, and output the code with the preset code format. The format of the target code makes the preset format of the target codes obtained after the adjustment of the preset code characteristics of different codes to be processed are the same, so that the formats of different codes to be processed can transition from diversification to uniformity, and realize different codes to be processed The format of the code is unified, and the unified format allows each programmer to accurately understand the idea and intention of the code, significantly improves the readability of the code, and facilitates the modification and maintenance of the code. In addition, the code to be processed can be based on the preset code characteristics Automatically adjust the format, eliminating the need for programmers to adjust or set the format, saving manual adjustment time and improving adjustment efficiency.

Description

technical field [0001] The invention belongs to the field of software codes, and in particular relates to a code format adjustment method and device. Background technique [0002] With the advancement of science and technology, the computer industry is also developing rapidly, which involves the continuous expansion of software projects, and some large-scale software projects often require multi-person teams to develop, for example: software codes require multiple people to collaborate and develop, because Everyone has a different format for writing code, which makes the full-text code look ugly. [0003] At present, the ways to adjust codes with different formats to codes with a unified format include: pre-establishing code format specifications and using code editors for assistance, but different programmers have different understandings of pre-established code format specifications, making the The format of the code obtained by the code format specification will also be ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/33
CPCG06F8/33
Inventor 刘硕史家涛宋炳雨许晓梦张国花
Owner WEICHAI POWER CO LTD