# Inspect Code

Use code to fetch exact declarations or members.
It returns focused code without reading the whole file.

Good for:
- reading a known function, class, method, or declaration
- fetching several related code blocks in one request
- keeping context focused on code needed for the current task

Controls:
file, entity, entities, parent, show, ranges

Specific:
show  include source output

Defaults: +show +ranges
Use -show for names/ranges only.
Use -ranges for source without ranges.

Prefs:
inspect.code.maxNonEmptyLines

Run:
aib inspect --stdin

Input:
code @svc/service.ts Service.{render,reset} normalize
code @svc/serviceB.ts ServiceB.{constructor}
