Fill-in-the-middle (‘fim’) code completions using static code analysis
AssigneeAugment Computing, Inc.
InventorsJIAYI WEI, ARUN TEJASVI CHAGANTY, MICHIEL STEVEN De JONG, GUY GUR-ARI KRAKOVER
Life of this patent
Estimating the term…
Abstract
Methods, systems, products, services, and apparatuses for FIM code completions using static code analysis, including: generating, for a piece of computer program code, at least one of a prefix portion of the computer program code and a suffix portion of the computer program code; identifying a potential middle portion for the computer program code, wherein the middle portion includes computer program code that can be inserted after the prefix portion and before the suffix portion; and presenting the potential middle portion as a code completion suggestion.
Claims20
A method comprising:
- generating, for a piece of computer program code, at least one of a prefix portion of the computer program code and a suffix portion of the computer program code;
- and
- identifying a potential middle portion for the computer program code, wherein the middle portion includes computer program code that can be inserted after the prefix portion and before the suffix portion.
A computer program product including computer program instructions disposed on a computer-readable storage medium, the computer program instructions configured, when executed, to carry out the steps of:
- generating, for a piece of computer program code, at least one of a prefix portion of the computer program code and a suffix portion of the computer program code;
- identifying a potential middle portion for the computer program code, wherein the middle portion includes computer program code that can be inserted after the prefix portion and before the suffix portion;
- and
- presenting the potential middle portion as a code completion suggestion.
A system comprising:
- a memory;
- a processing device, operatively coupled to the memory, the processing device configured to:
- receive, for a piece of computer program code, at least one of a prefix portion of the computer program code and a suffix portion of the computer program code;
- and
- identify a potential middle portion for the computer program code, wherein the middle portion includes computer program code that can be inserted after the prefix portion and before the suffix portion.
Dependencies are inferred from the claim text.