Run-time or compile-time error solutions for locating missing program elements in a programming environment
AssigneeThe MathWorks, Inc.
InventorsRyan M. Santos, Jason D. Breslau
Life of this patent
Estimating the term…
Abstract
Methods and systems associated with a programming environment are described that provide automated or semi-automated recovery during run-time or compile-time operation in response to attempts to access a program element that is not in a working folder or in a folder location for which a path has been specified for accessing the program element.
Claims31
In a programming environment, a computer-implemented method comprising:
- receiving, by a computing system, a run-time or compile-time instruction that requires accessing a program element in a working folder or in a folder specified by a path, wherein the program element is identified by an identifier;
- detecting that the program element is not present in the working folder or the folder specified by the path and that the instruction cannot be performed;
- in response to detecting that the program element is not present in the working folder or the folder specified by the path, reviewing folder-history data that records folders previously accessed by a user;
- searching one or more folders identified from the folder-history data to locate a program element having the identifier;
- or
- searching one or more related folders to locate the program element, wherein the one or more related folders comprise any combination of super-folders, sibling folders, or sub-folders;
- and
- providing location display data containing information that indicates to the user or another user one or more folders in which a program element having the identifier is located;
- wherein the folder-history data is maintained across multiple user sessions by a system supporting the programming environment.
A computing system comprising at least one processor for use in a computer implemented programming environment, configured to:
- receive, by the computing system, a run-time or compile-time instruction that requires accessing a program element in a working folder or in a folder specified by a path, wherein the program element is identified by an identifier;
- detect that the program element is not present in the working folder or the folder specified by the path and that the instruction cannot be performed;
- in response to detecting that the program element is not present in the working folder or the folder specified by the path, reviewing folder-history data that records folders previously accessed by a user;
- search one or more folders identified from the folder-history data to locate a program element having the identifier;
- or
- search one or more related folders to locate the program element, wherein the one or more related folders comprise any combination of super-folders, sibling folders, or sub-folders;
- and
- provide location display data containing information that indicates to the user or another user one or more folders in which a program element having the identifier is located;
- wherein the folder-history data is maintained across multiple user sessions by a system supporting the programming environment.
A non-transitory computer readable storage medium have computer readable instructions stored thereon that, when executed by a processor of a computing system, perform a method comprising:
- receiving, by the computing system, a run-time or compile-time instruction that requires accessing a program element in a working folder or in a folder specified by a path, wherein the program element is identified by an identifier;
- detecting that the program element is not present in the working folder or the folder specified by the path and that the instruction cannot be performed;
- in response to detecting that the program element is not present in the working folder or the folder specified by the path, reviewing folder-history data that records folders previously accessed by a user;
- searching one or more folders identified from the folder-history data to locate a program element having the identifier;
- or
- searching one or more related folders to locate the program element, wherein the one or more related folders comprise any combination of super-folders, sibling folders, or sub-folders;
- and
- providing location display data containing information that indicates to the user or another user one or more folders in which a program element having the identifier is located;
- wherein the folder-history data is maintained across multiple user sessions by a system supporting the programming environment.
Dependencies are inferred from the claim text.