8. A method comprising: generating, using at least one processor, a descriptor for each section of text in a plurality of source code text files stored in a repository; accessing, using the at least one processor, a search request for source code that performs a particular task when executed by a computer; and displaying, using the at least one processor, each of the sections of text whose descriptor at least partially matches keywords in the search request, the displayed sections being adaptable for constructing at least part of the requested source code.
13. The method of claim 8 , further comprising ranking, using the at least one processor, each displayed section of text in accordance with a similarity between the request and the descriptor associated with each displayed section of text.