[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [kdevelop] [Bug 386421] New: KDevelop C++ code completion does not respect user defined system-wide
From: Venca B Spam <bugzilla_noreply () kde ! org>
Date: 2017-11-01 8:59:04
Message-ID: bug-386421-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=386421
Bug ID: 386421
Summary: KDevelop C++ code completion does not respect user
defined system-wide include directories in CMake
projects.
Product: kdevelop
Version: 5.1.80
Platform: Neon Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Language Support: CPP (Clang-based)
Assignee: kdevelop-bugs-null@kde.org
Reporter: vbspam@centrum.cz
Target Milestone: ---
Created attachment 108661
--> https://bugs.kde.org/attachment.cgi?id=108661&action=edit
Bug report illustration
KDevelop C++ code completion does not respect user defined system-wide include
directories in CMake projects. Please see attached illustration video.
*How to reproduce?*
1. Open attached sample project.
2. Build it.
3. Open file "SampleLibraryStuff.cpp"
4. On top of that file try to type "#include <My"
5. Press Ctrl+Space to force invoke auto completion.
*What happens?*
KDevelop just proposes operating system wide files/folders along with automatic
word completion.
*Expected behavior?*
KDevelop should propose "MyNamespace" directory (user defined system wide
include) first along with other matches.
*Notes:*
- Please note the angle bracket "<" which is supposed to be for system wide
includes. The local project related includes works well.
- The user defined system wide include directory is specified in
CMakeLists.txxt by target_include_directory command argument SYSTEM PUBLIC -
for details please see attached sample project.
- My system is using Clang 5.x, CMake 3.8 with server support, KDevelop 5.1.80.
--
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic