${project_root} resolves to the current file, not the project folder
TabNine 1.0.10 (free) Sublime Text 3.1.1, Build 3176 macOS 10.14.2
I am trying to get semantic completion for C++ to work, yet cquery never gets past the initialization. When looking into the log, the following line stands out:
arguments: cquery --init={\"cacheDirectory\":\ \"/Users/me/git/cpphw/read_file.cpp/.cquery_cache\"}
After a few tests, it seems that the default args config for cquery substitutes ${project_root} to the current file name, not the folder it is in or, when having a project opened, the project root folder. Is there any other variable except project_root that could be used as a workaround?
Note that this issue might belong into the main TabNine repo, though I am unsure whether this is a problem restricted to Sublime Text or not.
Update:
I figured out that if a .tabnine_root is present, the project_root variable gets set correctly. It would be helpful if that information could be added to the semantic completion page.
Can you show me your profile