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

Code completion method and device based on continuous keywords

A keyword and completion technology, applied in the field of communication, can solve problems such as the inability to find complete works, the inability to reflect changes in programming language grammar in real time, and the incompleteness of continuous keywords, so as to achieve the effect of improving integrity and effectiveness, and enriching continuous keywords

Active Publication Date: 2020-09-11
ADVANCED NEW TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the existing code completion function, since the syntax of the programming language supported by the IDE may change, it is usually impossible to find a complete set of consecutive keywords that match the code characters entered by the user, and can only be manually added. Not only is the maintenance of the continuous keyword list inefficient, but also the continuous keywords in the continuous keyword list are incomplete, which cannot reflect the grammatical changes of the programming languages ​​supported by the current IDE in real time.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code completion method and device based on continuous keywords
  • Code completion method and device based on continuous keywords
  • Code completion method and device based on continuous keywords

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In an IDE (Integrated Development Environment, an integrated development environment), development tools such as a code editor, a compiler, a debugger, and a graphical user interface tool are generally included.

[0057] Among these development tools, a code editor is a software for developers to write programs, and can generally be called an entry point for developers to perform program development. Developers can edit codes through a code editor, then compile the edited codes through a compiler, and debug the edited codes through a debugger, so as to finally develop program codes that meet actual development requirements.

[0058] For code editors, in order to meet the daily editing needs of developers, in addition to common text editing functions, there are usually functions such as syntax highlighting, statement formatting, syntax error correction, and code completion for developers.

[0059] Currently, code editors provide code completion functions for developers, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a continuous keyword based code complementing method and device. The method comprises the following steps: extracting continuous keywords in instruction codes which are successfully submitted by a user based on basic keywords in a preset basic keyword list; storing the continuous keywords into the preset continuous keywords list, wherein the continuous keyword list is used for recording the continuous keywords extracted from the instruction codes and the times that the continuous keywords are successfully submitted; marking the continuous keywords of which the successful submission times recorded in the continuous keyword list reach the preset threshold as being in a valid state; performing code complementing based on the basic keywords recorded in the foundation keyword list and the continuous keywords which are marked as being in the valid state in the continuous keyword list. With the adoption of the method and the device, new continuous keywords can be automatically collected from the instruction codes which are successfully submitted by the user.

Description

technical field [0001] The present application relates to the communication field, in particular to a code completion method and device based on continuous keywords. Background technique [0002] An integrated development environment (IDE, Integrated Development Environment) is an application program used to provide a program development environment, usually including development tools such as code editors, compilers, debuggers, and graphical user interface tools. [0003] In related technologies, in order to increase the code editing speed of developers, a code completion function is usually provided for developers in a code editor. The so-called code completion function means that when the developer edits the code in the code editor, the code editor can automatically match and output the basic keywords and continuous keywords that the user may still need according to the code characters entered by the developer. In the process of code editing, personnel can directly selec...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/30
CPCG06F8/33
Inventor 付威
Owner ADVANCED NEW TECH CO LTD