IC: first steps towards 'nim check --def --ic:on' (#17714)
* IC: first steps towards 'nim check --def --ic:on' * IC navigator: deduplicate output lines * IC navigator: progress * IC navigator: use a different nimcache entry * IC navigator: special logic for templates/macros * IC navigator: proper error messages * IC navigator: prepare for testing code; document only what currently works somewhat
This commit is contained in:
parent
3b47a689cf
commit
67e28c07f9
11 changed files with 211 additions and 12 deletions
|
|
@ -15,6 +15,7 @@ Advanced commands:
|
|||
//dump dump all defined conditionals and search paths
|
||||
see also: --dump.format:json (useful with: `| jq`)
|
||||
//check checks the project for syntax and semantic
|
||||
(can be combined with --track and --defusages)
|
||||
|
||||
Runtime checks (see -x):
|
||||
--objChecks:on|off turn obj conversion checks on|off
|
||||
|
|
@ -27,6 +28,8 @@ Runtime checks (see -x):
|
|||
--infChecks:on|off turn Inf checks on|off
|
||||
|
||||
Advanced options:
|
||||
--track:FILE,LINE,COL set the tracking position for (--defusages)
|
||||
--defusages find the definition and all usages of a symbol
|
||||
-o:FILE, --out:FILE set the output filename
|
||||
--outdir:DIR set the path where the output file will be written
|
||||
--usenimcache will use `outdir=$$nimcache`, whichever it resolves
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue