Flagging Symbols
Symbol flags are a powerful feature in Codegen that allow you to mark and track specific code elements during development, debugging, or code review processes. Flags can be used to visually highlight code in the editor and can also integrate with various messaging systems.Basic Usage
The simplest way to flag a symbol is to call theflag()
method on any symbol:
- A visual flag emoji (🚩) is added as an inline comment
- A
CodeFlag
object is created to track the flag in the system