Open moigagoo opened 4 years ago
Original issue: https://github.com/pragmagic/karax/issues/131
If I specify the --backend:js
and -d:js
parameters everything works fine, tested with:
This has a work around, extension authors can help here by passing the backend parameter -- this is done in the nim vscode plugin, but not the TS plugin, IIRC.
My thoughts on a more meaningful fix are as follows, if nimsuggest is going to treat the nimble file as a project file, then it should be more nimble aware an get the backend from there. Alternatively, if nimble is going to track this information then it should be more nimsuggest aware and provide a properly configured nimsuggest instance that it can launch for the user or an editor.
A workaround(?) for this would be to have the user specify the params in a nim.cfg
or $project.nim.cfg
.
nimsuggest reports an error even with the simplest Karax code, simply if buildHtml is called:
Nimsuggest output: