Inline display and preview of related information for elements in a document
First Claim
Patent Images
1. A method comprising:
- associating a plurality of relationship types with an identifier in a portion of code being displayed in a graphical user interface (GUI) of a code editor, each relationship type of the plurality of relationship types being selected from a predefined set of relationship types, each relationship type in the predefined set of relationship types describing a different manner in which the identifier relates to another code construct;
presenting in the GUI a list of the plurality of relationship types associated with the identifier;
receiving an indication of a selection of a first relationship type in the plurality of relationship types;
accessing a first document associated with the selected first relationship type;
opening a viewport in the portion of code that is being displayed in the GUI, the viewport displacing at least a second portion of the code that is being displayed in the GUI;
displaying at least a portion of the first document in the viewport;
receiving an indication of a selection of a second relationship type in the plurality of relationship types;
accessing a second document associated with the selected second relationship type;
displaying at least a portion of the second document in the viewport in place of the at least a portion of the first document; and
providing a user interface element that when interacted with causes the at least a portion of the first document to be redisplayed in the viewport.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed herein is a system and method for optimizing a developer'"'"'s ability to find and navigate relevant documents, relationships, and other information related to an identifier in the code they are developing. An inline viewport is presented to the user in response to the user selecting an identifier in the code whereby the user is able to see relevant information related to the identifier in a spatially consistent location with the code they are investigating. Further, the developer has the ability to make changes to the code in the viewport without leaving the current editor.
34 Citations
20 Claims
-
1. A method comprising:
-
associating a plurality of relationship types with an identifier in a portion of code being displayed in a graphical user interface (GUI) of a code editor, each relationship type of the plurality of relationship types being selected from a predefined set of relationship types, each relationship type in the predefined set of relationship types describing a different manner in which the identifier relates to another code construct; presenting in the GUI a list of the plurality of relationship types associated with the identifier; receiving an indication of a selection of a first relationship type in the plurality of relationship types; accessing a first document associated with the selected first relationship type; opening a viewport in the portion of code that is being displayed in the GUI, the viewport displacing at least a second portion of the code that is being displayed in the GUI; displaying at least a portion of the first document in the viewport; receiving an indication of a selection of a second relationship type in the plurality of relationship types; accessing a second document associated with the selected second relationship type; displaying at least a portion of the second document in the viewport in place of the at least a portion of the first document; and providing a user interface element that when interacted with causes the at least a portion of the first document to be redisplayed in the viewport. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system having at least one processor for inserting a viewport into a portion of code being displayed in a graphical user interface (GUI) of a code editor, comprising:
-
a peek command module configured to determine a request for a plurality of relationship types for an identifier in the portion of code being displayed in the GUI, each relationship type of the plurality of relationship types being selected from a predefined set of relationship types, each relationship type in the predefined set of relationship types describing a different manner in which the identifier relates to another code construct; a broker configured to determine the plurality of relationship types for the identifier received from the peek command module, and to request a first document associated with a first relationship type in the plurality of relationship types and a second document associated with a second relationship type in the plurality of relationship types; and at least one provider configured to provide at least the first relationship type and the second relationship type to the broker in response to a request from the broker for the plurality of relationship types; a viewport controller module configured to create a viewport in the portion of the code that is being displayed in the GUI by; inserting at least a portion of the first document into the portion of code; and subsequent to inserting the at least a portion of the first document into the portion of code, replacing the at least a portion of the first document with at least a portion of the second document; and providing a user interface element that when interacted with causes the at least a portion of the first document to be reinserted into the portion of code. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A method comprising:
-
determining an identifier in a portion of code being displayed in a graphical user interface (GUI) of a code editor; associating a plurality of relationship types with the identifier, each relationship type of the plurality of relationship types being selected from a predefined set of relationship types, each relationship type in the predefined set of relationship types describing a different manner in which the identifier relates to another code construct; presenting in the GUI a list of the plurality of relationship types; receiving an indication of a selection of a first relationship type in the plurality of relationship types; accessing a first document associated with the selected first relationship type; opening at least a portion of the first document in a viewport in the portion of code that is being displayed in the GUI; adding the at least a portion of the first document to a history of actions; receiving an indication of a selection of a second relationship type in the plurality of relationship types; accessing a second document associated with the selected second relationship type; opening at least a portion of the second document in the viewport in place of the at least a portion of the first document; adding the at least a portion of the second document to the history of actions; and providing a user interface element that when interacted with causes the redisplay of the at least a portion of the first document in the viewport. - View Dependent Claims (17, 18, 19, 20)
-
Specification