发明名称 Code suggestion in a software development tool
摘要 Embodiments of the present invention provide a method, system and computer program product for the automated suggestion of code usage patterns in an IDE. In an embodiment of the invention, a method for automated suggestion of code usage patterns in an IDE is provided. The method includes receiving input of a code snippet for a source code file of a software development project loaded into memory of a host computer for display through an IDE. The method further includes matching terms of the received input to terms in different blocks of code in different source code files of the software development project. The method yet further includes selecting one of the different blocks of code as a code completion choice for insertion into the source code file in the IDE. Finally, the method includes inserting the selected one of the different blocks of code into the source code file in the IDE.
申请公布号 US9619211(B2) 申请公布日期 2017.04.11
申请号 US201012982626 申请日期 2010.12.30
申请人 International Business Machines Corporation 发明人 McCollum Lorelei M.;Best Steven F.;Girouard Janice M.;Snow Timothy B.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 CRGO Law 代理人 Greenberg, Esq. Steven M.;CRGO Law
主权项 1. A method for automated suggestion of code usage patterns in an integrated development environment (IDE), the method comprising: receiving input of a code snippet for a source code file of a software development project loaded into memory of a host computer for display through an IDE, the code snippet being a portion of source code of the source code file and the software development project including a plurality of source code files created by a plurality of developers, the plurality of developers coordinated to develop a computer program; matching terms of the received input to terms in different blocks of code in different source code files of the software development project; determining a popularity of use for each of the different blocks of code according to the popularity of use by other developers; displaying an indication of each determined popularity in the IDE and also a list of the different blocks of code corresponding with the indication; selecting automatically or manually one of the different blocks of code as a code completion choice for insertion into the source code file in the IDE; and, inserting the selected one of the different blocks of code into the source code file in the IDE.
地址 Armonk NY US