I have allready started with:

> nimsuggest --stdin myfile.nim

Then I get:

> usage: sug|con|def|use|dus|chk|mod|highlight|outline|known|project 
> file.nim[;dirtyfile.nim]:line:col

Do you really allways have to enter the line- and col-number for every 
function? That would defeat the usability of the tool for 
standalone/commandline usage, but maybe it is mostly meant for programmatic 
usage?

I have allready viewed the weblink:  
<https://nim-lang.org/docs/nimsuggest.html>  


Could somebody give runnable examples of the most usefull commandline usages? 
For example:

  * list all procs in the file
  * list all usages of a proc in other procs



Maybe it is not meant for humans but for other programs / editors. Then maybe a 
human-usable interface could be made? 

Reply via email to