Folded Views Inline Code Display

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improvecode context accessibilityVSAvoidnavigation time
Core Design Contradiction:
Loss of informationVSLoss of time

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.

Inventive Principle:
Principle #5Merging (Combining)

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

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

Engineering Contradiction:
Improvecode navigation easeVSAvoidfile navigation complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

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.

Inventive Principle:
Principle #5Merging (Combining)

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.

Inventive Principle:
Principle #1Segmentation

3Productivity

If developers manually navigate to referenced code, then they can locate specific code segments, but the process requires multiple steps and reduces productivity

Engineering Contradiction:
Improvedevelopment efficiencyVSAvoidcode location time
Core Design Contradiction:
ProductivityVSLoss of time

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.

Inventive Principle:
Principle #10Preliminary action

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.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS9317257B2Folded views in development environment
Publication Date: 2016.04.19 MICROSOFT TECHNOLOGY LICENSING LLC
  • US9317257B2 patent drawing
  • US9317257B2 patent drawing
  • US9317257B2 patent drawing

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.