Integrated development environment-based repository searching in a networked computing environment
First Claim
1. A computer-implemented method for repository searching in a networked computing environment, comprising:
- receiving, from a user, a ranking of a set of repositories within a first integrated development environment (IDE) into an order in which the set of repositories are to be searched, wherein the set of repositories comprises at least one repository accessible from an internet, and at least one repository which is unavailable over the internet;
parsing and indexing a first program code file, received from the first IDE, into a repository based on a set of attributes of the first program code file;
receiving a search request from a second IDE;
determining whether the repository supports expectation processing, wherein expectation processing includes receiving a supplied input identified in an annotation and verifying that an output of an associated method matches a corresponding annotation;
when a determination is made that the repository supports expectation processing,sending, by the second IDE, annotations to a first repository of the ranked set of repositories, andperforming by the repository, expectation processing according to input of the search request,determining whether there is another repository to be searched in the ranked set of repositories;
identifying a matching program code file stored in the repository based on the expectation processing; and
when the expectation processing is performed by the repository, transmitting the matching program code file to the second IDE to fulfill the search request.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide an approach for integrated development environment (IDE)-based repository searching (e.g., for library elements such as classes and/or functions) in a networked computing environment. In a typical embodiment, a first program code file is received from a first integrated development environment (IDE). The first program file may be associated with a set of attributes as stored in an annotation, header, or the like. Regardless, the first program file may be parsed and indexed into a repository based on the set of attributes. A search request may then be received from a second IDE. Based on the search request and the set of attributes, a matching program code file may then be identified as stored in the repository. Once identified, the matching program code file may be transmitted/communicated to the second IDE to fulfill the search request.
-
Citations
20 Claims
-
1. A computer-implemented method for repository searching in a networked computing environment, comprising:
-
receiving, from a user, a ranking of a set of repositories within a first integrated development environment (IDE) into an order in which the set of repositories are to be searched, wherein the set of repositories comprises at least one repository accessible from an internet, and at least one repository which is unavailable over the internet; parsing and indexing a first program code file, received from the first IDE, into a repository based on a set of attributes of the first program code file; receiving a search request from a second IDE; determining whether the repository supports expectation processing, wherein expectation processing includes receiving a supplied input identified in an annotation and verifying that an output of an associated method matches a corresponding annotation; when a determination is made that the repository supports expectation processing, sending, by the second IDE, annotations to a first repository of the ranked set of repositories, and performing by the repository, expectation processing according to input of the search request, determining whether there is another repository to be searched in the ranked set of repositories; identifying a matching program code file stored in the repository based on the expectation processing; and when the expectation processing is performed by the repository, transmitting the matching program code file to the second IDE to fulfill the search request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for repository searching in a networked computing environment, comprising:
-
a memory medium comprising instructions; a bus coupled to the memory medium; and a processor coupled to the bus that when executing the instructions causes the system to; receive, from a user, a rank of a set of repositories within a first integrated development environment (IDE) into an order in which the set of repositories are to be searched, wherein the set of repositories comprises at least one repository accessible from an internet, and at least one repository which is unavailable over the internet; parse and index a first program code file, received from the first IDE, into a repository based on a set of attributes of the first program code file; receive a search request from a second IDE; determine whether the repository supports expectation processing, wherein expectation processing includes receiving a supplied input identified in an annotation and verifying that an output of an associated method matches a corresponding annotation; when a determination is made that the repository supports expectation processing, send, by the second IDE, annotations to a first repository of the ranked set of repositories, and perform, by the repository, expectation processing according to input of the search request, determine whether there is another repository to be searched in the ranked set of repositories; identify a matching program code file stored in the repository based on the expectation processing; and when the expectation processing is performed by the repository, transmitting the matching program code file to the second IDE to fulfill the search request. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computer program product for repository searching in a networked computing environment, the computer program product comprising a computer readable storage media, and program instructions stored on the computer readable storage media, to:
-
receive, from a user, a rank of a set of repositories within a first integrated development environment (IDE) into an order in which the set of repositories are to be searched, wherein the set of repositories comprises at least one repository accessible from an internet, and at least one repository which is unavailable over the internet; parse and index a first program code file, received from the first IDE, into a repository based on a set of attributes of the first program code file; receive a search request from a second IDE; determine whether the repository supports expectation processing, wherein expectation processing includes receiving a supplied input identified in an annotation and verifying that an output of an associated method matches a corresponding annotation; when a determination is made that the repository supports expectation processing, send, by the second IDE, annotations to a first repository of the ranked set of repositories, and perform, by the repository, expectation processing according to input of the search request, determine whether there is another repository to be searched in the ranked set of repositories; identify a matching program code file stored in the repository based on the expectation processing; and when the expectation processing is performed by the repository, transmitting the matching program code file to the second IDE to fulfill the search request. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification