Skip to content

Excluding folder does not affect (or incorrectly affects) browse path (was #1021) #1066

@Gruntfuggly

Description

@Gruntfuggly

As per title...

with "C_Cpp.intelliSenseEngine" set to "Tag Parser" and

from c_cpp_properties.json

"browse": {
                "path": [
                    "/usr/include/c++/5",
                    "/usr/include/x86_64-linux-gnu/c++/5",
                    "/usr/local/include",
                    "/usr/include",
                    "/usr/include/x86_64-linux-gnu",
                    "${workspaceRoot}",
                    "/home/nscott/workspace/tmb/"
                ],
                "limitSymbolsToIncludedHeaders": true,
                "databaseFilename": ""
            }

from User setting:

    "files.exclude": {
        "**/.DS_Store": true,
        "**/.git": true,
        "**/.hg": true,
        "**/.svn": true,
        "**/gen": true,
        "**/Entries": true,
        "**/Makefile*": true,
        "**/moc_*": true,
        "**/bin": true,
        "**/.obj": true,
        "**/.moc": true,
        "**/libs": true,
        "**/tmm/asl0632": true,
        "**/daemons/tmm/include/*": true
    },

Note the last entry. Go to definition takes me to a file in
~/workspace/tmb/daemons/tmm/include/pdmconv

The correct file is actually in
~/workspace/tmb/tmm/bricks/pdmconv

Sometimes it shows me both and allows me to choose, but after resetting the intellisense database it only takes me to the incorrect file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.quick fix

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions