Missing include suggestions for external files
Abstract
When writing program code, syntax errors can be detected and a diagnostic error message can be provided. One of the causes of errors in a C-based programming language such as but not limited to C++ is a missing definition. The definition can exist in a file that is separate from the source program file. The file may be designated by a particular statement such as a “#include” statement which points to the file in which the token used in the code is defined. The list of files and their relationships form an include graph. A feature inside an IDE can suggest potential “#include” statements to correct a missing “#include” statement error. By using the include graph a more accurate list of potential corrections can be suggested so that standard and platform independent code can be written.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system comprising: at least one processor: and a memory connected to the at least one processor; wherein the at least one processor is configured to: generate suggestions to correct an error comprising an undefined token in program source code by using an include graph for a project, wherein the include graph includes a plurality of nodes, a node represents a file associated with the project, wherein a project includes a collection of files needed to generate an executable of the program source code, the suggestions generated by traversing the include graph to find all paths going from a nod
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,327,723 B1 | Development environment integrated with failure detection system | 2022 | 1 |
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- "Code Assistance in the NetBeans IDE Java Editor: A Reference Guide", Published on: Mar. 18, 2015 Available at: https://netbeans.org/kb/docs/java/editor-codereference.html#imports.
- "Header files and the preprocessor", Published on: Apr. 19, 2007 Available at: http://blogs.msdn.com/b/vcblog/archive/2007/04/19/header-files-and-the-preprocessor-can-t-live-with-em-can-t-live-without-em.aspx.
- "IncludeManager Tutorial", Published on: Sep. 24, 2006 Available at: http://www.profactor.co.uk/prod_docs/IncludeManager/Tutorial.html.
- "International Search Report and Written Opinion Issued in PCT Application No. PCT/US2016/057303", dated Dec. 19. 2016, 12 Pages.
- "Second Written Opinion Issued in PCT Application No. PCT/US2016/057303", dated Nov. 27, 2017, 7 Pages.