When typing the prefix of a function name in VS Code, the IDE will provide suggestions to choose from. When using the clangd extension, if the suggestion is a function and the user selects it using the Tab key, VS Code will automatically complete the parameter list and enter a strange editing mode. However, sometimes when the user wants to use the function as a function pointer, this feature can be annoying.
This is the suggestions. After selecting, the content within the red box will be automatically completed.
I have tried to disable this feature in both VS Code settings (such as disabling Inlay hints, etc.) and clangd settings(not been able to find any relevant options in the official documentation for clangd).
If I set editor.suggest.showFunctions
to false
in VS Code, there will be no more suggested functions, which is not what I want.