nimsuggest
nimsuggest copied to clipboard
miscellaneous nimsuggest issues
- [minor] nimsuggest somehow transforms \n into \x0A, not \x0A
I tried figuring out where doc field is being modified by using nimsuggest use on doc field of Suggest however:
> use compiler/options.nim:153:6
returns empty
(which I reported in https://github.com/nim-lang/nimsuggest/issues/90)
- nimsuggest does't work if it's compiled somewhere else than default location eg: this won't work
$nimc_D/bin/nim c -o:/tmp/nimsuggest_dbg --noNimblePath -p:compiler --debugger:native nimsuggest/nimsuggest.nim
after running nimsuggest you'll get:
Error: cannot open '/private/lib/system.nim'
somehow nimsuggest hardcodes location of nim sources based on not ideal assumptions; it could be made more robust eg using findNimStdLibCompileTime introduced here https://github.com/nim-lang/Nim/pull/9181
- issue closed but not clear it was addressed: https://github.com/nim-lang/nimsuggest/issues/64#issuecomment-435481945
- likewise with https://github.com/nim-lang/nimsuggest/issues/38#issuecomment-435482237