Source Graph
Last updated
Last updated
Source Graph processing and code generation is an advanced feature supported by CodeMaker AI that enables it to automatically generate code for both the requested file as well as its direct dependencies that have unimplemented definitions.
To enable this feature you need first enable the Extended Source Context option in the IDE settings.
Source Graph processing can be triggered using the editor or file manager context menu or file manager. Once triggered the tool will inspect each of the dependent files first and if they require implementing any definition they will be processed first, after which all of the calling code will be process.
By default all definitions declared in a given file that does not have implementation will be processed, this includes classes, constructors, methods, or functions. Declaring a class or method without a body will lead to it being automatically processed.
Note: The source graph code generation is currently not supported for C# and Golang programming languages.