CN111427562A - Integrated development environment editor suitable for single function - Google Patents

Integrated development environment editor suitable for single function Download PDF

Info

Publication number
CN111427562A
CN111427562A CN202010227650.5A CN202010227650A CN111427562A CN 111427562 A CN111427562 A CN 111427562A CN 202010227650 A CN202010227650 A CN 202010227650A CN 111427562 A CN111427562 A CN 111427562A
Authority
CN
China
Prior art keywords
code
compiling
development environment
displaying
integrated development
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.)
Pending
Application number
CN202010227650.5A
Other languages
Chinese (zh)
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.)
Tianjin Optical Electrical Communication Technology Co Ltd
Original Assignee
Tianjin Optical Electrical Communication Technology 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 Tianjin Optical Electrical Communication Technology Co Ltd filed Critical Tianjin Optical Electrical Communication Technology Co Ltd
Priority to CN202010227650.5A priority Critical patent/CN111427562A/en
Publication of CN111427562A publication Critical patent/CN111427562A/en
Pending legal-status Critical Current

Links

Images

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

Landscapes

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

Abstract

The embodiment of the invention discloses an integrated development environment editor suitable for a single function, which comprises: the code editing part is used for responding to input operation and displaying a corresponding code in the code editing part according to the input operation; an output unit for displaying a result of compiling the code; the running part is used for displaying the running effect of the code; the code editing part, the output part and the operation part are selected in the same area by using tags in a movable page mode to be displayed; the code editing part comprises a help module, and the help module is used for searching a corresponding solution in a help manual according to the selected code or the compiling error and displaying the solution on a help module interface.

Description

Integrated development environment editor suitable for single function
Technical Field
The invention relates to the technical field of computers, in particular to an integrated development environment editor suitable for a single function.
Background
An Integrated Development Environment (IDE) is an application program for providing a program Development Environment, and generally includes tools such as a code editor, a compiler, a debugger, and a graphical user interface. The integrated development software service set integrates a code compiling function, an analyzing function, a compiling function, a debugging function and the like. All software or software suite (group) with the characteristic can be called an integrated development environment.
In the process of implementing the invention, the inventor finds the following technical problems: ACARS data causes received message data to be irregular during transmission due to transmission errors, burst interference, artifacts such as bit errors, message loss, etc. of a data communication network. With the rapid development of civil aviation industry, the number and types of ACARS messages are increasing, and the traditional message processing is not suitable for the development speed in various aspects such as processing efficiency and maintainability.
At present, common integrated development environments, such as Microsoft Visual Studio series, Borland C + + Builder, Delphi series, etc., are used. The program may be operated independently or in combination with other programs.
In the process of implementing the invention, the inventor finds the following technical problems: the common integrated development environment has more functions and is often associated with other various programs, which not only need to consume more computing resources, but also often generate various errors during the use process. It is difficult for beginners who need to compile simple programs to use the programs. And when problems are encountered, the corresponding help documents are difficult to be quickly and accurately obtained through a complicated help manual. If the integrated development environment is abandoned and the original command line is adopted, errors are inconvenient to find because the integrated development environment is not visualized and cannot provide corresponding compiling information. It is even harder for beginners.
Disclosure of Invention
Embodiments of the present invention provide an integrated development environment editor suitable for a single function, so as to solve the above-mentioned technical problems.
In a first aspect, an embodiment of the present invention provides an integrated development environment editor applicable to a single function, including:
the code editing part is used for responding to input operation and displaying a corresponding code in the code editing part according to the input operation;
an output unit for displaying a result of compiling the code;
the running part is used for displaying the running effect of the code;
the code editing part, the output part and the operation part are selected in the same area by using tags in a movable page mode to be displayed;
the code editing part comprises a help module, and the help module is used for searching a corresponding solution in a help manual according to the selected code or the compiling error and displaying the solution on a help module interface.
Further, the help module further comprises:
and the uploading unit is used for uploading the selected codes or compiling errors so as to obtain the answering help of other personnel.
Further, the help module includes:
a help manual including an uploaded programming idea document.
Further, the code editing unit includes:
and the attribute configuration unit is used for configuring the three-dimensional appearance, the frame, the font, the window color and the icon display of the code according to the configuration operation.
Further, the code editing unit includes:
and the resource management module is used for providing a resource browsing interface and importing the resources into the code editing part according to the selection operation.
Further, the resource management module includes:
the file view display module is used for displaying a file resource browsing interface and importing the resources into the code editing part according to the file selection operation;
and the class view display module is used for displaying the selectable class name and leading the class into the code editing part according to the class selection operation.
Further, the integrated development environment editor further comprises:
and the compiling tool selection module is used for receiving the selecting operation of the compiling tool and compiling the code according to the selected compiling tool.
Further, the integrated development environment editor further comprises:
and the compiling tool self-defining port is used for receiving the configuration and linking the self-defining compiling tool.
Further, the operation unit includes:
the display module is used for displaying the information of the whole compiling, linking and executing process;
a file generation module to generate an intermediate file and an executable file in the target folder.
The integrated development environment editor applicable to the single function provided by the embodiment of the invention is used for responding to input operation by setting the code editing part and displaying corresponding codes on the code editing part according to the input operation; an output unit for displaying a result of compiling the code; the running part is used for displaying the running effect of the code; the code editing part, the output part and the operation part are displayed in the same area in a movable page mode; the code editing part comprises a help module, and the help module is used for searching a corresponding solution in a help manual according to the selected code or the compiling error and displaying the solution on a help module interface. The method can provide rich visual interfaces according to the actual requirements of beginners, and is convenient for beginners to learn to write codes under friendly visual interfaces. And corresponding help contents can be quickly acquired from a document manual and a network by using the help function, so that a beginner can write codes of a single function conveniently.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is an interface operation diagram of an integrated development environment editor applicable to a single function according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is an interface operation diagram of an integrated development environment editor applicable to a single function according to an embodiment of the present invention. Referring to fig. 1, the integrated development environment editor applicable to a single function includes: the code editing part is used for responding to input operation and displaying a corresponding code in the code editing part according to the input operation; an output unit for displaying a result of compiling the code; the running part is used for displaying the running effect of the code; the code editing part, the output part and the operation part are displayed in the same area in a movable page mode; the code editing part comprises a help module, and the help module is used for searching a corresponding solution in a help manual according to the selected code or the compiling error and displaying the solution on a help module interface.
In this embodiment, the integrated development environment editor for a single function is a visual interface, so that a beginner can display codes input by a user in the integrated development environment editor according to what you see is what you get. Specifically, the input code may be displayed in a code editing unit. The part can be realized through a corresponding function set by windows and a corresponding hardware interface.
In this embodiment, the single-function integrated development environment editor may include: and the output part is used for displaying the compiling result of the code. Compiling refers to a translation process for translating a source program written in a high-level programming language into an equivalent machine language format object program. The compiler belongs to a translation program realized by adopting a generative implementation way. It takes as input a source program written in a high level programming language and as output a target program expressed in assembly or machine language. Generally, the compiling process also has important functions of syntax checking, debugging measures, modifying means, coverage processing and the like. By using the compiling process, whether the compiled code has the defects of grammar error and the like can be determined, and a beginner can modify the code in time.
Correspondingly, the output part can display the corresponding compiling process and result and display the compiling process and the result so as to facilitate a user to check the compiling process in time and search for errors.
The execution unit may display and display an execution result of the code. The user can determine whether there is a problem in writing the code and modify the code by comparing the operation result with the input result of writing the code according to the display result of the operation part.
In this embodiment, the code editing unit, the output unit, and the running unit are selected and displayed in the same area by using a tag in an active page mode. Illustratively, the user may switch by clicking on a tab located below the display area. The corresponding display results can be displayed in the same area in a switching manner. The user can conveniently and correspondingly search corresponding problems, and the efficiency of code learning is improved. For example, a function corresponding to the corresponding click action may be set for the tag to achieve the above-mentioned effect.
Optionally, the code editing unit, the output unit, and the operation unit may support operations such as copying, pasting, canceling, and cutting, thereby improving convenience for users.
The code editing part also comprises a help module which is used for searching a corresponding solution in a help manual according to the selected code or the compiling error and displaying the solution on a help module interface. Conventional help modules often use chm-format files provided, and users input corresponding keywords, search through chm-format files according to the keywords, and feed back search results.
However, the above method lacks pertinence, and only the user can determine the keyword according to the compiling error prompt and then perform corresponding retrieval. The results obtained are also generally broader solutions, not specifically targeted for problem resolution. In the present application, the codes of the beginners for performing the primary exercises are consistent, such as "hello world" and the like. Therefore, various specific problems can be integrated into various schemes by using the advantages of the Internet, and a user can obtain the corresponding solution only by marking the error code. Optionally, the help module further includes: and the uploading unit is used for uploading the selected codes or compiling errors so as to obtain the answering help of other personnel. The user can know the source of the error as soon as possible and process the error. The learning efficiency of the user is improved.
The embodiment is characterized in that a code editing part is set and used for responding to input operation and displaying a corresponding code on the code editing part according to the input operation; an output unit for displaying a result of compiling the code; the running part is used for displaying the running effect of the code; the code editing part, the output part and the operation part are displayed in the same area in a movable page mode; the code editing part comprises a help module, and the help module is used for searching a corresponding solution in a help manual according to the selected code or the compiling error and displaying the solution on a help module interface. The method can provide rich visual interfaces according to the actual requirements of beginners, and is convenient for beginners to learn to write codes under friendly visual interfaces. And corresponding help contents can be quickly acquired from a document manual and a network by using the help function, so that a beginner can write codes of a single function conveniently.
Optionally, the help module includes: a help manual including an uploaded programming idea document. By utilizing the uploaded help manual, the method can collect thought and gather the programming ideas of multiple people, is convenient for other people to develop ideas, and improves the learning effect.
In a preferred implementation of this embodiment, the code editor includes: and the attribute configuration unit is used for configuring the three-dimensional appearance, the frame, the font, the window color and the icon display of the code according to the configuration operation. During the process of writing the code, the user may mark the code specially for part of the code, or different users may have special preference for font color, etc. The code display can be configured by the attribute configuration unit to fit the requirements of the user.
Optionally, the code editing unit includes: and the resource management module is used for providing a resource browsing interface and importing the resources into the code editing part according to the selection operation. Through the resource management module, code files can be selected, and file storage and reuse are facilitated.
Correspondingly, the resource management module comprises:
the file view display module is used for displaying a file resource browsing interface and importing the resources into the code editing part according to the file selection operation;
and the class view display module is used for displaying the selectable class name and leading the class into the code editing part according to the class selection operation.
By importing the class codes, the input of repeated contents by a user can be reduced, only various quantities need to be defined and assigned, repeated input is reduced, and the learning efficiency is improved.
In another implementation manner of this embodiment, the integrated development environment editor further includes: and the compiling tool selection module is used for receiving the selecting operation of the compiling tool and compiling the code according to the selected compiling tool. In general, the code can be compiled using a variety of compilation tools, and in this embodiment, the present IDE supports both GCC compilation and execution and VC compilation and execution, and by default is also the debug panel of both compilers.
Optionally, the integrated development environment editor further includes: and the compiling tool self-defining port is used for receiving the configuration and linking the self-defining compiling tool. To support custom configuration compilation and linking tools, to provide custom configuration interfaces, and to run results that may vary from choice to choice.
Optionally, the operation unit includes:
the display module is used for displaying the information of the whole compiling, linking and executing process;
a file generation module to generate an intermediate file and an executable file in the target folder. The information of the whole process of compiling, linking and executing can be displayed on the interface, the target folder can be viewed, and the generation of the intermediate file and the executable file can be viewed.
The integrated development environment editor for single function implementations provided by the present embodiments may be written in one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language, or similar programming languages.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. An integrated development environment editor adapted for use with a single function, comprising:
the code editing part is used for responding to input operation and displaying a corresponding code in the code editing part according to the input operation;
an output unit for displaying a result of compiling the code;
the running part is used for displaying the running effect of the code;
the code editing part, the output part and the operation part are selected in the same area by using tags in a movable page mode to be displayed;
the code editing part comprises a help module, and the help module is used for searching a corresponding solution in a help manual according to the selected code or the compiling error and displaying the solution on a help module interface.
2. The integrated development environment editor of claim 1 wherein the help module further comprises:
and the uploading unit is used for uploading the selected codes or compiling errors so as to obtain the answering help of other personnel.
3. The integrated development environment editor of claim 2 wherein the help module comprises:
a help manual including an uploaded programming idea document.
4. The integrated development environment editor of claim 1, wherein the code editor component comprises:
and the attribute configuration unit is used for configuring the three-dimensional appearance, the frame, the font, the window color and the icon display of the code according to the configuration operation.
5. The integrated development environment editor of claim 1, wherein the code editor component comprises:
and the resource management module is used for providing a resource browsing interface and importing the resources into the code editing part according to the selection operation.
6. The integrated development environment editor of claim 5 wherein the asset management module comprises:
the file view display module is used for displaying a file resource browsing interface and importing the resources into the code editing part according to the file selection operation;
and the class view display module is used for displaying the selectable class name and leading the class into the code editing part according to the class selection operation.
7. The integrated development environment editor of claim 1 further comprising:
and the compiling tool selection module is used for receiving the selecting operation of the compiling tool and compiling the code according to the selected compiling tool.
8. The integrated development environment editor of claim 7 further comprising:
and the compiling tool self-defining port is used for receiving the configuration and linking the self-defining compiling tool.
9. The integrated development environment editor of claim 1 wherein the runtime component comprises:
the display module is used for displaying the information of the whole compiling, linking and executing process;
a file generation module to generate an intermediate file and an executable file in the target folder.
CN202010227650.5A 2020-03-27 2020-03-27 Integrated development environment editor suitable for single function Pending CN111427562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010227650.5A CN111427562A (en) 2020-03-27 2020-03-27 Integrated development environment editor suitable for single function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010227650.5A CN111427562A (en) 2020-03-27 2020-03-27 Integrated development environment editor suitable for single function

Publications (1)

Publication Number Publication Date
CN111427562A true CN111427562A (en) 2020-07-17

Family

ID=71548998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010227650.5A Pending CN111427562A (en) 2020-03-27 2020-03-27 Integrated development environment editor suitable for single function

Country Status (1)

Country Link
CN (1) CN111427562A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6792595B1 (en) * 1998-12-23 2004-09-14 International Business Machines Corporation Source editing in a graphical hierarchical environment
US20040250175A1 (en) * 2003-06-09 2004-12-09 Microsoft Corporation Error/exception helper
US20050223363A1 (en) * 2004-03-31 2005-10-06 International Business Machines Corporation Evaluation of a code segment
US7127707B1 (en) * 2002-10-10 2006-10-24 Microsoft Corporation Intellisense in project upgrade
CN1991765A (en) * 2005-12-29 2007-07-04 北京金远见电脑技术有限公司 Developing apparatus and method for hand-held terminal application program
US20130117733A1 (en) * 2011-11-09 2013-05-09 Microsoft Corporation Simultaneously targeting multiple homogeneous and heterogeneous runtime environments

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6792595B1 (en) * 1998-12-23 2004-09-14 International Business Machines Corporation Source editing in a graphical hierarchical environment
US7127707B1 (en) * 2002-10-10 2006-10-24 Microsoft Corporation Intellisense in project upgrade
US20040250175A1 (en) * 2003-06-09 2004-12-09 Microsoft Corporation Error/exception helper
US20050223363A1 (en) * 2004-03-31 2005-10-06 International Business Machines Corporation Evaluation of a code segment
CN1991765A (en) * 2005-12-29 2007-07-04 北京金远见电脑技术有限公司 Developing apparatus and method for hand-held terminal application program
US20130117733A1 (en) * 2011-11-09 2013-05-09 Microsoft Corporation Simultaneously targeting multiple homogeneous and heterogeneous runtime environments

Similar Documents

Publication Publication Date Title
Ressia et al. Object-centric debugging
Grönninger et al. Textbased modeling
US7610545B2 (en) Annotations for tracking provenance
US8434062B2 (en) Enhancing source code debugging and readability using visual symbols
US9298427B2 (en) Creating inferred symbols from code usage
US20070044066A1 (en) Embedded multi-language programming
US20100242017A1 (en) Inferring missing type information for reflection
US20070011651A1 (en) Customized annotation editing
US11579856B2 (en) Multi-chip compatible compiling method and device
US20040153995A1 (en) Software development tool
US20080313208A1 (en) Apparatus, system, and method for automated context-sensitive message organization
US8302070B2 (en) Output styling in an IDE console
Fernandez et al. Integrating a usability model into model-driven web development processes
JP6199314B2 (en) Graphical representation of operator precedence
CN113312035A (en) Hyperridge Fabric-oriented intelligent contract development plug-in
CN116107524B (en) Low-code application log processing method, medium, device and computing equipment
Chandhok et al. Programming Environments based on structure editing: The Gnome approach
Savic et al. Use case specification at different levels of abstraction
CA2293068C (en) System and method for managing messages and annotations presented in a user interface
CN111427562A (en) Integrated development environment editor suitable for single function
Kumar et al. Code-Viz: data structure specific visualization and animation tool for user-provided code
US7873949B2 (en) In source code suppression of binary analysis
Sloane Debugging Eli-generated compilers with Noosa
Satoh et al. Correlating Program Code to Output for Supporting Program Understanding
CN113094044B (en) Method and terminal for writing PPT UI plug-in code

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200717

RJ01 Rejection of invention patent application after publication