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

Code processing method and device, computer equipment and storage medium

A technology for processing methods and code locations, applied in the direction of creating/generating source codes, smart editors, etc., can solve problems such as increasing difficulty, unintuitiveness, and low efficiency

Pending Publication Date: 2021-05-18
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF13 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if this interface nests many other resources and uses many dynamic callback functions, the documentation is often difficult to record
In addition, as the number of interfaces increases and the complexity increases, it becomes more difficult for programmers to quickly locate a certain piece of code.
For the running client, it is often only through the debug mode to breakpoint debugging to view the dynamic interface structure and data inside, which is inefficient and not intuitive

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
  • Code processing method and device, computer equipment and storage medium
  • Code processing method and device, computer equipment and storage medium
  • Code processing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053]The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0054] Embodiments of the present application provide a code processing method, device, computer equipment, and storage medium. Specifically, this embodiment provides a code processing method suitable for a code processing device, and the code processing device can be integrated into a computer device.

[0055] see figure 1 , figure 1 It is a schematic flowchart of the code processing method provided in the embodiment of the present application. The method is applied to an interface editor run...

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 code processing method and device, computer equipment and a storage medium. The method comprises the following steps: displaying interface data sent by a client on a graphical user interface provided by an interface editor, wherein the interface data comprises control names of a plurality of controls in the client; generating a control tree according to the interface data, wherein the control tree comprises control names of a plurality of controls; in response to a code query operation for the target control name on the graphical user interface, skipping to a preset coding tool, and sending the positioning instruction to the preset coding tool, so that the preset coding tool is positioned to a code position of a callback function currently bound to a control corresponding to the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of the multiple control names, so that a user does not need to record the code position through a document in advance and query the code position through the document, and rapid positioning of the code position can be achieved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a code processing method, device, computer equipment and storage medium. Background technique [0002] In the prior art, an interface editor is usually used to program the interface, and there are mainly two programming methods. One method is to generate interface resource files while editing, and programmers write codes in coding tools to read interface resources and implement related logic codes at the same time. Another method is to generate the resource file by the editor, and then convert the resource file into an interface code template by a coding tool, and the programmer further writes logic code on this template. [0003] Regardless of the method, after the interface logic is implemented, the editor can no longer intervene. If subsequent interface resources need to be modified, the programmer needs to find the code location that needs to be modified by r...

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/33
CPCG06F8/33Y02P90/02
Inventor 范大俊
Owner NETEASE (HANGZHOU) NETWORK CO LTD