ITADN

Why :LspDeclaration and :LspDefinition go to the same place?

#1617OpenComeOrDream 创建于 2025-10-13
C
ComeOrDreamcommented
I am using vim-lsp and clangd to edit my C++ program. When searching the definition of a member function of a class, :LspDeclaration and :LspDefinition go to the declaration of the member function. How can i go to the definition of the function?
0 条评论