C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
3.73k
stars
254
forks
source link
Triggering autocompletion in a `.h` header file that is considered as c++-header doesn't work (cross compiling for arm Infinitime project) #882
Open
FederAndInk opened 2 years ago
Here are some things you should try before filing a bug report:
If none of those help, remove this section and fill out the four sections in the template below.
Observed behavior
triggering autocompletion in a
.h
header file that is considered as c++-header doesn't work, running ccls in vscode crosscompiling with arm, in Infinitime project, here is a gitpod setup: https://gitpod.io/#https://github.com/FederAndInk/InfiniTime/tree/feature/ccls.c
.cc
.h
.hh
files that can still demonstrate the issue.open the
src/displayapp/TouchEvents.h
file and try ctrl+space to trigger autocompletionccls logs:
we can see the
receive RequestMessage: 20 textDocument/completion
but no response.Expected behavior
Autocompletion working
Steps to reproduce
.vscode/cmake-variants.json
file and hit ctrl+S to update the cmake extension (bug with the cmake extension)src/displayapp/TouchEvents.h
file and try ctrl+space to trigger autocompletionSystem information
git describe --tags --long
): 0.20210330-12-g74458915