发明授权
US08266594B2 System, method and program product for correcting semantic errors in code using peer submitted code snippets
失效
系统,方法和程序产品,用于使用对等提交的代码片段来纠正代码中的语义错误
- 专利标题: System, method and program product for correcting semantic errors in code using peer submitted code snippets
- 专利标题(中): 系统,方法和程序产品,用于使用对等提交的代码片段来纠正代码中的语义错误
-
申请号: US12195368申请日: 2008-08-20
-
公开(公告)号: US08266594B2公开(公告)日: 2012-09-11
- 发明人: Swaminathan Balasubramanian
- 申请人: Swaminathan Balasubramanian
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Law Office of Jim Boice
- 代理商 John R. Pivnichny
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
A method, system and program product for correcting semantic errors in code in an integrated development environment. The method includes inputting, using a code editor, code being developed in an integrated development environment, identifying, in a syntax tree constructed for the code inputted, one or more nodes containing semantic errors pertaining to use of a third-party library, choosing a node containing the semantic errors, displaying suggestions for correcting the semantic errors identified for the node chosen, where the suggestions include peer submitted code snippets associated with collaboration records located to correct the semantic errors identified for the node chosen, selecting a code snippet from the code snippets displayed and executing the code inputted in the integrated development environment, such that, the code snippet selected is automatically invoked to correct the semantic errors identified for the node chosen.