8000 Go to definition doesn't work completely · Issue #93 · mitaki28/vscode-clang · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Go to definition doesn't work completely #93
Open
@Pipirongu

Description

@Pipirongu

I use VsCode with clangd + compilation database(compile_commands.json)

"Go to definition/declaration"(CTRL+ Click on function and variables) doesn't completely work on one of my repo. The repo is one of the biggest one I have.

Doesn't work for the line below.
m_historySignal->setHistory(RSIBroker::HISTORY_SIZE);

Works if I put the argument as a line for itself.
RSIBroker::HISTORY_SIZE

No errors are displayed and nothing happens when I try. Can this be related to this? https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc

Same compile_commands.json works fine on CLion IDE

UPDATE:
Looks like some lines of code which uses namespaces aren't working while some with namespaces work.

Can't access this:
msg::helper::v2::MsgHelper
Able to access this:
msg::con::v1::AcceptHelper

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0