Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » how to delete a class?
how to delete a class? [message #189421] Sat, 14 April 2007 23:42 Go to next message
Eclipse UserFriend
Originally posted by: rtayek.no.spam.comcast.net

hi, newbie fooling around with cute in the cdt on 3.2.2. i deleted the .cpp
and .h files for a class that i added using the new|class wizard. trying to
re-create the class using the wizard says that the class already exists.
cleaning, closing the project and restarting eclipse does not help. it's
easy enough to start over from scratch, but it would be nice to know how to
delete a class and have it really go away.

i found the c/c++ index view and it does show the class that i deleted.

thanks
Re: how to delete a class? [message #189433 is a reply to message #189421] Sun, 15 April 2007 06:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: news-eclipse.evilazrael.de

Hi!

My first guess is to use "rebuild index" onto the project and then to
retry creating the new class after the old one does not show up anymore.

Christoph Nelles

Ray Tayek schrieb:
> hi, newbie fooling around with cute in the cdt on 3.2.2. i deleted the .cpp
> and .h files for a class that i added using the new|class wizard. trying to
> re-create the class using the wizard says that the class already exists.
> cleaning, closing the project and restarting eclipse does not help. it's
> easy enough to start over from scratch, but it would be nice to know how to
> delete a class and have it really go away.
>
> i found the c/c++ index view and it does show the class that i deleted.
>
> thanks
>
>
Re: how to delete a class? [message #189539 is a reply to message #189433] Tue, 17 April 2007 19:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dschaefer.qnx.com

Christoph Nelles wrote:
> Hi!
>
> My first guess is to use "rebuild index" onto the project and then to
> retry creating the new class after the old one does not show up anymore.
>
> Christoph Nelles
>
> Ray Tayek schrieb:
>> hi, newbie fooling around with cute in the cdt on 3.2.2. i deleted the
>> .cpp and .h files for a class that i added using the new|class wizard.
>> trying to re-create the class using the wizard says that the class
>> already exists. cleaning, closing the project and restarting eclipse
>> does not help. it's easy enough to start over from scratch, but it
>> would be nice to know how to delete a class and have it really go away.
>>
>> i found the c/c++ index view and it does show the class that i deleted.
>>
>> thanks
>>

Unfortunately for CDT 3.1, that's probably the best answer. I believe
the gang has delete working in CDT 4.

Cheers,
Doug.
Re: how to delete a class? [message #189568 is a reply to message #189433] Tue, 17 April 2007 22:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rtayek.no.spam.comcast.net

"Christoph Nelles" <news-eclipse@evilazrael.de> wrote in message
news:evshro$hto$1@build.eclipse.org...
> Hi!
>
> My first guess is to use "rebuild index" onto the project and then to
> retry creating the new class after the old one does not show up anymore.
> ...

ok. but where is this? it does not appear on the project properties or
context menu. i can find where it says i am using the fast indexer, but
that's all.

thanks

> Ray Tayek schrieb:
>> hi, newbie fooling around with cute in the cdt on 3.2.2. i deleted the
>> .cpp and .h files for a class that i added using the new|class wizard.
>> trying to re-create the class using the wizard says that the class
>> already exists. cleaning, closing the project and restarting eclipse does
>> not help. it's easy enough to start over from scratch, but it would be
>> nice to know how to delete a class and have it really go away.
>>
>> i found the c/c++ index view and it does show the class that i deleted.
>> ...
Re: how to delete a class? [message #189584 is a reply to message #189568] Wed, 18 April 2007 00:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dschaefer.qnx.com

Ray Tayek wrote:
> "Christoph Nelles" <news-eclipse@evilazrael.de> wrote in message
> ok. but where is this? it does not appear on the project properties or
> context menu. i can find where it says i am using the fast indexer, but
> that's all.

It is in the context menu for projects in the C/C++ Project View.

Doug
Re: how to delete a class? [message #190525 is a reply to message #189584] Thu, 03 May 2007 07:00 Go to previous message
Eclipse UserFriend
Originally posted by: rtayek.no.spam.comcast.net

"Doug Schaefer" <dschaefer@qnx.com> wrote in message
news:f03q6g$qmn$1@build.eclipse.org...
> Ray Tayek wrote:
>> "Christoph Nelles" <news-eclipse@evilazrael.de> wrote in message ok. but
>> where is this? it does not appear on the project properties or context
>> menu. i can find where it says i am using the fast indexer, but that's
>> all.
>
> It is in the context menu for projects in the C/C++ Project View.
>

yes, there it is: Rebuild Index. works like a charm!

thanks
Previous Topic:CDT Navigation doesn't work at all for OpenCV
Next Topic:Ant build.xml and build standard make c file
Goto Forum:
  


Current Time: Fri May 24 14:00:01 GMT 2024

Powered by FUDForum. Page generated in 0.03556 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top