Hello,
I’m used to the Visaul Studio automatic formatting using Ctrl+K-D, works like a charm when coding in C#.
But using VisualGDB projects I get some messed up things:
- Indentation for namespace (not usual for C++)
- Doxygen comments (I’m trying Atomineer pro) are indented too
- If I declare template parameters on a separate lines, the class declaration is indented also
/**
* Task with built in stack.
* @tparam StackSize Stack size in pointer size (32 bits).
* @sa Task
*/
template<uint32_t StackSize>
class TaskWithStack : public Task
{
public:
/**
* Creates a task with built in stack.
* @param parameter The parameter.
* @param entry The entry.
* @param name The name.
* @param priority The priority.
* @param isPriviledged True if this TaskWithStack is priviledged.
*/
TaskWithStack(const uint32_t parameter, const TaskEntry entry, const char* name, Priority priority, const bool isPriviledged)
: Task(m_stack, StackSize, parameter, entry, name, priority, isPriviledged)
{
}
private:
uint32_t m_stack[StackSize];
};
} /* namespace Kernel */
} /* namespace Opsy */
Where do I find options to change this behavior ?
Thomas.