A requirement for our C++ coding standards in my current program at work is to place Idea before and after functions in the C++ source file (*.cpp) like so:
//*******************************************************************
// {AccessLevel} Function: functionName
//*******************************************************************
void ClassName::functionName()
{
} // functionName
AccessLevel, as you may assume, would need to be either "Public", "Protected" or "Private".
I'd like for Eclipse to be able to generate these Idea before and after every member/static function for me for a class when I do Right Click > Source > Implement Method.
If it's not possible to do the AccessLevel, that's not so bad--I could just do ${todo} in that spot to remind myself to type that part manually. Obviously I'd love for it to be automatic though.
Is there a way to do this?
Note: I'm using Eclipse Mars.2
- - , .
.
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 246
تاريخ: دوشنبه
21 تير
1395 ساعت: 1:06