Skip to content

Wrong import with cquery._insertInclude #57

@SeeYouSadPython

Description

@SeeYouSadPython

I have setup my project with
"cquery.index.extraClangArguments": [
"-IC:/FolderFirst/FolderSecond",
other_include_folders_here,
"-DMacro_Definitions",
other_macro_definitions_here
]
so, then i trying to import header from vs code actions, it insert full path without include derective, can i setup relative path(array?) with logic "for item if contains one_of_relative_paths remove one_of_relative_paths from item" and then include "relative_path_without_abs_path".
Now: C:/FolderFirst/FolderSecond/AnotherFolder/Class.h
Should be: AnotherFolder/Class.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions