Style variable naming and mapping method and device

CN118626084APending Publication Date: 2024-09-10BEIJING CHUANGZUOMEIHAO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410775080.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

During the software development process, designers and developers have different naming conventions, resulting in poor communication and low work efficiency. Existing document conventions are unable to meet complex and changing naming rules and requirements, resulting in naming inconsistency and an increased probability of errors.

Method used

Propose a style variable naming and mapping method that automatically generates technical naming that conforms to programming conventions by detecting the designer's descriptive naming, and ensures consistency in style variable naming between the UI design environment and the programming development environment through a flexible extension interface. , using description and technical naming mapping libraries to achieve automatic synchronization updates.

Benefits of technology

It reduces the inconsistency in the naming of style variables, improves the collaboration efficiency between designers and developers, reduces errors and debugging costs caused by inconsistent naming, and achieves a seamless connection between design and development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626084A
    Figure CN118626084A
Patent Text Reader

Abstract

The invention discloses a style variable naming and mapping method and device. The method comprises the following steps: acquiring a style name of a target style element as a first style name; detecting a naming type of the first style name; if the naming type of the first style name is a descriptive naming type, generating a second style name according to the first style name, and taking the second style name as a variable name of the target style element; and if the naming type of the first style name is the technical naming type conforming to the programming agreement, taking the first style name as the variable name of the target style element. The invention provides a direct mapping method from design to code, which allows a designer to define variable names for various style elements in a design stage, reduces the workload and error probability when the design is converted into the code, can directly use the mapped variable names in the code in a development stage, does not need additional translation or search work, and improves the development efficiency. And the consistency of style naming between design and development is ensured.
Need to check novelty before this filing date? Find Prior Art