Author Topic: New code completion plugin w/ refactoring  (Read 44269 times)

Offline Ptomaine

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: New code completion plugin w/ refactoring
« Reply #30 on: March 21, 2006, 11:39:45 pm »
Ok, guys.

First, I'm sorry, guys, for my offensive words towards Arto. I'm really sorry. I didn't mean that.

Well, let's imagine my situation.
I've started using CB about a half year ago. I've created a project and been working on it. I update CB bona fide, time to time with the nightly builds. And continue working. An IDE for me is a kind of a tool that helps me to EDIT my source code, BUILD it and DEBUG it in a convenient way. Generally, it must help me to work. When I said that there was no difference between RC2 and the most recent build then I've ment that the new versions hadn't facilitate eighter my EDITing or BUILDing or DEBUGing processes. For me, CB has changed visually for me but its new features didn't reflect on my work. For instance, I use cups to drink and I really do not care how it looks like. The main thing, the cup lets me drink - it is its general usage (it does the work it's supposed to do) :). So, here it is.

Anyway, guys, I love what you are doing. And sure, you want to turn CB into something amazing.
All my strict words were said because I want CB become something amazing and I care it.
I've just been frightened of myself when I wanted to change the IDE I love (CB) to UPP... so, I've seethed up...

I understand all the features you might want, but you must understand two things:
-C::B is under heavy development.
-Lack of human resources (time). All of this is being done by few people in spare time and in a free way.

What you can do from your position is: spread the word, so more developers can join the effort, report bugs, send patches, etc.

Particularly on CodeCompletion, right now, the only devs working (coding) on redesign it are TDragon and ddiego (in separate ways).

You might know that C++ parsing is hell, and so is CodeCompletion, along with threading, performance issues, etc.
It's not an easy topic.

Agreed (partially).

Takeshi Miya, look what only two men could create in a short time. Can you compare it to CB, please? (http://upp.sourceforge.net)
The Real Beauty Is Not The One That You Look At With Admiration But The One You Close Your Eyes At.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: New code completion plugin w/ refactoring
« Reply #31 on: March 22, 2006, 12:05:35 am »
Well, one could argue a lot about UPP, not only the IDE but also the toolkit. There are quite a few things in UPP which give me a cold shiver... but that is far, far off-topic.

Actually this thread relates to the CC plugin. :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: New code completion plugin w/ refactoring
« Reply #32 on: March 22, 2006, 12:07:45 am »
Agreed (partially).

Takeshi Miya, look what only two men could create in a short time. Can you compare it to CB, please? (http://upp.sourceforge.net)

Sorry, but the only thing that Ultimate++ haves better than C::B is Code Completion/Code Navigation.
But it's only better, it's not the best. Their hand-crafted C++ parser (Assist++) is not the best, ie. one of the limitations is that it does not expand macro definition and scans only project sources (means standard platform headers are not scanned).

I've researched some months ago on full c++ parsers, and the only ones I have hopes for C::B are:
-CodeStore (currently developed by ddiego, using ANTLR++ and CTags, along with SQLite).
-TDragon's parser (current status unknown, but I think he's still developing it according a few mails with him).
-Eranif's parser (based on CTags and SQLite, already developed, would need porting to GCC and adaptation as a C::B plugin).

Regards,
Takeshi Miya

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: New code completion plugin w/ refactoring
« Reply #33 on: March 22, 2006, 12:37:13 am »
-TDragon's parser (current status unknown, but I think he's still developing it according a few mails with him).
While I'm thinking about it, this seems an appropriate place for a quick update on that. :)

Yes, I'm still working on that as much as I can. I've currently retreated to considering everything that would be involved in writing a full incremental parser for C and C++, but as that would take many moons to reach a useful state I've also got a quick-fix on the burner that would be ready in a shorter time frame.

I also think that if a list were made of people's peeves with the current state of code completion, it would boil down to a majority of relatively easy fixes, plus
- templates and namespaces support, and
- system headers support,
which two could then be left for a later iteration.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: New code completion plugin w/ refactoring
« Reply #34 on: March 22, 2006, 05:47:38 pm »
Full linux/threading stability is also a must.

Offline Ptomaine

  • Multiple posting newcomer
  • *
  • Posts: 37
The Real Beauty Is Not The One That You Look At With Admiration But The One You Close Your Eyes At.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: New code completion plugin w/ refactoring
« Reply #36 on: March 23, 2006, 12:51:23 am »
You mean, what about an incomplete structure that hasn't seen a release since 2004-08? :lol:
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: New code completion plugin w/ refactoring
« Reply #37 on: March 23, 2006, 11:33:50 am »
You mean, what about an incomplete structure that hasn't seen a release since 2004-08? :lol:

Lack of volunteers :)?

Best wishes,
Michael

Offline mikeandmore

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: New code completion plugin w/ refactoring
« Reply #38 on: April 01, 2006, 12:13:31 pm »
any how
Quote from: NELLY
i really like it
i'll like it
i really like it
i really really like.

Offline artoj

  • Almost regular
  • **
  • Posts: 206
  • Location: Supporting my team
    • http://ajonsson.kapsi.fi/
Re: New code completion plugin w/ refactoring
« Reply #39 on: April 20, 2006, 07:02:47 pm »
OK, time for another update.

I'm feeling a lot better now and I had the courage to drive a car again (which I thought I would never do).

I will start working with the code completion plugin after I've finished my current school projects (2 Java projects and 1 PHP & SQL project).

Since I haven't touched C/C++ code in about two months I need some time to get familiar with the code base again. I'll maybe start by fixing couple of those interface bugs that I've found ages ago.

I also need to read at least one book about refactoring to get better idea of the whole process.

        Arto

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9614
Re: New code completion plugin w/ refactoring
« Reply #40 on: April 20, 2006, 07:18:06 pm »
I'm feeling a lot better now and I had the courage to drive a car again (which I thought I would never do). [...]
I'm glad you recovered well (I know what it's like after a car accident).
I'm even more glad you take another shot on the CC plugin. Just take your time - a good design is probably most important here which can only be achived by knowledge and good planning.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: New code completion plugin w/ refactoring
« Reply #41 on: April 20, 2006, 07:34:49 pm »
I'm feeling a lot better now and I had the courage to drive a car again (which I thought I would never do).

I am also glad that you feel better :).

I also need to read at least one book about refactoring to get better idea of the whole process.

A couple of links on refactoring that could help you:

http://developer.berlios.de/projects/cpprt/
http://www.refactoring.com/
http://en.wikipedia.org/wiki/Refactoring
http://www-128.ibm.com/developerworks/library/os-ecref/
http://www.cs.wayne.edu/~vip/RefactoringTools/
http://www.cis.uab.edu/info/faculty/bryant/ldta2003/3.pdf

Best wishes,
Michael