-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
symbols from newly included header not showing #190
Comments
Is this issue a duplicate of #191 ? I think this is a misconfiguration on Mac OS X but I don't use Mac thus cannot verify. |
I think it's not. As autocompletion working properly while including the header. But symbols or methods from this newly added header are not coming on hitting ctlr+space. |
I was aware of the issue (imprecise preamble), saving the document would bring the preamble up to date. Language clients may cache completion results (coc.nvim company-lsp ...) thus I choose to rebuild preamble in the May I ask you to do me a favor? Could you please add a wiki page below Editor Configuration about Monaco? |
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
Fix #190 If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
After staring ccls server if i include a new header in the file then i am unable to find symbols from this newly included header but i can find symbols from the headers which are already included while starting ccls server.
Detailed Description:
I am using ccls lsp with monaco-language client (https://github.com/TypeFox/monaco-languageclient ). Running the ccls server as
ccls --init='{"cacheFormat":"json", "index": {"onChange": true, "trackDependency":2}}'
and project structure is:
.ccls file content is:
Script.cpp file content is:
Now, i can able to get function from math.h library for autoCompletion in editor. But if add a new header like string.h in my file. I am unable to get autoCompletions like for function strcmp() .
On running ccls server it is also creating cache files in directory
MyProject/.ccls-cache
And on adding string.h in my file, index file for this also getting created in directoryMyProject/.ccls-cache
but still autoCompletion not working for this. That is I am unable to get any symbol or funcitons from string.h library intextDocument/completion
result.@MaskRay, Any idea what I am doing wrong here?
The text was updated successfully, but these errors were encountered: