Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
IBM Programming IT Technology

Eclipse Project Releases CDT 2.0 45

Torulf writes "I just ran across an announcement on the Eclipse project frontpage that they have released CDT 2.0. CDT is the C/C++ development project at Eclipse. The CDT provides a full IDE that uses gcc for compiling. Find out what's new in this version here. Downloads available."
This discussion has been archived. No new comments can be posted.

Eclipse Project Releases CDT 2.0

Comments Filter:
  • Thank you IBM (Score:5, Interesting)

    by tomee ( 792877 ) on Wednesday July 07, 2004 @12:01PM (#9632708)
    Eclipse is perhaps one of the greates things to happen lately. But I think it's full potential has not nearly been realized yet. Since it supports everything via plugins, one could make html editors, office applications, or even stuff like photo editing software under eclipse which would then feature a unified and interoperable user interface. I really hope to see this kind of thing soon.
    • Re:Thank you IBM (Score:3, Interesting)

      by FedeTXF ( 456407 )
      Well, I doubt many people will use eclipse for things other than programming and developement related activities.
      I don't see many photo editors eclipse's future. The base conmponents are too much biased towards its prime target: be an IDE.
      • Re:Thank you IBM (Score:5, Informative)

        by Samrobb ( 12731 ) on Wednesday July 07, 2004 @02:12PM (#9633987) Journal
        The base conmponents are too much biased towards its prime target: be an IDE.

        No so anymore. They very much want Eclipse to be useful as a general framework for building arbitrary applications. For Eclipse 3.0, the team made a good effort to seperate out the basic platform functionality from the IDE aspects.

        Take a look at the "Rich Client Platform" notes in the New and Noteworthy [eclipse.org] docs for Eclipse 3.0.

    • by bXTr ( 123510 )

      Since it supports everything via plugins, one could make html editors, office applications, or even stuff like photo editing software under eclipse which would then feature a unified and interoperable user interface. I really hope to see this kind of thing soon.
      You already can. It's called Emacs. :)
  • correct link (Score:4, Informative)

    by standsolid ( 619377 ) <kenny@nOspaM.standsolid.com> on Wednesday July 07, 2004 @12:10PM (#9632808) Homepage
    to the eclipse project [eclipse.org] frontpage, and to the CDT Page itself. [eclipse.org]

    check those urls!
  • Eclipsenet (Score:4, Funny)

    by BortQ ( 468164 ) on Wednesday July 07, 2004 @12:54PM (#9633239) Homepage Journal
    I can see it happening now. Things keep getting added and added to Eclipe...

    Eventually it becomes self-aware and launches the nukes.

    Then it's all-out war: Man vs. Eclipse. (cue the music [geocities.com])

  • I have written an editor that can do syntax coloring in only ~3000 lines of code.

    I hate java!!

    screenshots of my editor [rubyforge.org]

    judge yourself... does eclipse really sux?

    --
    Simon Strandgaard
    • Talking about cool little editors, I discovered Helene [helene.muze.nl] a little while ago, it's a editor with syntax highlighting and auto-indent written in Javascript! It's still a bit alpha and misses some features like being able to paste multiple lines, but it's still reallly impressive.

      Check out their Demo [helene.muze.nl] it worls on Mozilla 1.3+ and IE 5.5+

    • What you're missing is that Eclipse is not just an editor, but quite a lot more than that.
  • by Anonymous Coward
    It would be very cool if CDT could import and scan already written Makefiles. It would rock to be able to setup a kernel eclipse project have it scan the toplevel and subdirectory Makefiles and be able to look at structure definitions and jump to various parts of the kernel with Ctrl-click, like Ctrl-[ in ctags.
    • by Anonymous Coward
      This release of CDT can handle this. (In fact, I've done it. Multiple times :-) It's non-trivial, but not too horrendously difficult.
  • Since I programmed in C++ (guess 8+ years now) Anyone has any tips/links how to use CDT on Linux? Where do I get the header files and libraries? Any introduction on programming C++ on Linux? Is there no way to get a method you defined in the header-file into the .cpp? I expected that. One of the things Java is easier to use is that you don't have to copy stuff from the header file into the implementation file. I'd expect a tool to be able to do that for me.
    • >Is there no way to get a method you defined in the header-file into the .cpp?

      Why would you do this? You can define a method either in the header or the implementation file (although it's prudent to separate interface from implementation).
      • Welllllll, like I said it's been a while, but I vaguely remember having to define a class method in the header file and then having to implement it in the implementation file. ;-)

        MyClass.h:
        void doSomething();

        MyClass.cpp:
        void MyClass::doSomething();

        It would be nice if I had a 'Source'-right mouse menu that put the method I just defined in the header file into the implementation file.
        • Re:It's been a while (Score:3, Informative)

          by E_elven ( 600520 )
          You don't have to do that (the define once rule). You can do either:
          // my_class_1_h
          class my_class
          {
          void do_nothing() { return void; }
          };

          // my_class_2_h
          class my_class
          {
          void do_nothing();
          };

          // my_class_2_cpp
          void my_class::do_nothing()
          {
          return void;
          }
          .
  • by plasticmillion ( 649623 ) <matthew@allpeers.com> on Wednesday July 07, 2004 @03:55PM (#9634993) Homepage
    Well this doesn't seem to be the world's most active thread, but just in case someone is reading this: what interested me most about CDT is the refactoring support. This is sorely missing in Visual Studio.

    Does anyone know how this refactoring works? I presume that the environment needs to parse the source files in order to determine what to rename (as with Java). Does it use the GNU compiler for this? If so, can GNU handle MFC? Sounds a bit like worlds colliding to me...

    • by Qwavel ( 733416 ) on Wednesday July 07, 2004 @04:57PM (#9635721)
      Yes, refactoring is sorely missing in Visual Studio and for C++ in general. I think I heard that Visual Slick Edit now supports some refactoring for C++ but it's kind of expensive, particularly if you want to use it on more than one platform.

      Regarding your question, the answer for VC6/MFC6 would be definately no. The VC7.1 compiler is much better and is much more like the standard C++ that is supported in GCC 3.4. MFC71, unlike VC71, is backward compatible, but they must never-the-less have made some changes to it to make it work with the new compiler. I wonder if MFC71 is compatible with VC71's strict conformance mode?

      I guess what I'm saying is that you might be able to refactor an MFC71 app with Eclipse, but probably not an MFC6 one.

      Keep in mind that MFC is proprietary stuff. Even if you own a copy I'm not sure what the license says about modifying it (ie. to work with a different compiler).

      Too bad there is so much MFC code around.
      • I actually tried Visual Slick Edit for exactly this reason, but I wasn't particularly impressed. First of all, it doesn't let you import Visual Studio projects using the Eclipse plugin, which is a big problem for us since, as you have no doubt gathered, we are tainted Windows programmers. The standalone client isn't nearly as, umm, slick as Visual Studio or Eclipse, and in any case it couldn't parse MFC, although apparently they are working on this.

        Anyway, I'll give it a try with CDT when I have a chance.

  • Is anyone working on getting CDT working on OSX? I really like Eclipse's Editor, XCode's editor is missing block-indent.

    Anyone heard/know anything?

I have hardly ever known a mathematician who was capable of reasoning. -- Plato

Working...