1. A method for correcting semantic errors in code in an integrated development environment, said method comprising the steps of: inputting, using a code editor, code being developed in an integrated development environment; identifying, in a syntax tree constructed for said code inputted, one or more nodes containing semantic errors pertaining to use of a third-party library; displaying one or more suggestions for correcting said semantic errors identified for a node in said syntax tree containing said semantic errors, wherein said one or more suggestions include one or more executable code snippets associated with one or more collaboration records located for a chosen node from the syntax tree; selecting at least one executable code snippet from said one or more executable code snippets displayed for correcting said semantic errors identified for said chosen node, wherein said at least one executable code snippet comprises a primary executable code snippet and a secondary executable code snippet; executing, by a computer, the primary executable code snippet; and in response to the primary executable code snippet failing to correct said semantic errors identified for said node chosen, automatically executing the secondary executable code snippet.