-
Notifications
You must be signed in to change notification settings - Fork 118
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
[feature request] Provide detailed completion configurations and some enhancements. #742
Comments
Another enhancement is, clangd doesn't support fuzzy matching in auto suggestion. Is this due to performance consideration? |
In clangd 20, this behaviour can be achieved by adding the following to your Completion:
ArgumentLists: None
Could you file this as a separate issue with a complete code example please?
Using
Please file this as a separate issue, with a code example and clangd logs.
We do have some fuzzy matching. Can you give an example of what you expect to work but doesn't? |
I'll file seperated issues later for ex2 and ex4. As for last issue: |
Thanks, I understand now. I believe the current fuzzy matching rules break symbol names down into words/segments (e.g. There are some issues on file about relaxing fuzzy matching: clangd/clangd#37, clangd/clangd#1236, clangd/clangd#2196. |
I switch to clangd from ms-vscode.cpptools due to its significant performance issue, but it seems clangd does not have a detailed auto-completion configurations. This leads to some confliction to my code habit, and some behaviours are kind of annoying.
Examples:
ex1
If I accept this suggestion there will be brackets after class name, but I just want the class name only
ex2
I implement this class completely in a namespace, but when using delegating constructors clangd still provides
namespace::
ex3
C_Cpp.autocompleteAddParentheses
is a sweet option, but in clangd this is enforced open.ex4
It seems there's some compatibility issue with MSVC, codes are compileable but clangd complains. For example, clangd complains that
std::runtime_error
is not a member ofstd
with#include<excetion>
. I do know that I should#include<stdexcept>
but this code can be built without any warnings/errors.The text was updated successfully, but these errors were encountered: