Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] code completion ignores include path

Hi guys,

is it something with my workbench/project setup or a bug?

When I declare things in another file and do NOT #include that file, code 
completion is still offering me those types from another translation unit. Of 
course, the compiler complains.

Michi

// test.hpp
#ifndef TEST_HPP_
#define TEST_HPP_

class TestNormalClass {};

template<typename T>
class TestClassTemplate {};

#endif /* TEST_HPP_ */

//otherfile.cpp
int main(){
	Test/*cursor*/
}


Back to the top