Transfer learning system for automated software engineering tasks
US-2021357762-A1 · Nov 18, 2021 · US
US12487796B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-12487796-B2 |
| Application number | US-202217847112-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jun 22, 2022 |
| Priority date | Jun 22, 2022 |
| Publication date | Dec 2, 2025 |
| Grant date | Dec 2, 2025 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Code completion suggestions may be proactively obtained and validated. An event that triggers obtaining a code completion suggestion for inclusion in a code file being edited using an integrated development environment may be detected. The code completion suggestion may be obtained. The characters of the code completion suggestion may be compared with characters added to the code file after the detection of the event that triggered obtaining the code completion suggestion to determine whether the code completion suggestion is valid. A valid code completion suggestion may then be displayed.
Opening claim text (preview).
What is claimed is: 1 . A system, comprising: at least one processor; and a memory storing program instructions that, when executed by the at least one processor, cause the at least one processor to implement an integrated development environment, configured to: detect an event that triggers a request for obtaining a code completion suggestion to include in a code file being edited using the integrated development environment; send the request for obtaining the code completion suggestion to a code generation system, wherein the request comprises one or more characters immediately preceding a cursor at a first time when the event that triggers the request for obtaining the code completion suggestion is detected; receive the code completion suggestion from the code generation system, wherein the code completion suggestion comprises one or more suggested characters generated responsive to the one or more characters immediately preceding the cursor at the first time to input to the code file immediately after the cursor at the first time; compare, at a second time, a number of the one or more suggested characters, generated in view of the one or more characters immediately preceding the cursor at the first time, with a corresponding number of one or more actual characters input to the code file after the first time that are before the cursor at the second time to determine that the comparison of the number of the one or more suggested characters with the corresponding number of the one or more actual characters satisfies one or more validation criteria, wherein the one or more validation criteria require a match between at least some of the one or more suggested characters with the one or more actual characters after the first time; and responsive to determining that the one or more validation criteria are satisfied, display the code completion suggestion for input to the code file. 2 . The system of claim 1 , wherein the event that triggers the request is detected based, at least in part, on a number of key strokes or an amount of time elapsed since a prior code completion suggestion or a combination of the number of key strokes and the amount of time elapsed since the prior code completion suggestion. 3 . The system of claim 1 , wherein the integrated development environment is further configured to obtain one or more portions of the code file outside a number of previous tokens as an additional context, and wherein the code completion suggestion is based on the additional context of the obtained one or more portions of the code file outside the number of previous tokens. 4 . The system of claim 1 , wherein the code generation system is implemented as part of a code development service offered by a provider network. 5 . A method, comprising: detecting, by an integrated development environment, an event that triggers a request for obtaining a code completion suggestion to include in a code file being edited using the integrated development environment; causing, by the integrated development environment, generation of a code completion suggestion based, at least in part, on one or more characters immediately preceding a cursor at a first time when the event that triggers the request for obtaining the code completion suggestion is detected, wherein the code completion suggestion comprises one or more suggested characters, generated responsive to the one or more characters immediately preceding the cursor at the first time to input to the code file immediately after the cursor at the first time; comparing, by the integrated development environment, at a second time, a number of the one or more suggested characters, generated in view of the one or more characters immediately preceding the cursor at the first time, with a corresponding number of one or more actual characters input to the code file after the first time that are before the cursor at the second time to determine that the comparison of the number of the one or more suggested characters with the corresponding number of the one or more actual characters satisfy one or more validation criteria, wherein the one or more validation criteria require a match between at least some of the one or more suggested characters with the one or more actual characters after the first time; and responsive to determining that the one or more validation criteria are satisfied, displaying, by the integrated development environment, the code completion suggestion for input to the code file. 6 . The method of claim 5 , wherein the event that triggers the request is detected based, at least in part, on a number of key strokes or an amount of time elapsed since a prior code completion suggestion or a combination of the number of key strokes and the amount of time elapsed since the prior code completion suggestion. 7 . The method of claim 5 , wherein the event that triggers the request is detected based, at least in part, on entering of a particular character. 8 . The method of claim 5 , further comprising discarding a different code completion suggestion generated for inclusion in the code file according to a determination that the one or more validation criteria are not satisfied according to a comparison between further characters input to the code file and the different code completion suggestion. 9 . The method of claim 5 , further comprising obtaining one or more portions of the code file outside a number of previous tokens as an additional context, wherein the code completion suggestion is based on the additional context of the obtained one or more portions of the code file outside the number of previous tokens. 10 . The method of claim 9 , wherein obtaining the one or more portions of the code file outside the number of previous tokens comprises performing one or more regular expression searches. 11 . The method of claim 5 , further comprising obtaining one or more portions of a different code file as an additional context, wherein the code completion suggestion is based on the additional context of the obtained one or more portions of the different code file. 12 . The method of claim 5 , wherein causing generation of the code completion suggestion comprises sending the request to a code development service offered by a provider network for obtaining the code completion suggestion. 13 . One or more non-transitory computer-readable storage media storing program instructions that, when executed on or across one or more computing devices, cause the one or more computing devices to implement: detecting an event that triggers a request for obtaining a code completion suggestion to include in a code file being edited using an integrated development environment; obtaining a code completion suggestion based, at least in part, on one or more characters immediately preceding a cursor at a first time when the event that triggers the request for obtaining the code completion suggestion is detected, wherein the code completion suggestion comprises one or more suggested characters, generated responsive to the one or more characters immediately preceding the cursor at the first time, to input to the code file immediately after the cursor at the first time; comparing, at a second time, a number of the one or more suggested characters, generated in view of the one or more characters immediately preceding the cursor at the first time, with a corresponding number of one or more actual characters input to the code file after the first time that are before the cursor at the second time to determine that the comparison of the number of the one or more suggested characters with the corresponding number of the one or more
using system suggestions (G06F16/3325 takes precedence) · CPC title
Intelligent editors · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.