CPC G06F 8/33 (2013.01) | 20 Claims |
1. A computer-implemented method when executed by data processing hardware causes the data processing hardware to perform operations comprising:
obtaining, from a user interface executing on a user device, a user input representing source code generated within a development environment, the source code created using a particular programming language and a programming code base;
determining, using a machine learning model, an autofill suggestion based on the user input, the autofill suggestion continuing the source code represented by the user input;
determining, using a rule-based semantic checker configured for the particular programming language, whether the autofill suggestion is semantically correct based on the development environment and the programming code base;
when the autofill suggestion is semantically correct, transmitting the autofill suggestion for display on the user interface of the user device;
determining, using the machine learning model, a plurality of autofill suggestions based on the user input; and
for each respective autofill suggestion of the plurality of autofill suggestions:
determining, using the rule-based semantic checker, whether the respective autofill suggestion is semantically correct based on the development environment and the programming code base; and
when the respective autofill suggestion is semantically correct, transmitting the respective autofill suggestion for display on the user interface of the user device.
|