Patent ID: 7937688

Claim:
A method of providing context-sensitive help using a programming tool that predicts potential next-tasks, the method comprising: monitoring user actions during source code input; detecting a triggering event in the monitored user actions; in response to detecting the triggering event, determining an action associated with the triggering event; in response to determining the action associated with the triggering event offering to execute the action; and in response to the user accepting the offer, performing the associated action, wherein an external data source is accessed and wherein sections of code comprising more than a single word are automatically entered into the source code by the programming tool based on information stored in the external data source, wherein the triggering event comprises entering code that when executed makes a connection to an external database and wherein the associated action comprises generating code to retrieve a dataset specified in the entered code and to close the external database and entering the generated code into the source code, wherein the triggering event further comprises entering code in the source code that specifies a password for accessing the external database, and wherein the associated action comprises hiding the password.