One of the most important aspects of using SynapseAudit effectively is controlling the scope of analysis.
SynapseAudit determines scope based on editor state at the time of invocation:
Active file analysis
If no code is selected, SynapseAudit analyzes the currently active file.
Selected code analysis
If a specific block of code is selected, SynapseAudit limits analysis strictly to that selection.
Using selections allows developers to:
Focus on sensitive or complex logic
Analyze specific functions or blocks
Avoid noise from unrelated code
Iterate quickly on targeted areas
This scoped approach is especially useful during reviews and refactors.