Configuring default class naming in Eclipse using CDT

When I try to create a new class in Eclipse using the CDT plugin, I enter the class name. For example, MyClass. This generates the default file names MyClass.h and MyClass.cpp. I want to change the default file name so that it has the form my_class.h and my_class.cc. Can this be done, and if it can be done from Eclipse? Is this parameter in the configuration file?

+3
source share
1 answer

This feature does not currently exist in the Eclipse Helios (3.6) CDT. I found a function request in Eclipse Bugzilla , but it was requested back in 2006, had very little activity and was not even currently assigned to anyone. Unfortunately, I do not think that in the near future the ability to add C ++ class file names will be added to Eclipse.

+1
source

Source: https://habr.com/ru/post/1715488/


All Articles