CN112817582B - Code processing method, device, computer equipment and storage medium - Google Patents

Code processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN112817582B
CN112817582B CN202110247329.8A CN202110247329A CN112817582B CN 112817582 B CN112817582 B CN 112817582B CN 202110247329 A CN202110247329 A CN 202110247329A CN 112817582 B CN112817582 B CN 112817582B
Authority
CN
China
Prior art keywords
control
name
code
control name
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110247329.8A
Other languages
Chinese (zh)
Other versions
CN112817582A (en
Inventor
范大俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110247329.8A priority Critical patent/CN112817582B/en
Publication of CN112817582A publication Critical patent/CN112817582A/en
Application granted granted Critical
Publication of CN112817582B publication Critical patent/CN112817582B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a code processing method, a code processing 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; and in response to code inquiry operation aiming at the target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to enable the preset coding tool to be positioned to the code position of the callback function currently bound by the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names, so that a user is not required to record the code position through a document in advance and inquire the code position through the document, and the quick positioning of the code position can be realized.

Description

Code processing method, device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a code processing method, a code processing device, a computer device, and a storage medium.
Background
In the prior art, an interface editor is generally used to program an interface, and there are two main programming methods. One method is to edit and generate an interface resource file, and then write codes in the coding tool to read the interface resource and realize related logic codes. Another method is that after the resource file is generated by the editor, the resource file is converted into an interface code template by the coding tool, and the programmer further writes the logic code on the template.
In either method, after the interface logic is implemented, the editor cannot be involved any more, and subsequent interface resources, such as the need for modification, all require the programmer to search for the code location that needs to be modified by recording the document. However, if this interface is nested with many other resources and many dynamic callback functions are used, the document tends to be difficult to record. In addition, as the number of interfaces increases, the complexity increases and the difficulty of a programmer to quickly locate a piece of code increases. For a client in operation, breakpoint debugging can be performed only through a debugging mode, so that the dynamic interface structure and data in the client can be checked, and the efficiency is low and the client is not intuitive.
Disclosure of Invention
The embodiment of the application provides a code processing method, a code processing device, computer equipment and a storage medium, which can quickly locate the position of a code.
The embodiment of the application provides a code processing method, which 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 the plurality of controls;
and in response to code inquiry operation aiming at the target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to enable the preset coding tool to be positioned to the code position of a callback function to which the target control name corresponds to the control currently binding, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names.
Optionally, the code processing method further includes:
responding to attribute updating operation aiming at the control name, and acquiring input control attributes;
And updating the control corresponding to the control name selected by the attribute updating operation in the interface of the client according to the control attribute.
Optionally, a control corresponding to the control name is provided in an interface of the client, and the code processing method further includes: in response to a selected operation on the graphical user interface for the control name, a control in the interface of the client corresponding to the control name of the selected operation is highlighted.
Optionally, the code processing method further includes: and responding to the function generating operation aiming at the control name, jumping to the preset coding tool, and sending a generating instruction and the control name selected by the function generating operation to the preset coding tool so that the preset coding tool generates a callback function according to the control name selected by the function generating operation and a preset rule.
Optionally, the code processing method further includes: and generating a control object corresponding to the generated callback function in response to a function generation operation aiming at the control name.
Optionally, the code processing method further includes: and responding to the deleting operation for the control name, jumping to the preset coding tool, and sending a deleting instruction and the control name selected by the deleting operation to the preset coding tool so that the preset coding tool deletes the callback function currently bound by the control name selected by the deleting operation.
Optionally, the code processing method further includes: and receiving variable data sent by the client, wherein the variable data comprises a plurality of variable names and corresponding relations between the variable names and the control names.
Optionally, the code processing method further includes:
acquiring a search instruction, wherein the search instruction carries a variable name;
and highlighting the control name matched with the variable name in the control tree according to the variable name and the variable data.
The embodiment of the application also provides a code processing method which is applied to the coding tool and comprises the following steps:
receiving a positioning instruction sent by an interface editor, wherein the positioning instruction carries a first target control name;
determining a file to which an object class of the first target control name belongs, and analyzing the file to which the object class belongs;
and determining a first code position of a callback function currently bound by the control corresponding to the first target control name according to the analyzed file to which the object class belongs and a preset code specification, and positioning the first code position.
Optionally, the code processing method further includes: receiving a new function adding instruction sent by an interface editor, wherein the new function adding instruction carries a second target control name;
Jumping to a second code position of a callback function currently bound by the control corresponding to the second target control name;
and adding a callback function after the callback function corresponding to the second code position according to a preset rule and the second target control name.
Optionally, the code processing method further includes:
receiving a deleting instruction sent by an interface editor, wherein the deleting instruction carries a third target control name;
jumping to a third code position of a callback function currently bound by the control corresponding to the third target control name;
and deleting the callback function at the third code position.
The embodiment of the application also provides a code processing device, which comprises:
the display module is used for displaying interface data sent by the client on a graphical user interface provided by the interface editor, wherein the interface data comprises control names of a plurality of controls in the client;
the generation module is used for generating a control tree according to the interface data, wherein the control tree is composed of a plurality of control names;
the positioning module is used for responding to code inquiry operation aiming at a target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to enable the preset coding tool to be positioned to the code position of a callback function to which the target control name corresponds to the control currently binding, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names.
The embodiment of the application also provides a code processing device, which comprises:
the receiving module is used for receiving a positioning instruction sent by the interface editor, wherein the positioning instruction carries a first target control name;
the determining module is used for determining the file of the object class where the first target control name is located and analyzing the file of the object class;
the positioning module is used for determining a first code position of a callback function currently bound by the control corresponding to the first target control name according to the analyzed object class file and a preset code specification, and positioning the first code position
The embodiment of the application also provides a computer device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the method.
The embodiments of the present application also provide a storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the method as described above.
The embodiment of the application provides a code processing method, a device, computer equipment and a storage medium, by providing a jump positioning function, when a user selects the jump positioning function aiming at a control name, the jump is carried out to a third party coding tool, and the control name is sent to the third party coding tool, so that the third party coding tool can position the code position of a callback function which is currently bound to a corresponding control of the control name according to the control name, and the user does not need to record the code position in advance and inquire the code position through a document, thereby realizing the quick positioning of the code position.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a code processing method according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a first application scenario of a code processing method provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a second application scenario of the code processing method provided in the embodiment of the present application;
fig. 4 is a schematic diagram of a third application scenario of the code processing method provided in the embodiment of the present application;
fig. 5 is a schematic diagram of a fourth application scenario of the code processing method provided in the embodiment of the present application;
fig. 6 is a schematic diagram of a fifth application scenario of the code processing method provided in the embodiment of the present application;
FIG. 7 is another flow chart of a code processing method according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a code processing apparatus provided in an embodiment of the present application;
FIG. 9 is another schematic diagram of a code processing apparatus according to an embodiment of the present application;
Fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The embodiment of the application provides a code processing method, a code processing device, computer equipment and a storage medium. Specifically, the present embodiment provides a code processing method suitable for a code processing apparatus, which may be integrated in a computer device.
Referring to fig. 1, fig. 1 is a flowchart of a code processing method according to an embodiment of the present application, where the method is applied to an interface editor running on a computer device, and mainly includes steps 101 to 103, and the following description is given for each step:
step 101: and displaying interface data sent by the client on a graphical user interface provided by the interface editor, wherein the interface data comprises control names of a plurality of controls in the client.
Specifically, a user may open a client in a computer device, connect the client with an interface editor through a network, and then receive interface data sent by the client, where the interface data includes a control name of a control in the client.
It is easy to understand that the computer devices running the client and the interface editor may be the same or different, and when the client is connected to the interface editor, the interface data may be automatically sent to the interface editor, or a sending instruction may be obtained, for example, a user sends a sending instruction to the client through the interface editor, and after the client receives the sending instruction, the interface data is sent to the interface editor.
Step 102: and generating a control tree according to the interface data, wherein the control tree comprises control names of a plurality of controls.
It is readily understood that a client interface often contains many controls to implement the interface logic of the entire client interface. The interface editor generates a control tree according to the logical relation of all the controls, wherein the control tree can comprise a root node control, a plurality of father node controls configured under the root node space, at least one child node control configured under each father node control and the like. In order to facilitate user operation, the control in the control tree is represented by a control name, and if a user wants to operate a certain control, the control name corresponding to the control can be operated.
Step 103: and in response to code inquiry operation for the target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so that the preset coding tool is positioned to the code position of the callback function currently bound by the target control name corresponding to the control, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names.
Specifically, referring to fig. 2, fig. 2 is a schematic diagram of a first application scenario of the code processing method provided in the embodiment of the present application. The interface editor is run on the computer device 1000, the computer device 1000 displays a graphical user interface 100 of the interface editor, the graphical user interface 100 of the interface editor includes a control area 120, and the control area 120 displays a control tree. The user skips to a preset coding tool by carrying out code query operation on the target control name, and sends a positioning instruction to the preset coding tool, wherein the positioning instruction carries the target control name. And then, carrying out response operation by a preset coding tool to locate the code position of the callback function currently bound to the corresponding control of the target control name.
For example, as shown in fig. 2, taking a personal computer as an example, the personal computer 1000 displays a graphical user interface 100 of an interface editor, and the code inquiry operation may be that the user selects a control name in the control area 120 through a right mouse button: the sub-control a1, the interface editor responds to the selection operation of clicking the right button of the mouse by the user, the function menu 121 is displayed, then the user can select the jump back function in the function menu 121, the interface editor responds to the selection operation of the jump back function by the user, jumps to the preset coding tool, and sends the corresponding control name, sub-control a1 to the preset coding tool. The jump-back function key can be set with a trigger event to realize the function of jumping to the third party software (preset coding tool) when the jump-back function key is selected. When a preset coding tool receives a positioning instruction and a control name (a sub-control a 1) sent by an interface editor, firstly determining a file to which an object class of the sub-control a1 belongs, analyzing the file to which the object class belongs, and then determining the code position of a callback function currently bound by the sub-control a1 according to a preset code specification and the analyzed file to which the object class belongs, and positioning the code position, so that quick positioning is realized.
Optionally, the code processing method may further include: responding to attribute updating operation aiming at the control name, and acquiring the input control attribute; and updating the control corresponding to the control name selected by the attribute updating operation in the interface of the client according to the control attribute.
When the control attribute corresponding to the control name is modified, determining to generate attribute updating operation for the control name.
Specifically, referring to fig. 3, fig. 3 is a schematic diagram of a second application scenario of the code processing method provided in the embodiment of the present application. The interface editor interface 100 also includes an attribute area 130, wherein when any one of the controls in the control area 120 is selected, the attributes of the selected control are displayed in the attribute area 130 and the user can modify the control attributes of the attribute area 130. It is easy to understand that when the user finds that a control of the client is abnormally displayed, the control name of the control can be selected in the control area 120, and then the control attribute of the control displayed in the attribute area 130 is checked, so that the source code is separated, whether the control attribute setting of any control is correct or not is checked in real time, and convenience is provided for the user. Further, when the user wants to modify the control attribute of the control, the modification can also be directly performed in the attribute area 130. For example, as shown in fig. 3, a user selects a sub-control a2 in the control area 120, the control attribute corresponding to the sub-control a2 is correspondingly displayed in the attribute area 130, when the user modifies the control attribute in the attribute area 130, it is determined that an attribute update operation for the sub-control a2 occurs, the computer device 1000 obtains the control attribute input by the user, and updates the client interface in real time according to the control attribute, for example, when the user modifies the control attribute of the sub-control a2 through the interface editor, and sends the modified control attribute to the client, the client discovers that the control attribute is changed when the client obtains the control attribute, updates the sub-control a2 according to the changed control attribute, so that the user can intuitively see the effect generated by modifying the control attribute.
In this embodiment, a control corresponding to the control name is provided in an interface of the client, and the code processing method further includes: in response to a selected operation on the graphical user interface for a control name, a control in the interface of the client corresponding to the control name of the selected operation is highlighted.
Wherein the highlighting may include highlighting, blinking, or edge highlighting, etc.
It is easy to understand that the control tree is composed of control names of the controls, and the control names are usually represented by English letters, and the selected controls are highlighted in the client, so that the user can conveniently confirm the selected controls. For example, the control name of the control 1 is d, the control name of the control 2 is e, when the user wants to modify the control 1, the control name e of the control 2 in the control tree is selected by mistake, and the user can find out the selection error in time and correct the selection error in time by observing the highlighted control 2 in the client.
In some embodiments, the code processing method further comprises: and in response to the function generating operation aiming at the control name, jumping to a preset coding tool, and sending a generating instruction and the control name selected by the function generating operation to the preset coding tool so that the preset coding tool generates a callback function according to the control name selected by the function generating operation and a preset rule.
Specifically, referring to fig. 4, fig. 4 is a schematic diagram of a third application scenario of the code processing method provided in the embodiment of the present application, where a user may select a control name in the control area 120 through a right mouse button: the sub-control a1, the interface editor responds to the selection operation of clicking the right button of the mouse by the user, the function menu 122 is displayed, then the user can select the add callback function in the function menu 122, the interface editor responds to the selection operation of the user on the add callback function, jumps to the preset coding tool, and sends the corresponding control name, the sub-control a1 and the generation instruction to the preset coding tool. The function of jumping to the third party software (preset coding tool) when the add callback function key is selected can be realized by setting a trigger event in the add callback function key.
In this embodiment, the code processing method further includes: and generating a control object corresponding to the generated callback function in response to a function generation operation aiming at the control name.
In some embodiments, the code processing method further comprises: and responding to the deleting operation for the control name, jumping to the preset coding tool, and sending a deleting instruction and the control name selected by the deleting operation to the preset coding tool so that the preset coding tool deletes the callback function currently bound by the control name selected by the deleting operation.
When the user selects the control name and selects the delete callback function, the deleting operation for the control name is determined to be generated.
For example, as shown in fig. 5, taking a personal computer as an example, a user selects a sub-control a1 in the control area 120 through a right mouse button, the interface editor responds to the selection operation of clicking the right mouse button by the user, a function menu 123 is displayed, then the user can select a delete callback function in the function menu 123, the interface editor responds to the selection operation of deleting the callback function by the user, jumps to a preset coding tool, and sends a corresponding control name, the sub-control a1 and a delete instruction to the preset coding tool. The function of jumping to the third party software (preset coding tool) when the callback deleting function key is selected can be realized by setting a triggering event in the callback deleting function key.
In some embodiments, the code processing method further comprises: and receiving variable data sent by the client, wherein the variable data comprises a plurality of variable names and corresponding relations between the variable names and control names.
It is readily appreciated that there may be multiple variables dynamically mapped to a control, so that when a client is connected to an interface editor, the client may send variable data to the interface editor for editing of the control by a user. The variable data may include a plurality of variable names and correspondence of the plurality of variable names to control names.
In this embodiment, the code processing method further includes: acquiring a search instruction, wherein the search instruction carries a variable name; and highlighting the control names matched with the variable names in the control tree according to the variable names and the variable data.
Specifically, when a user needs to edit a control corresponding to a certain variable, the user can position the control corresponding to the variable by the variable name of the variable. For example, referring to fig. 6, fig. 6 is a schematic diagram of a fifth application scenario of the code processing method provided in the embodiment of the present application, where the interface editor interface 100 includes a search area 110, and the search area displays a search box, for example, a user wants to modify a variable 1 corresponding control, and can input a variable 1 in the search box, and then click a search button to generate a search instruction. The interface editor receives the search instruction and the variable name (variable 1), and highlights the control (parent control B) corresponding to variable 1 in the control area 120 so that the user modifies the parent control B.
According to the code processing method provided by the embodiment of the application, interface data sent by the client are displayed on a graphical user interface provided by the interface editor, wherein the interface data comprise 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; and in response to code inquiry operation aiming at the target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to enable the preset coding tool to be positioned to the code position of the callback function currently bound by the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names, so that a user is not required to record the code position through a document in advance and inquire the code position through the document, and the quick positioning of the code position can be realized.
Referring to fig. 7, fig. 7 is another flow chart of a code processing method according to an embodiment of the present application, where the method is applied to an encoding tool running in a computer device, and mainly includes steps 201 to 203, which are described as follows:
step 201: and receiving a positioning instruction sent by the interface editor, wherein the positioning instruction carries the name of the first target control.
Specifically, when a skip back function in the interface editor is selected, a preset encoding tool is opened in response to a skip event in a skip back function key. The encoding tool receives the positioning instruction sent by the interface editor, and in response to the positioning instruction, performs step 202.
Step 202: and determining a file to which the object class of the first target control name belongs, and analyzing the file to which the object class belongs.
Specifically, a client source code is preset in the preset coding tool, and the coding tool responds to the positioning instruction and finds a file to which an object class corresponding to the control belongs according to the first target control name. The default parsing tool is set in the preset encoding tool, and parses the file to which the object class belongs.
Step 203: and determining a first code position of a callback function currently bound by the control corresponding to the first target control name according to the file to which the parsed object class belongs and a preset code specification, and positioning the first code position.
Specifically, when writing the source code of the client, the user can customize a section of preset code specification, and the coding tool can determine the first code position of the callback function currently bound by the control corresponding to the first target control name according to the preset code specification and by combining the file of the parsed object class, and jump to the first code position.
In some embodiments, the code processing method further comprises: receiving an newly added function instruction sent by the interface editing second target control name device, wherein the newly added function instruction carries the second target control name; jumping to a second code position of a callback function currently bound by the seventh control name corresponding to the control; and adding a callback function after the callback function is corresponding to the second code position according to the preset rule and the second target control name.
Wherein the newly added function instruction corresponds to the generation instruction in the above embodiment.
Specifically, the preset encoding tool responds to the newly added function instruction, firstly positions to a second code position of a callback function currently bound by the control corresponding to the second target control name according to the code processing method, and then generates a new callback function after the callback function corresponding to the second code position according to the preset rule and the second target control name. The newly generated callback function is a function template generated according to the name of the second target control and a preset rule, and a user can add codes into the function template to realize the callback function. For example, as shown in fig. 4, when the user selects the sub-control a1 and selects the add callback function, in response to a jump event built in the add callback function button, the jump is performed to a preset interface (not shown in the figure) of the coding tool, and then the coding tool automatically jumps to a code position of the callback function currently bound by the sub-control a1 corresponding to the control, at this time, the coding tool can automatically generate a new callback function after the callback function corresponding to the code position.
In some embodiments, the code processing method further comprises: receiving a deleting instruction sent by an interface editor, wherein the deleting instruction carries a third target control name; jumping to a third code position of a callback function currently bound by the control corresponding to the name of the third target control; the callback function at the third code location is deleted.
Specifically, the preset encoding tool responds to the deleting instruction, firstly positions to a third code position of a callback function currently bound by the control corresponding to the third target control name according to the code processing method, then jumps to the third code position, and deletes the callback function at the third code position. For example, as shown in fig. 5, when the user selects the sub-control a1 and selects the delete callback function, in response to a jump event built in the delete callback function button, the jump is performed to a preset interface (not shown in the figure) of the coding tool, and then the coding tool automatically jumps to a code position of the callback function currently bound by the sub-control a1 corresponding to the control, at this time, the coding tool can automatically delete the callback function at the code position, and can also pop up a dialog box to confirm whether to delete.
All the above technical solutions may be combined to form an optional embodiment of the present application, which is not described here in detail.
According to the code processing method provided by the embodiment of the application, the coding tool receives the positioning instruction sent by the interface editor, the positioning instruction carries the first target control name, then the file of the object class where the first target control name is located is determined, the file of the object class is analyzed, then the first code position of the callback function currently bound by the corresponding control of the first target control name is determined according to the analyzed file of the object class and the preset code specification and is positioned to the first code position, and therefore a user does not need to record the code position through a document in advance and inquire the code position through the document, and the quick positioning of the code position can be achieved.
In order to facilitate better implementation of the code processing method of the embodiment of the application, the embodiment of the application also provides a code processing device. Referring to fig. 8, fig. 8 is a schematic structural diagram of a code processing apparatus according to an embodiment of the present application. The code processing apparatus 10 may include a display module 11, a generation module 12, and a positioning module 13.
The display module 11 is configured to display, on a graphical user interface provided by the interface editor, interface data sent by the client, where the interface data includes control names of a plurality of controls in the client.
The generating module 12 is configured to generate a control tree according to the interface data, where the control tree includes control names of a plurality of controls.
The positioning module 13 is configured to, in response to a code query operation for a target control name on the graphical user interface, skip to a preset coding tool, and send a positioning instruction to the preset coding tool, so that the preset coding tool positions to a code position of a callback function to which the target control name corresponds to the control currently binding, where the positioning instruction carries the target control name, and the target control name is at least one of multiple control names.
In some embodiments, the code processing apparatus 10 may further include an update module for: responding to attribute updating operation aiming at the control name, and acquiring the input control attribute; and updating the control corresponding to the control name selected by the attribute updating operation in the interface of the client according to the control attribute.
In some embodiments, the interface of the client provides a control corresponding to the name of the control, and the code processing apparatus 10 may further include a highlighting module for: in response to a selected operation on the graphical user interface for a control name, a control in the interface of the client corresponding to the control name of the selected operation is highlighted.
In some embodiments, the code processing apparatus 10 may further include an add-in module for: and in response to the function generating operation aiming at the control name, jumping to a preset coding tool, and sending a generating instruction and the control name selected by the function generating operation to the preset coding tool so that the preset coding tool generates a callback function according to the control name selected by the function generating operation and a preset rule.
In some embodiments, the add-on module may also be used to: in response to a function generation operation for a control name, a control object corresponding to the generated callback function is generated.
In some embodiments, the code processing apparatus 10 may further include a deletion module for: and in response to the deleting operation for the control name, jumping to a preset coding tool, and sending a deleting instruction and the control name selected by the deleting operation to the preset coding tool, so that the preset coding tool deletes the callback function currently bound by the control corresponding to the control name selected by the deleting operation.
In some embodiments, the display module 11 may also be used to: and receiving variable data sent by the client, wherein the variable data comprises a plurality of variable names and corresponding relations between the variable names and control names.
Further, the code processing apparatus 10 may further include a search module for: acquiring a search instruction, wherein the search instruction carries a variable name; and highlighting the control names matched with the variable names in the control tree according to the variable names and the variable data.
According to the code processing device 10 provided by the embodiment of the application, interface data sent by a client are displayed on a graphical user interface provided by an interface editor through a display module 11, the interface data comprise control names of a plurality of controls in the client, a generating module 12 generates a control tree according to the interface data, the control tree comprises the control names of the plurality of controls, a positioning module 13 is used for responding to code inquiring operation aiming at target control names on the graphical user interface, jumping to a preset coding tool and sending a 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 by the target control names corresponding to the controls, wherein the positioning instruction carries the target control names, the target control names are at least one of the plurality of control names, and therefore a user does not need to record the code position in advance through a document and inquire the code position through the document, and quick positioning of the code position can be achieved.
The embodiment of the application also provides a code processing device. Referring to fig. 9, fig. 9 is a schematic structural diagram of a code processing apparatus according to an embodiment of the present application. The code processing apparatus 20 may include a receiving module 21, a determining module 22, and a positioning module 23.
The receiving module 21 is configured to receive a positioning instruction sent by the interface editor, where the positioning instruction carries a first target control name.
The determining module 22 determines a file to which the object class to which the first target control name belongs, and parses the file to which the object class belongs.
The positioning module 23 is configured to determine, according to the file to which the parsed object class belongs and the preset code specification, a first code position of a callback function to which the control currently binds corresponding to the first target control name, and position the callback function to the first code position.
In some embodiments, the code processing apparatus 20 further includes an add-on module, configured to receive an add-on function instruction sent by the interface editor, where the add-on function instruction carries a second target control name; jumping to a second code position of a callback function currently bound by the control corresponding to the second target control name; and adding a callback function after the callback function is corresponding to the second code position according to the preset rule and the second target control name.
In some embodiments, the code processing apparatus 20 further comprises a deletion module for: receiving a deleting instruction sent by an interface editor, wherein the deleting instruction carries a third target control name; jumping to a third code position of a callback function currently bound by the control corresponding to the name of the third target control; the callback function at the third code location is deleted.
According to the code processing method provided by the embodiment of the application, the coding tool receives the positioning instruction sent by the interface editor through the receiving module 21, the positioning instruction carries the first target control name, the determining module 22 determines the file to which the object class of the first target control name belongs and analyzes the file to which the object class belongs, and the positioning module 23 determines the first code position of the callback function currently bound by the control corresponding to the first target control name according to the analyzed file to which the object class belongs and the preset code specification and positions the first code position, so that a user does not need to record the code position through a document and inquire the code position through the document in advance, and quick positioning of the code position can be achieved.
In addition, the embodiment of the application further provides a computer device, which can be a terminal, and the terminal can be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game machine, a personal computer (PC, personalComputer), a personal digital assistant (PersonalDigitalAssistant, PDA) and the like. Fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application, as shown in fig. 10. The computer device 1000 includes a processor 601 having one or more processing cores, a memory 602 having one or more computer readable storage media, and a computer program stored on the memory 602 and executable on the processor. The processor 601 is electrically connected to the memory 602. It will be appreciated by those skilled in the art that the computer device structure shown in the figures is not limiting of the computer device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
Processor 601 is the control center of computer device 1000 and connects the various parts of the overall computer device 1000 using various interfaces and lines to perform various functions of computer device 1000 and process data by running or loading software programs and/or modules stored in memory 602 and invoking data stored in memory 602 to thereby monitor the overall computer device 1000.
In the embodiment of the present application, the processor 601 in the computer device 1000 loads the instructions corresponding to the processes of one or more application programs into the memory 602 according to the following steps, and the processor 601 executes the application programs stored in the memory 602, so as to implement various functions:
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;
and in response to code inquiry operation for the target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so that the preset coding tool is positioned to the code position of the callback function currently bound by the target control name corresponding to the control, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Optionally, as shown in fig. 10, the computer device 1000 further includes: a touch display 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch display 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607, respectively. It will be appreciated by those skilled in the art that the computer device structure shown in FIG. 10 is not limiting of the computer device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The touch display 603 may be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display 603 may include a display panel and a touch panel. Wherein the display panel may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of a computer device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a liquid crystal display (LCD, liquidCrystalDisplay), an organic light emitting diode (OLED, organicLight-EmittingDiode), or the like. The touch panel may be used to collect touch operations on or near the user (such as operations on or near the touch panel by the user using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 601, and can receive and execute commands sent from the processor 601. The touch panel may overlay the display panel, and upon detection of a touch operation thereon or thereabout, the touch panel is passed to the processor 601 to determine the type of touch event, and the processor 601 then provides a corresponding visual output on the display panel based on the type of touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 603 to implement input and output functions. In some embodiments, however, the touch panel and the touch panel may be implemented as two separate components to perform the input and output functions. I.e. the touch display 603 may also implement an input function as part of the input unit 606.
In the embodiment of the application, the game application program executed by the processor 601 generates a graphical user interface on the touch display screen 603, and a 3D model is included in a virtual scene on the graphical user interface.
The radio frequency circuit 604 may be configured to receive and transmit radio frequency signals to and from a network device or other computer device via wireless communication to and from the network device or other computer device.
The audio circuit 605 may be used to provide an audio interface between a user and a computer device through speakers, microphones, and so on. The audio circuit 605 may transmit the received electrical signal converted from audio data to a speaker, and convert the electrical signal into a sound signal for output by the speaker; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 605 and converted into audio data, which are processed by the audio data output processor 601 for transmission to, for example, another computer device via the radio frequency circuit 604, or which are output to the memory 602 for further processing. The audio circuit 605 may also include an ear bud jack to provide communication of the peripheral headphones with the computer device.
The input unit 606 may be used to receive entered numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), as well as to generate keyboard, mouse, joystick, optical, or trackball signal inputs associated with user settings and function control.
The power supply 607 is used to power the various components of the computer device 1000. Alternatively, the power supply 607 may be logically connected to the processor 601 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system. The power supply 607 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 10, the computer device 1000 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which will not be described herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
As can be seen from the above, in the computer device provided in this embodiment, interface data sent by the client is displayed on the graphical user interface provided by the interface editor, where the interface data includes control names of multiple 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; and in response to code inquiry operation aiming at the target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to enable the preset coding tool to be positioned to the code position of the callback function currently bound by the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names, so that a user is not required to record the code position through a document in advance and inquire the code position through the document, and the quick positioning of the code position can be realized.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer readable storage medium having stored therein a plurality of computer programs that can be loaded by a processor to perform steps in any of the code processing methods provided by the embodiments of the present application. For example, the computer program may perform the steps of: 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; and in response to code inquiry operation for the target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so that the preset coding tool is positioned to the code position of the callback function currently bound by the target control name corresponding to the control, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read-only memory (ROM, readOnlyMemory), random access memory (RAM, randomAccessMemory), magnetic or optical disk, and the like.
The steps in any code processing method provided in the embodiments of the present application may be executed by the computer program stored in the storage medium, so that the beneficial effects that any code processing method provided in the embodiments of the present application may be achieved, which are detailed in the previous embodiments and are not repeated herein.
The foregoing has described in detail the methods, apparatuses, storage medium and computer devices for processing codes provided in the embodiments of the present application, and specific examples have been applied to illustrate the principles and embodiments of the present application, where the foregoing examples are only used to help understand the methods and core ideas of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (21)

1. A code processing method, comprising:
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 the plurality of controls;
in response to code inquiry operation for a target control name on the graphical user interface, jumping to a preset coding tool, and sending a 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 by the target control name corresponding to the control, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names;
and responding to the function generating operation aiming at the control name, jumping to the preset coding tool, and sending a generating instruction and the control name selected by the function generating operation to the preset coding tool so that the preset coding tool generates a callback function according to the control name selected by the function generating operation and a preset rule.
2. The code processing method according to claim 1, characterized by further comprising:
responding to attribute updating operation aiming at the control name, and acquiring input control attributes;
and updating the control corresponding to the control name selected by the attribute updating operation in the interface of the client according to the control attribute.
3. The code processing method according to claim 1, wherein a control corresponding to the control name is provided in an interface of the client, the method further comprising:
in response to a selected operation on the graphical user interface for the control name, a control in the interface of the client corresponding to the control name of the selected operation is highlighted.
4. The code processing method according to claim 1, characterized in that the method further comprises:
and generating a control object corresponding to the callback function in response to a function generation operation aiming at the control name.
5. The code processing method according to claim 1, characterized in that the method further comprises:
and responding to the deleting operation for the control name, jumping to the preset coding tool, and sending a deleting instruction and the control name selected by the deleting operation to the preset coding tool so that the preset coding tool deletes the callback function currently bound by the control name selected by the deleting operation.
6. The code processing method according to claim 1, characterized by further comprising:
and receiving variable data sent by the client, wherein the variable data comprises a plurality of variable names and corresponding relations between the variable names and the control names.
7. The code processing method according to claim 6, characterized in that the method further comprises:
acquiring a search instruction, wherein the search instruction carries a variable name;
and highlighting the control name matched with the variable name in the control tree according to the variable name and the variable data.
8. A code processing method, applied to an encoding tool, comprising:
receiving a positioning instruction sent by an interface editor, wherein the positioning instruction carries a first target control name;
determining a file to which an object class of the first target control name belongs, and analyzing the file to which the object class belongs;
determining a first code position of a callback function currently bound by the control corresponding to the first target control name according to the analyzed file to which the object class belongs and a preset code specification, and positioning the first code position;
Receiving a new function adding instruction sent by an interface editor, wherein the new function adding instruction carries a second target control name;
jumping to a second code position of a callback function currently bound by the control corresponding to the second target control name;
and adding a callback function after the callback function corresponding to the second code position according to a preset rule and the second target control name.
9. The code processing method according to claim 8, further comprising:
receiving a deleting instruction sent by an interface editor, wherein the deleting instruction carries a third target control name;
jumping to a third code position of a callback function currently bound by the control corresponding to the third target control name;
and deleting the callback function at the third code position.
10. A code processing apparatus, comprising:
the display module is used for displaying interface data sent by the client on a graphical user interface provided by the interface editor, wherein the interface data comprises control names of a plurality of controls in the client;
the generation module is used for generating a control tree according to the interface data, wherein the control tree is composed of a plurality of control names;
the positioning module is used for responding to code inquiry operation aiming at a target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to enable the preset coding tool to be positioned to the code position of a callback function which is currently bound by the target control name corresponding to the control, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names;
And the new adding module is used for responding to the function generating operation aiming at the control name, jumping to the preset coding tool, and sending a generating instruction and the control name selected by the function generating operation to the preset coding tool so that the preset coding tool generates a callback function according to the control name selected by the function generating operation and a preset rule.
11. A code processing apparatus for use with an encoding tool, comprising:
the receiving module is used for receiving a positioning instruction sent by the interface editor, wherein the positioning instruction carries a first target control name;
the determining module is used for determining a file to which the object class of the first target control name belongs and analyzing the file to which the object class belongs;
the positioning module is used for determining a first code position of a callback function currently bound by the control corresponding to the first target control name according to the analyzed file to which the object class belongs and a preset code specification, and positioning the first code position;
the new function adding module is used for receiving a new function adding instruction sent by the interface editor, wherein the new function adding instruction carries a second target control name; jumping to a second code position of a callback function currently bound by the control corresponding to the second target control name; and adding a callback function after the callback function corresponding to the second code position according to a preset rule and the second target control name.
12. A code processing method, comprising:
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 the plurality of controls;
in response to code inquiry operation for a target control name on the graphical user interface, jumping to a preset coding tool, and sending a 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 by the target control name corresponding to the control, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names;
and responding to the deleting operation for the control name, jumping to the preset coding tool, and sending a deleting instruction and the control name selected by the deleting operation to the preset coding tool so that the preset coding tool deletes the callback function currently bound by the control name selected by the deleting operation.
13. The code processing method according to claim 12, characterized by further comprising:
responding to attribute updating operation aiming at the control name, and acquiring input control attributes;
and updating the control corresponding to the control name selected by the attribute updating operation in the interface of the client according to the control attribute.
14. The code processing method of claim 12, wherein a control corresponding to the control name is provided in an interface of the client, the method further comprising:
in response to a selected operation on the graphical user interface for the control name, a control in the interface of the client corresponding to the control name of the selected operation is highlighted.
15. The code processing method according to claim 12, characterized by further comprising:
and receiving variable data sent by the client, wherein the variable data comprises a plurality of variable names and corresponding relations between the variable names and the control names.
16. The code processing method according to claim 15, characterized in that the method further comprises:
acquiring a search instruction, wherein the search instruction carries a variable name;
And highlighting the control name matched with the variable name in the control tree according to the variable name and the variable data.
17. A code processing method, applied to an encoding tool, comprising:
receiving a positioning instruction sent by an interface editor, wherein the positioning instruction carries a first target control name;
determining a file to which an object class of the first target control name belongs, and analyzing the file to which the object class belongs;
determining a first code position of a callback function currently bound by the control corresponding to the first target control name according to the analyzed file to which the object class belongs and a preset code specification, and positioning the first code position;
receiving a deleting instruction sent by an interface editor, wherein the deleting instruction carries a third target control name;
jumping to a third code position of a callback function currently bound by the control corresponding to the third target control name;
and deleting the callback function at the third code position.
18. A code processing apparatus, comprising:
the display module is used for displaying interface data sent by the client on a graphical user interface provided by the interface editor, wherein the interface data comprises control names of a plurality of controls in the client;
The generation module is used for generating a control tree according to the interface data, wherein the control tree is composed of a plurality of control names;
the positioning module is used for responding to code inquiry operation aiming at a target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to enable the preset coding tool to be positioned to the code position of a callback function which is currently bound by the target control name corresponding to the control, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names;
and the deleting module is used for responding to the deleting operation for the control name, jumping to the preset coding tool, and sending a deleting instruction and the control name selected by the deleting operation to the preset coding tool so that the preset coding tool deletes the callback function currently bound by the control name selected by the deleting operation corresponding to the control.
19. A code processing apparatus for use with an encoding tool, comprising:
the receiving module is used for receiving a positioning instruction sent by the interface editor, wherein the positioning instruction carries a first target control name;
The determining module is used for determining a file to which the object class of the first target control name belongs and analyzing the file to which the object class belongs;
the positioning module is used for determining a first code position of a callback function currently bound by the control corresponding to the first target control name according to the analyzed file to which the object class belongs and a preset code specification, and positioning the first code position;
the deleting module is used for receiving a deleting instruction sent by the interface editor, wherein the deleting instruction carries a third target control name; jumping to a third code position of a callback function currently bound by the control corresponding to the third target control name; and deleting the callback function at the third code position.
20. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1 to 7 or claims 8 to 9 or claims 12 to 16 or claim 17 when the computer program is executed.
21. A storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the method of any of claims 1 to 7 or claims 8 to 9 or claims 12 to 16 or claim 17.
CN202110247329.8A 2021-03-05 2021-03-05 Code processing method, device, computer equipment and storage medium Active CN112817582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110247329.8A CN112817582B (en) 2021-03-05 2021-03-05 Code processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110247329.8A CN112817582B (en) 2021-03-05 2021-03-05 Code processing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112817582A CN112817582A (en) 2021-05-18
CN112817582B true CN112817582B (en) 2023-08-08

Family

ID=75862970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110247329.8A Active CN112817582B (en) 2021-03-05 2021-03-05 Code processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112817582B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377365B (en) * 2021-07-09 2023-07-18 北京字跳网络技术有限公司 Code display method, apparatus, device, computer readable storage medium and product
CN113672225B (en) * 2021-08-24 2023-08-22 网易(杭州)网络有限公司 User interface processing method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5966532A (en) * 1997-07-10 1999-10-12 National Instruments Corporation Graphical code generation wizard for automatically creating graphical programs
US6182278B1 (en) * 1996-07-02 2001-01-30 International Business Machines Corporation Program development support system and support method and storage medium for storing program components which are used for program development support
US8392877B1 (en) * 2004-02-12 2013-03-05 Raju Chiluvuri System and method of application development using replaceable self-contained components (RSCCS)
KR20140019627A (en) * 2012-08-06 2014-02-17 인크로스 주식회사 An authoring tool for web applications and the authoring method thereof
CN107992304A (en) * 2017-12-29 2018-05-04 北京远特科技股份有限公司 A kind of method and apparatus for generating display interface
CN109388557A (en) * 2018-09-03 2019-02-26 深圳壹账通智能科技有限公司 A kind of control visiting method, computer readable storage medium and terminal device
CN109783356A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 A kind of automated testing method and terminal
CN111949522A (en) * 2020-07-31 2020-11-17 中国工商银行股份有限公司 User interface automatic testing method and device
CN112306480A (en) * 2020-10-16 2021-02-02 深圳市大富网络技术有限公司 Visual programming control method, system, device and computer storage medium
CN112306481A (en) * 2020-10-16 2021-02-02 深圳市大富网络技术有限公司 Code display method, system, device and storage medium for graphical programming scene

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120897B2 (en) * 2001-07-10 2006-10-10 Microsoft Corporation User control objects for providing server-side code generation from a user-defined dynamic web page content file
US20060020930A1 (en) * 2004-07-23 2006-01-26 Press - Sense Ltd. System and method of identifying source code associated with a displayed component
US8689121B2 (en) * 2010-05-06 2014-04-01 Cadence Design Systems, Inc. System and method for management of controls in a graphical user interface

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6182278B1 (en) * 1996-07-02 2001-01-30 International Business Machines Corporation Program development support system and support method and storage medium for storing program components which are used for program development support
US5966532A (en) * 1997-07-10 1999-10-12 National Instruments Corporation Graphical code generation wizard for automatically creating graphical programs
US8392877B1 (en) * 2004-02-12 2013-03-05 Raju Chiluvuri System and method of application development using replaceable self-contained components (RSCCS)
KR20140019627A (en) * 2012-08-06 2014-02-17 인크로스 주식회사 An authoring tool for web applications and the authoring method thereof
CN107992304A (en) * 2017-12-29 2018-05-04 北京远特科技股份有限公司 A kind of method and apparatus for generating display interface
CN109388557A (en) * 2018-09-03 2019-02-26 深圳壹账通智能科技有限公司 A kind of control visiting method, computer readable storage medium and terminal device
CN109783356A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 A kind of automated testing method and terminal
CN111949522A (en) * 2020-07-31 2020-11-17 中国工商银行股份有限公司 User interface automatic testing method and device
CN112306480A (en) * 2020-10-16 2021-02-02 深圳市大富网络技术有限公司 Visual programming control method, system, device and computer storage medium
CN112306481A (en) * 2020-10-16 2021-02-02 深圳市大富网络技术有限公司 Code display method, system, device and storage medium for graphical programming scene

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
aurora-ide;aurora-java;《https://github.com/aurora-java/aurora-ide》;全文 *

Also Published As

Publication number Publication date
CN112817582A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
US20180213077A1 (en) Method and apparatus for controlling smart device, and computer storage medium
CN112817582B (en) Code processing method, device, computer equipment and storage medium
CN114237399B (en) Haptic feedback method, apparatus, medium, and device
CN112870724B (en) Resource management method and device, storage medium and electronic equipment
CN108984142B (en) Split screen display method and device, storage medium and electronic equipment
US20230054717A1 (en) Ui control generation and trigger methods, and terminal
CN108139895A (en) Font font preview
US8977968B2 (en) Pseudo-remote terminal IOTA mobile diagnostics and electronic customer care
CN113626017B (en) Heterogeneous program analysis method, heterogeneous program analysis device, computer equipment and storage medium
US9684738B2 (en) Text-based command generation
CN113282546A (en) File processing method and device
CN115469937A (en) Plug-in operation method and device, electronic equipment and storage medium
CN113609154B (en) Data query method and device, electronic equipment and storage medium
CN115116434A (en) Application implementation method and device, storage medium and electronic equipment
CN110928539B (en) Code engineering generation method and device, electronic equipment and readable storage medium
CN113778596A (en) Remote assistance method and device and electronic equipment
US10459612B2 (en) Select and move hint
CN112558955A (en) Robot programming and control method, readable storage medium, and computing device
CN109783152B (en) Physical hardware control method, device and computer readable storage medium
CN114416234B (en) Page switching method and device, computer equipment and storage medium
CN111880792B (en) User interface implementation method, mobile terminal and computer readable storage medium
CN116382800A (en) Data processing method, device, electronic equipment and storage medium
CN118034819A (en) Method, device, computer equipment and storage medium for acquiring program call information
CN116954795A (en) Page view component control method and device, storage medium and computer equipment
CN113050930A (en) User graphical interface modification method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant