Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
Qt Creator 13.0.0-beta2
-
None
-
Windows 10
Product: Qt Creator 13.0.0-beta2 (12.0.83)
Based on: Qt 6.6.2 (MSVC 2019, x86_64)
Built on: Feb 27 2024 13:27:07
From revision: c536712707
Description
The auto completion in comments does not show methods of the class
PRE-REQUISITES:
- Clang model is enabled from Preferences -> C++ -> Clangd -> Use Clangd
STEPS:
- Open some widgets example in Qt Creator (say Chip demo)
- Open chip.cpp, type "Chip::" in some empty line and press "Ctrl+Space" for autocompletion
- Observe that it will show functions such as shape(), boundingRect() and paint() in the autocompletion
- Now put the text in comment and try auto completion. i.e., type "//Chip::" and press "Ctrl+Space" for autocompletion
- Observe that it will NOT show functions such as shape(), boundingRect() and paint() in the autocompletion
OBSERVED:
- Observed that when using auto completion in comments, "//Chip::", it does not show the relevant functions
- The public functions are seen in auto completions results if it not in comments
EXPECTED:
- The results for auto completion inside comments should be same as auto completion without comments
Attachment:
**
Attachments
Issue Links
- relates to
-
QTCREATORBUG-20828 No autocompletion of symbol names inside comment blocks with the Clang code model
-
- Closed
-