Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong import with cquery._insertInclude #57

Open
SeeYouSadPython opened this issue Nov 16, 2018 · 0 comments
Open

Wrong import with cquery._insertInclude #57

SeeYouSadPython opened this issue Nov 16, 2018 · 0 comments

Comments

@SeeYouSadPython
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant