-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
[doc-bug] Move Documentation Comments From .cpp
To .hpp
For Better LSP Support
#828
Comments
I would like human to be able to quickly understand headers files. Doxygen comments adds a lot of noise making it more difficult to navigate the files. A lot of FTXUI documentations adds a lot of details, examples. This is too much.
Is there a way to keep the headers easily navigeable by human, while allowing machine to provide the specific details? About your issue, it seems to be a missing feature from clangd. We should probably push in this direction instead. |
Fix all the diagnostics reported. Bug: #828
Fix all the diagnostics reported. Bug: #828
Fix all the diagnostics reported. Bug: #828
Fix all the diagnostics reported. Bug: #828
When installing TFXUI using CMake's
find_package()
, the implementation source code is not available, resulting LSP not being able to provide correct "hover document", as they're in the implementation files, according to this stackoverflow post comment.For instance: that "--- Widget ---" cannot be the actual document:
Here, the LSP (clangd) thinks the header file (
elements.hpp
) contains the documentation, but it does not:In fact, the actual documentation is written in the
text.cpp
:So... Maybe consider moving the actual documentation from implementation to declaration? As this brings better LSP support.
The text was updated successfully, but these errors were encountered: