Source code may be added to:
- Single instance components
- Multi instance components
- Libraries
To add source code start editing the project in Visual Studio 2022.
- Open a project
- Select Editor from the top menu bar.
This opens the project in the Visual Studio editor.
Open a source file (.c or .h file) of a component.
Source code may be entered between two markers.
The first marker contains the name of the section.
The second marker is a closing marker.
Markers:
/*$code:name$*/
Enter source code and comments here
/*$*/
Atomic Designer V5 remembers the user entered code after saving the project in Visual Studio 2022 for next time.
Example code.
Any code or comments may be entered between:
/*$code:localfuncs$*/
and
/*$*/