Changing or just turning off the automatic block comment completion [message #261653] |
Tue, 22 July 2008 06:02 |
Eclipse User |
|
|
|
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 #261757 is a reply to message #261687] |
Wed, 23 July 2008 04:25 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.08372 seconds