10:15:37 stdin pipeline.cc:552 V(2) receive RequestMessage: 2 initialize
10:15:37 ccls initialize.cc:274 I initialize in directory /u/drew/src/purity with uri file:///u/drew/src/purity
10:15:37 ccls initialize.cc:297 I initializationOptions: {"compilationDatabaseCommand":"","compilationDatabaseDirectory":"","cache":{"directory":".ccls-cache","format":"binary","hierarchicalPath":false,"retainInMemory":2},"capabilities":{"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"}","moreTriggerCharacter":[]},"foldingRangeProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":true}}},"clang":{"excludeArgs":[],"extraArgs":[],"pathMappings":[],"resourceDir":""},"client":{"diagnosticsRelatedInformation":true,"hierarchicalDocumentSymbolSupport":true,"linkSupport":true,"snippetSupport":true},"codeLens":{"localVariables":true},"completion":{"caseSensitivity":2,"detailedLabel":true,"dropOldRequests":true,"duplicateOptional":true,"filterAndSort":true,"include":{"blacklist":[],"maxPathSize":30,"suffixWhitelist":[".h",".hpp",".hh",".inc"],"whitelist":[]},"maxNum":100,"placeholder":true},"diagnostics":{"blacklist":[],"onChange":1000,"onOpen":0,"onSave":0,"spellChecking":true,"whitelist":[]},"highlight":{"largeFileSize":2097152,"lsRanges":false,"blacklist":[],"whitelist":[]},"index":{"blacklist":[],"comments":2,"initialNoLinkage":false,"initialBlacklist":[],"initialWhitelist":[],"maxInitializerLines":5,"multiVersion":0,"multiVersionBlacklist":[],"multiVersionWhitelist":[],"name":{"suppressUnwrittenScope":false},"onChange":false,"parametersInDeclarations":true,"threads":0,"trackDependency":2,"whitelist":[]},"request":{"timeout":5000},"session":{"maxNum":10},"workspaceSymbol":{"caseSensitivity":1,"maxNum":1000,"sort":true},"xref":{"maxNum":2000}}
10:15:37 ccls initialize.cc:329 I use -resource-dir=/usr/local/clang/lib/clang/10.0.0
10:15:37 ccls pipeline.cc:817 V(2) respond to RequestMessage: 2
10:15:46 ccls pipeline.cc:474 I loaded project. Refresh semantic highlight for all working file.
#!/bin/sh
exec strace -s999 -e read,write -o /tmp/strace.log -f path/to/ccls "$@"
location-uir
instead of location-uri
no ?
(setq ccls-sem-highlight-method 'overlay)
(ccls-use-default-rainbow-sem-highlight)
in my config, but I still only get the emacs standard syntax highlighting (no highlights for calls to member functions, for example). Does anyone know how to configure this?
dave@ubuntu:~/ccls$ clang --version
Ubuntu clang version 12.0.0-++20200817091410+a206f850912-1~exp1~20200817072030.1875
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
dave@ubuntu:~/ccls$ ccls --version
Ubuntu ccls version 0.20190823.6-23-g4cf16a7e
clang version 10.0.1-++20200809072545+ef32c611aa2-1~exp1~20200809173142.193
dave@ubuntu:~/ccls$ rm -rf Release && cmake -DCMAKE_CXX_COMPILER=clang++ -GNinja -H. -BRelease && ninja -C Release && sudo /home/dave/bin/depot_tools/ninja -C Release install
-- The CXX compiler identification is Clang 12.0.0
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Release' as none was specified.
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Using local RapidJSON
-- Configuring done
-- Generating done
-- Build files have been written to: /home/dave/ccls/Release
ninja: Entering directory `Release'
[43/43] Linking CXX executable ccls
ninja: Entering directory `Release'
[0/1] Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/bin/ccls
-- Set runtime path of "/usr/local/bin/ccls" to ""
dave@ubuntu:~/ccls$ ccls --version
Ubuntu ccls version 0.20190823.6-23-g4cf16a7e
clang version 10.0.1-++20200809072545+ef32c611aa2-1~exp1~20200809173142.193
dave@ubuntu:~/ccls$ /usr/local/bin/ccls --version
Ubuntu ccls version 0.20190823.6-23-g4cf16a7e
clang version 10.0.1-++20200809072545+ef32c611aa2-1~exp1~20200809173142.193