KDevelop IntelliSense not working

Hi, why the KDevelop IntelliSense is not working on Linux? It marks everything as error, while it’s all right.

For example:

59548-screen.png

Try entering .kdev/Defines.txt and .kdev/Includes.txt (they are created during project generation) into appropriate fields of the KDevelop project.

Thanks. I found this:

But I can’t find the KDevelop Custom Defines and Includes section opening the project configuration.

In the root project folder, you should have a .kdev hidden folder. The defines and includes are in there.

Inside kdevelop right click the project and go to project configuration. Custom Defines and Include should be the top item in the list on the left. The tabs for includes and defines is on the right.

Edit: For what it’s worth, even with all that set up, the intellisense still doesn’t work properly… at least not for me. I just ignore it, until I find time to investigate using QTCreator (which I would prefer anyway).

Create a symbolic link in your project root folder:

.kdev_include_paths → My ProjectCodeCompletionFolders.txt

And I get quite good code completion and navigation, sometimes better than in visual studio and certainly faster.

I’ve done ln -s .kdev4/Includes.txt .kdev_include_paths but it’s not working.

The .kdev4 (with include.txt and define.txt) are present in the UnrealEngine directory (not your project directory)