In-line Code Synchronization for Context-Aware Editing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users face inconvenience and error-prone processes when modifying or evaluating program code, as they need to access and understand separate sources, leading to disrupted context and increased user error due to the separation of program code and its referenced portions.

Innovation Solution

A client device provides a user interface that displays and allows modification of program code in-line with its references, enabling users to view and modify the code without accessing the source, facilitating understanding and reliable changes that affect all references.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If users access separate sources to modify program code, then code modification capability is provided, but user convenience deteriorates and error rate increases

Engineering Contradiction:
Improveuser convenienceVSAvoiderror rate
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent merges the program code display area with the referenced portion display area into a single unified interface. The referenced portion is displayed in-line within the program code context, allowing users to view and modify both simultaneously without switching between separate sources. This integration directly improves ease of operation and reduces errors by maintaining contextual awareness.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system introduces an intermediary mechanism that automatically manages the relationship between program code and its referenced portions. This intermediary handles the complexity of source tracking and synchronization, presenting a simplified interface to users while maintaining accurate connections between code elements and their definitions.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If users access separate sources to view program code, then code information is provided, but context understanding deteriorates

Engineering Contradiction:
Improvecontext understandingVSAvoidaccess convenience
Core Design Contradiction:
Loss of informationVSEase of operation

Solution Approach 1:

The patent combines multiple information sources (program code and referenced portions) into a single integrated display. This merging preserves contextual relationships by showing how code elements reference each other within the same view, preventing loss of contextual understanding while maintaining ease of access.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system adds a dimensional layer to code display by embedding referenced portions within the program code structure. This creates a multi-dimensional view where users can see both the high-level program flow and detailed referenced code simultaneously, enhancing context understanding without sacrificing accessibility.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Manufacturing precision

If users manually track code references, then modification accuracy can be maintained, but time consumption increases

Engineering Contradiction:
Improvemodification accuracyVSAvoidtime consumption
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The system implements self-service functionality by automatically tracking and managing code references without requiring manual user intervention. The system autonomously maintains the relationships between program code and referenced portions, ensuring modification accuracy while eliminating the time users would spend manually tracking references.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system incorporates feedback mechanisms that automatically detect and report changes in code references. This feedback loop ensures that modifications are accurately propagated throughout the codebase without requiring manual verification, maintaining precision while reducing time investment.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10209965B1In-line function synchronization
Publication Date: 2019.02.19 MATHWORKS INC
  • US10209965B1 patent drawing
  • US10209965B1 patent drawing
  • US10209965B1 patent drawing

AI summary

A device may provide, via a code editor window of a user interface, program code that includes a reference. The reference may call a portion of program code. The portion of program code may be associated with a source of the portion of program code. The device may determine the portion of program code based on the reference. The device may provide the portion of program code, in-line with the program code, via the code editor window of the user interface. The device may receive a modification to the portion of program code via the code editor window of the user interface. The device may synchronize the modification to the portion of program code with the source of the portion of program code. The device may create a modified copy of the source of the portion of program code based on the synchronizing.