Associating a visualization of user interface with source code
Visualizing user interfaces specified by source code includes executing, using a development application, source code including a segment of source code specifying a user interface and, responsive to executing the segment of source code, generating, using a processor, a first screenshot including the user interface. The first screenshot is correlated with the segment of source code. The first screenshot is stored in association with the segment of source code.
1. A method, comprising:
receiving a query from a user;
receiving search results based upon a search of a screenshot repository using the query;
presenting the search results to the user;
receiving a selection, from the user, of at least a portion of a screenshot from the search results;
obtaining, from a source code repository, source code corresponding to the selection; and
forwarding the source code to the user.
2. The method of claim 1 , wherein
the search results includes screenshots with associated tags.
3. The method of claim 2 , wherein
during the presenting, a tag is displayed with an associated screenshot.
4. The method of claim 2 , wherein
a plurality of tags are associated with a particular screenshot.
5. The method of claim 1 , wherein
a particular screenshot is divided into a plurality of sections.
6. The method of claim 5 , wherein
each of the plurality of sections includes an associated tag.
7. A computer hardware system, comprising:
a hardware processor configured to initiate the following executable operations:
receiving a query from a user;
receiving search results based upon a search of a screenshot repository using the query;
presenting the search results to the user;
receiving a selection, from the user, of at least a portion of a screenshot from the search results;
obtaining, from a source code repository, source code corresponding to the selection; and
forwarding the source code to the user.
8. The system of claim 7 , wherein
the search results includes screenshots with associated tags.
9. The system of claim 8 , wherein
during the presenting, a tag is displayed with an associated screenshot.
10. The system of claim 8 , wherein
a plurality of tags are associated with a particular screenshot.
11. The system of claim 7 , wherein
a particular screenshot is divided into a plurality of sections.
12. The system of claim 11 , wherein
each of the plurality of sections includes an associated tag.
13. A computer program product, comprising
a computer readable storage medium having program code stored thereon,
the program code executable by a hardware processor to perform the following:
receiving a query from a user;
receiving search results based upon a search of a screenshot repository using the query;
presenting the search results to the user;
receiving a selection, from the user, of at least a portion of a screenshot from the search results;
obtaining, from a source code repository, source code corresponding to the selection; and
forwarding the source code to the user.
14. The computer program product of claim 13 , wherein
the search results includes screenshots with associated tags.
15. The computer program product of claim 14 , wherein
during the presenting, a tag is displayed with an associated screenshot.
16. The computer program product of claim 14 , wherein
a plurality of tags are associated with a particular screenshot.
17. The computer program product of claim 13 , wherein
a particular screenshot is divided into a plurality of sections.
18. The computer program product of claim 17 , wherein
each of the plurality of sections includes an associated tag.