This section describes some terminologies used in CooCox CoIDE.
In CooCox CoIDE, reusable code is called component. A component can be a library, a collection of source files and so on. It must provide useful functions, be easy to understand and use, and most importantly, can work correctly. Each component has its corresponding code snippets, usage, documentation and comments.
If component A calls the content of component B (known as Compilation Dependence), or component A can not correctly execute without component B (known as Application Dependence),
We call component A depends on component B. When you check component A, CoIDE will automatically check the dependence components of component A. One component can depend on several components, and also can be depended by multiple components.
Code Snippet is also known as example code, it is an extension of component. If the component is object-oriented, the code snippet will be application-oriented. Example, a PIO driver can be known as a component, a function using PIO driver to achieve LED flashing can be known as a code snippet. The code snippet is generally very short, but the features are not restricted. It can be automatically inserted into the code.