Code Completion fix for namespaces

Discussion about CodeLite development process and patches
NilC
CodeLite Enthusiast
Posts: 34
Joined: Fri Sep 14, 2012 1:01 pm
Genuine User: Yes
IDE Question: C++
Contact:

Code Completion fix for namespaces

Post by NilC »

I made minor fix (or hack :) ) for ctags code completion. Now code completion works inside namespace with enabled option "Scan all included files to locale 'using namespace' statement"

Related bugs
http://sourceforge.net/p/codelite/bugs/736/
http://sourceforge.net/p/codelite/bugs/594/
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Code Completion fix for namespaces

Post by eranif »

Thanks for the fix, I am currently working on a codelite branch (replacing wxScintilla with wxSTC from wx294 code)
Once the branch is merged into trunk, I will apply your patch

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Code Completion fix for namespaces

Post by eranif »

Applied

Eran
Make sure you have read the HOW TO POST thread
petah
CodeLite Expert
Posts: 231
Joined: Sat Nov 24, 2012 8:04 pm
Genuine User: Yes
IDE Question: c++
Location: Los Angeles
Contact:

Re: Code Completion fix for namespaces

Post by petah »

NilC wrote:I made minor fix (or hack :) ) for ctags code completion. Now code completion works inside namespace with enabled option "Scan all included files to locale 'using namespace' statement"
Hi Nil (null? :-) you seem to be quite the expert wrt ctag/clang parsing - any chance you'd produce a patch for those parsers to ignore C++ files that have been excluded from the build or other non C++ text files such as wx XPM bitmaps?

cheeky, I know :)

-- p
main: Debian Jessie x64 + custom wxTrunk
NilC
CodeLite Enthusiast
Posts: 34
Joined: Fri Sep 14, 2012 1:01 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Code Completion fix for namespaces

Post by NilC »

Hi Nil (null? you seem to be quite the expert wrt ctag/clang parsing - any chance you'd produce a patch for those parsers to ignore C++ files that have been excluded from the build or other non C++ text files such as wx XPM bitmaps?
I'll try, but not in the near future.
Post Reply