Comments (7)
Can you dump requests/responses with https://github.com/MaskRay/ccls/wiki/Debugging#dump-lsp-requestsresponses ? Do you find textDocument/publishDiagnostics
?
from emacs-ccls.
Here is the log (start after emacs loaded, before saving)
there is a textDocument/publishDiagnostics seems to correspond to the reported error,
but the project compiles and jump to definition works
log.txt
from emacs-ccls.
If ccls sends textDocument/publishDiagnostics
, the problem isn't on ccls' side. You may check if updating flymake works.
from emacs-ccls.
well the error reported should not have been reported by ccls, since there are no error actually
from emacs-ccls.
Is there any way I could find the command used by ccls to find that there is some error to report ?
from emacs-ccls.
https://github.com/MaskRay/ccls/wiki/Customization#-vn
from emacs-ccls.
I still do not find the problem.
I have tracked the compile command, find that a compiler option I use is not supported by clang, removed it with "clang": {"excludeArgs": ["-Wno-misleading-indentation"]}} in ccls command options (by the way I have corrected the wiki to add the array definition, without it I got an error.
So the file compiles perfectly in command line with the same clang and arguments as shown in logs, but there still is some reported error by ccls.
As I understand when ccls send textDocument/publishDiagnostics it means that ccls found errors and report them to flymake ?
from emacs-ccls.
Related Issues (20)
- c++17, std::optional HOT 1
- Header files not found with emacs-ccls, but works fine at vscode. HOT 1
- imenu: show static member variable instead of function
- Help wanted with configuration: C++ headers not found HOT 1
- conditional highlights doesn't work HOT 2
- Is there a way to manually suspend/resume ccls indexing?
- ccls stuck in "starting"
- Cannot find the references via ccls.xref HOT 2
- Open all hierachy tree at once
- Customize initialization options in S-exp has no effect HOT 1
- Multi-root project setup HOT 2
- Compilation warnings (as of 29.3)
- Using function prototypes auto-completion has strange behavior
- (void-function lsp:ccls-semantic-highlight-symbol-ranges). HOT 11
- use eval-and-compile instead of eval-when-compile HOT 1
- Function definition lsp:ccls-call-children is void HOT 3
- imenu not showing symbol types HOT 3
- Help with .ccls file config: Header file correctly parsed but "file not found" error appears.
- can not jump to std definition
- How to prevent buffers *ccls-tree call/inheritance hierarchy to use same window than buffer Treemacs ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-ccls.