Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Changing or just turning off the automatic block comment completion
Changing or just turning off the automatic block comment completion [message #261653] Tue, 22 July 2008 06:02 Go to next message
Eclipse UserFriend
Originally posted by: thehalloweens.gmail.com

Hi all,

I'm a C++ developer new to Eclipse (Ganymede), using it with the MinGW/GCC
toolchain. I'm pretty happy with it so far, but have run into an annoying
problem which I haven't been able to address (not through lack of trying).

If I have started a Javadoc style comment, Eclipse helps by automatically
adding a '*' on the next line, i.e.

/**
* <-- Pressing enter on the previous line adds this line.
*/ <-- And this line if it is not already present.

This would be great if I were actually using Javadoc, though of course
being a C++ developer I am not. I am in fact using Doxygen style comments
(which are similar) but my specific style looks like the following:

/**
//
//
*/

I would /really/ like to know how to at least turn this feature off (or
even better change it so that it fits with my style!) as it is causing me
to waste a lot of time deleting the superfluous '*' characters.

I have searched the Content Assist sections of Windows|Preferences and
hunted through all the other settings for something relating to this and
have come up with nothing. I would greatly appreciate any help you could
give me!

Cheers,
Will.
Re: Changing or just turning off the automatic block comment completion [message #261687 is a reply to message #261653] Tue, 22 July 2008 12:49 Go to previous messageGo to next message
Anton Leherbauer is currently offline Anton LeherbauerFriend
Messages: 490
Registered: July 2009
Senior Member
Will wrote:
> Hi all,
>
> I'm a C++ developer new to Eclipse (Ganymede), using it with the
> MinGW/GCC toolchain. I'm pretty happy with it so far, but have run into
> an annoying problem which I haven't been able to address (not through
> lack of trying).
>
> If I have started a Javadoc style comment, Eclipse helps by
> automatically adding a '*' on the next line, i.e.
>
> /**
> * <-- Pressing enter on the previous line adds this line.
> */ <-- And this line if it is not already present.
>
> This would be great if I were actually using Javadoc, though of course
> being a C++ developer I am not. I am in fact using Doxygen style
> comments (which are similar) but my specific style looks like the
> following:
>
> /**
> //
> //
> */
>
> I would /really/ like to know how to at least turn this feature off (or
> even better change it so that it fits with my style!) as it is causing
> me to waste a lot of time deleting the superfluous '*' characters.
>
> I have searched the Content Assist sections of Windows|Preferences and
> hunted through all the other settings for something relating to this and
> have come up with nothing. I would greatly appreciate any help you could
> give me!
>
> Cheers,
> Will.
>

This behavior is currently not customizable and there is also no way to
disable it.
See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=150750

--
Anton Leherbauer
Wind River Systems, Austria
CDT Committer - http://www.eclipse.org/cdt
DSDP/DD Committer - http://www.eclipse.org/dsdp/dd
Re: Changing or just turning off the automatic block comment completion [message #261699 is a reply to message #261687] Tue, 22 July 2008 13:24 Go to previous messageGo to next message
Anton Leherbauer is currently offline Anton LeherbauerFriend
Messages: 490
Registered: July 2009
Senior Member
Anton Leherbauer wrote:
> Will wrote:
>> Hi all,
>>
>> I'm a C++ developer new to Eclipse (Ganymede), using it with the
>> MinGW/GCC toolchain. I'm pretty happy with it so far, but have run
>> into an annoying problem which I haven't been able to address (not
>> through lack of trying).
>>
>> If I have started a Javadoc style comment, Eclipse helps by
>> automatically adding a '*' on the next line, i.e.
>>
>> /**
>> * <-- Pressing enter on the previous line adds this line.
>> */ <-- And this line if it is not already present.
>>
>> This would be great if I were actually using Javadoc, though of course
>> being a C++ developer I am not. I am in fact using Doxygen style
>> comments (which are similar) but my specific style looks like the
>> following:
>>
>> /**
>> //
>> //
>> */
>>
>> I would /really/ like to know how to at least turn this feature off
>> (or even better change it so that it fits with my style!) as it is
>> causing me to waste a lot of time deleting the superfluous '*'
>> characters.
>>
>> I have searched the Content Assist sections of Windows|Preferences and
>> hunted through all the other settings for something relating to this
>> and have come up with nothing. I would greatly appreciate any help you
>> could give me!
>>
>> Cheers,
>> Will.
>>
>
> This behavior is currently not customizable and there is also no way to
> disable it.
> See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=150750
>

and https://bugs.eclipse.org/bugs/show_bug.cgi?id=238764

HTH
--
Anton Leherbauer
Wind River Systems, Austria
CDT Committer - http://www.eclipse.org/cdt
DSDP/DD Committer - http://www.eclipse.org/dsdp/dd
Re: Changing or just turning off the automatic block comment completion [message #261757 is a reply to message #261687] Wed, 23 July 2008 04:25 Go to previous message
Eclipse UserFriend
Originally posted by: thehalloweens.gmail.com

Anton Leherbauer wrote:

> Will wrote:
>>
>> If I have started a Javadoc style comment, Eclipse helps by
>> automatically adding a '*' on the next line, i.e.
>>
>> /**
>> * <-- Pressing enter on the previous line adds this line.
>> */ <-- And this line if it is not already present.
>>
>> This would be great if I were actually using Javadoc, though of course
>> being a C++ developer I am not. I am in fact using Doxygen style
>> comments (which are similar) but my specific style looks like the
>> following:
>>
>>
>> Cheers,
>> Will.
>>

> This behavior is currently not customizable and there is also no way to
> disable it.
> See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=150750

Ouch. Oh well, I guess I can either learn to live with it or become a
contributor. Thanks Anton! I appreciate the help.

Cheers,
Will.
Previous Topic:Eclipse with ARM7
Next Topic:Commercial support for RCP development?
Goto Forum:
  


Current Time: Fri Apr 26 15:01:35 GMT 2024

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

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

Back to the top