Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Suggestion: Using ctags & sqlite for code completion
tiwag:
--- Quote from: joubertdj on November 04, 2006, 12:04:24 am ---Are you guys busy with a plugin to get ctags & sqlite up and running in code::blocks?
If so do you perhaps have a Nightly which I can test?
--- End quote ---
you can checkout and test what's available so far ...
svn repository
https://opensvn.csie.org/CodeLite
there is no intent to use it in CB, as long ctags isn't able to parse C++ code correctly,
although eranif said, that it would be possible somehow...
brgds,
eranif:
--- Quote from: tiwag ---as long ctags isn't able to parse C++ code correctly
--- End quote ---
Please dont spread wrong information, ctags is pretty much capabale of parsing C++. The fact that a single define was inserted into a function list (and can be easily fixed, using list of ignored marcros, as Takeshi suggested), does not mean it cant parse C++.
ctags purpose's is not to be a replacement for the compiler but as an assitant for code writing, so it can miss a complex expression here and there nothing wrong with that -
I didnt see that the current implementation is prefect, and still you are not going around and spreading that it cant parse C++...
-Eran
joubertdj:
I played around with Eclipse's CDT... not bad... the only thing I like more in Eclipse is its Indexing (Code Completion & Symbol Browser)... for the rest I will be sticking to Code::Blocks thank you very much!
(Although it is done in Java :x ) Is it possible to glimpse how they implement the parsing (How they get all the info) ?
BTW ... Thanks
joubertdj:
Uh... well... I actually thought it did more than the current code completion plugin and thought somebody will be working on it... no need to flame one another :? But you can always continue... (Just let us know where you stay, we will bring beer and snax, and you guys can have at one another) and it will not help the code completion :lol:
tiwag:
--- Quote from: eranif on November 04, 2006, 12:48:40 am ---
--- Quote from: tiwag ---as long ctags isn't able to parse C++ code correctly
--- End quote ---
Please dont spread wrong information..
--- End quote ---
i do not spread wrong information,
the actual implementation of CodeLite and CodeLiteEditor as it is in svn repository
is unusable, because most the functions of wxWidgets code samples are simply missing in the browser,
because, as you told me, ctags is confused about the lots of macros used in wxWidgets ...
you said to know how to solve this issue, so please do it (if it is so simple, which i don't believe ...)
brgds,
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version