1

I am using eclipse photon 4.8 on Ubuntu 18.04. When I start a doxygen comment block with /*! and hit Enter, eclipse is unable to change the general style of parameters like @brief, @param or @return to another scheme like \brief, \param or \return.

I am unable to find any switch which can make this change. If we talk about the schemes specifically, this is the change from the JavaDoc style to Qt-style (C/C++).

albert
  • 8,285
  • 3
  • 19
  • 32
Zack
  • 11
  • 3
  • Why do you want to change from `@` to `\\` style? doxygen accepts both. – albert Sep 15 '18 at 10:32
  • I know Doxygen accepts both, depending on the project (also preference) this style can be different. And, for the sake of consistency at the moment, I was looking for \. – Zack Sep 16 '18 at 11:25
  • consistency is a great thing. – albert Sep 16 '18 at 11:38

2 Answers2

0

I can confirm through a quick look at the CDT source code that no such option is supported, the @param style is hard-coded.

Patches are welcome!

HighCommander4
  • 50,428
  • 24
  • 122
  • 194
  • Thanks for looking into it. Unfortunately, at the moment I don't have to work on it. So, I hope meanwhile someone works on it. – Zack Sep 16 '18 at 11:27
0

You can customize the style starting from Eclipse 2020-03 source. You can customize the options in C/C++->Editor in documentation tool section.

greywolf82
  • 21,813
  • 18
  • 54
  • 108
  • How, where? some more explanation might be useful. – albert Jan 17 '20 at 09:12
  • see cdt news and noteworthy web page for Cdt 9.11 – greywolf82 Jan 17 '20 at 09:27
  • Please make at least a reference to this, but more important place the relevant information in the answer, people don't like to jump to other places and the answer should contain this kind of information (small hints to what to do / find the possibility in the menu bar etc.). – albert Jan 17 '20 at 09:31