Question

if I hit Ctrl-D KDevelop will comment out the line where my cursor sits, which is all good. What's not so good is the C++ style comments it chooses // I want it to use /**/. Is there a way to make KDevelop use C style comments?

The reasons I ask are: 1) Our code guide line requires /**/ 2) We import a lot of code and tweak it, we would have to mix // /**/, which is ugly. Since most C code out there use /**/ that's a complete hassle. Emacs handles it nicely, and that's one of few hurdles blocking my switch to KDevelop.

Thanks!

Était-ce utile?

La solution

Set the mode of the source to ANSI C89 either manually Editor->Tools->Mode->Sources->ANSI C89 or using a kate modeline /* kate: syntax ANSI C89; */

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top