IDE Prototype Tip for Function Help Text and Variable Declarations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Programming tasks are hindered by the difficulty in accessing and viewing help text for function parameters, requiring users to consult external references, and the need for manual variable declarations can be cumbersome.

Innovation Solution

An application development environment (ADE) that displays a prototype tip for functions in the source code window, allowing users to view help text for functions and parameters directly within the coding context, and automatically inserts variable declarations for parameters.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If users consult external references such as online help or manuals to determine function parameters, then they can obtain accurate parameter information, but this increases the time required and interrupts the programming flow

Engineering Contradiction:
Improveparameter information accessVSAvoidtime to view help text
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The patent merges the help text display functionality directly into the source code window by displaying help text in a text box within the same window where code is edited. This integration eliminates the need to switch between separate help windows and code editors, allowing programmers to access parameter information without leaving their coding context, thus reducing time loss and maintaining information access.

Inventive Principle:
Principle #5Merging (Combining)

2Loss of information

If help text is displayed in a separate modal dialog or separate window, then the help text can be displayed clearly, but this causes the user to shift gaze significantly and becomes distracting

Engineering Contradiction:
Improvehelp text visibilityVSAvoiduser focus and workflow continuity
Core Design Contradiction:
Loss of informationVSEase of operation

Solution Approach 1:

The help text is displayed in a text box within the source code window rather than in a separate modal dialog or window. This merging of help text display into the coding workspace allows users to view parameter information without shifting their gaze or breaking their workflow, maintaining both information visibility and operational ease.

Inventive Principle:
Principle #5Merging (Combining)

3Reliability

If users manually add variable declarations for parameters, then the code can be compiled successfully, but this creates a distracting formality that interrupts the programming process

Engineering Contradiction:
Improvecode compilation correctnessVSAvoidprogramming efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system automatically adds variable declarations for parameters passed to functions. When the system detects a function call with parameters, it automatically generates the necessary variable declarations in the appropriate scope, eliminating the need for programmers to manually add these declarations. This self-service approach maintains compilation correctness while removing the distracting formality from the programming process.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8042095B2Application development environment with features for increasing the ease and efficiency of viewing function help text
Publication Date: 2011.10.18 NATIONAL INSTRUMENTS CORP
  • US8042095B2 patent drawing
  • US8042095B2 patent drawing
  • US8042095B2 patent drawing

AI summary

One embodiment of the invention comprises a system and method for increasing a user's ease and efficiency of viewing help text related to a function or method call. An application development environment (ADE) may display a prototype tip for a function in a source code window when the user is currently creating or editing a function call to that function. The prototype tip may include a button or other GUI element which the user may click or operate to cause help text for the function and/or help text for one or more parameters of the function to be displayed. The help text that is displayed in response to the user's request may appear in or appear overlayed on the source code window. The help text may be displayed in a convenient location near the current function call.