IDE Code Collapse Outside Selection Focus

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In Integrated Development Environments (IDEs), developers face inefficiency when collapsing code, as they need to switch focus between areas of interest to select and collapse non-selected code portions, which can lead to accidental selection and requires multiple steps.

Innovation Solution

A system and method that allow users to collapse code outside of a selection by setting markers and using user input to instruct the computer to hide non-selected portions, including the ability to collapse code within an enclosing tag, enabling one-step collapsing of multiple sections without changing the selection focus.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If the developer selects and collapses code portions separately to focus on a particular area, then the code can be collapsed effectively, but the developer must switch focus between areas and perform multiple collapsing functions, reducing efficiency

Engineering Contradiction:
Improvecode collapsing operationVSAvoidtime for switching focus and multiple collapsing steps
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent segments the code view into selected and non-selected portions, allowing independent control. The system identifies the selected code region and automatically determines adjacent non-selected regions to collapse, separating the user's selection action from the system's collapse execution, thereby reducing manual intervention steps

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary identification of non-selected code regions that should be collapsed based on the user's selection, before the user even initiates the collapse command. This pre-calculation of collapse targets eliminates the need for users to manually select each region, reducing time and operational steps

Inventive Principle:
Principle #10Preliminary action

2Ease of operation

If the developer selects code to collapse, then the collapse function can be applied, but there is a risk of accidentally selecting code that should remain visible

Engineering Contradiction:
Improvecode selection and collapseVSAvoidaccuracy of code selection
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system introduces an intermediary processing step between user selection and collapse execution. This intermediary automatically analyzes the selected region, identifies appropriate non-selected regions for collapse, and presents them for confirmation before execution, preventing accidental collapse of important code sections

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system provides feedback to the user about which regions will be collapsed before the actual collapse occurs. This feedback mechanism allows users to verify the intended collapse targets and adjust their selection if necessary, ensuring accurate and reliable code collapsing without accidental selections

Inventive Principle:
Principle #23Feedback

3Productivity

If the developer wants to collapse code above and below a particular area of interest, then the focus can be maintained on the area of interest, but the developer must perform two separate collapsing functions while ensuring no part of the code of interest is accidentally selected

Engineering Contradiction:
Improvecoding efficiencyVSAvoidnumber of collapsing functions and selection management
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system provides a universal collapse function that can handle multiple scenarios: collapsing above, below, or on both sides of the selected code region. This single multi-functional command replaces the need for separate collapse functions for different directions, simplifying the interface and improving productivity

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent merges the collapse operations for code above and below the selected region into a single automated process. Instead of requiring separate selections and collapse commands for each region, the system combines them into one unified operation that executes simultaneously, reducing complexity and improving efficiency

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS9535667B2Content collapse outside of selection
Publication Date: 2017.01.03 ADOBE INC
  • US9535667B2 patent drawing
  • US9535667B2 patent drawing
  • US9535667B2 patent drawing

AI summary

A method, system, and computer program product for collapsing visual content on a screen including receiving input initiating a collapse function, and collapsing a section of visual content, the section of visual content outside of a selected portion of the visual content, the collapsing in response to said input.