Folded Views Inline Code Display
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Software developers face cumbersome and time-consuming navigation when dealing with code references across multiple files, requiring frequent file openings and navigations to view related code segments.
Innovation Solution
A software development environment implements folded views, allowing developers to select code references and display corresponding data inline, reducing the need for extensive navigation by using a folding view manager to fetch and display code segments from other files.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If developers navigate between multiple files to view referenced code, then they can access all code segments, but the process becomes cumbersome and time-consuming
Solution Approach 1:
The patent merges the viewing of calling code and called code into a single integrated view. The folded view displays the calling code segment with the called code segment embedded within it, allowing developers to access both code segments without navigating between separate files or windows.
Solution Approach 2:
The folded view acts as an intermediary mechanism between the calling code and called code. It provides a visual bridge that embeds the called code segment within the calling code segment, enabling developers to traverse code references without leaving the current file context.
2Ease of operation
If developers open multiple files to view related code, then they can see complete code segments, but the operation becomes complex and inefficient
Solution Approach 1:
The patent combines multiple file viewing operations into a single integrated display. Instead of requiring developers to open, navigate, and switch between multiple files, the folded view merges the calling and called code segments into one unified visual structure within the same editor window.
Solution Approach 2:
The patent segments the code view into distinct visual regions: the calling code segment and the called code segment are displayed as separate but integrated portions. This segmentation allows developers to distinguish between different code segments while viewing them together in a single file context.
3Productivity
If developers manually navigate to referenced code, then they can locate specific code segments, but the process requires multiple steps and reduces productivity
Solution Approach 1:
The folded view performs preliminary action by pre-displaying the called code segment within the calling code segment before the developer needs to examine it. This eliminates the need for subsequent navigation steps to locate and open the called code in a separate file.
Solution Approach 2:
The patent merges the code location and code viewing operations into a single action. By embedding the called code segment within the calling code segment, the system eliminates the multi-step process of navigating to another file, opening it, and then locating the specific code segment.
Data Source
AI summary
Aspects of the subject matter described herein relate to folded views for a development environment. In aspects, a software development environment may display a code segment that includes references to other code segments or other data. A developer may select a reference and indicate that a folded view is to be shown for the data corresponding to the reference. In response, the software development environment may obtain the data corresponding to the folded view and display the data inline with the code segment.


