jucipp icon indicating copy to clipboard operation
jucipp copied to clipboard

New Feature Request: create header and cpp file based on class name

Open traw opened this issue 7 years ago • 1 comments

New feature which can allow to create header file and cpp file. This feature is already available in Eclipse and Codeblocks as far as I know. Feature Behavior:

  1. File menu option "new -> Class" option.
  2. Open new window, which asks for class name, class variables, base class and so on.
  3. After filling up all these details it will create two files header file and cpp file Thanks

traw avatar Sep 19 '17 14:09 traw

Thank you again, but I am not entirely convinced that this is a helpful feature. There are too many exceptions where one would not create a class in a "standard" way. Templated classes for instance will not use source files, and in some cases one would have the definitions of several classes in one file, or separated in platform specific files. Also, how would you name the files? CamelCase or snake_case? It would depend on the naming conventions of the project. Marking this as wontfix for now.

eidheim avatar Sep 20 '17 13:09 eidheim