This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Macro autocompletion

Tags: None
(comma "," separated)
liwaszkiewicz
Registered Member
Posts
1
Karma
0

Macro autocompletion

Tue Sep 01, 2015 9:47 am
Hi all!

I am new to kdevelop, so I suppose I do something wrong, but kdevelop does not auto-complete any of my macros (or simple defines like #define BLAH 1). It does however complete them when I edit a file the macro is defined in, but it uses something called "auto word completion" then (I believe this is something other than "code completion")). Then, after I manually input my macro's identifier all by myself, kadevelop happily is able to expand the macro, or tell me where its definition is, and how it looks like. So I think the parser sees the macro, but for some reason does not use them for auto-completion. What do I do wrong?

Versions used:
Version 4.6.0, Using KDE Development Platform 4.13.3 on Ubuntu 14.04.3 LTS
Version 4.7.1 on Ubuntu 15.04
Source code is written in C. Files have *.c and *.h extensions.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Macro autocompletion

Thu Oct 08, 2015 6:57 pm
This is implemented in kdev-clang, the new Cpp support plugin of KDevelop, which will be available with KDevelop 5. In 4 it's just not working and it's not going to get fixed.


I'm working on the KDevelop IDE.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]