Skip to main content
Andrew Neil
Super User
November 7, 2024
Question

Feature request: create pair of .c and .h files

  • November 7, 2024
  • 1 reply
  • 883 views

It is a very common practice the source files go in pairs: a .h file with the interface, and a .c file with the implementation.

This is acknowledged in CubeMX - which has an option to do exactly that:

AndrewNeil_0-1730989041590.png

 

But, with CubeIDE (in fact, Eclipse), it requires a 2-step process:

  1. New > Source File;
  2. New > Header File.

 

Feature Request: add an option to create a pair of files - .c and .h - in one go.

1 reply

Technical Moderator
November 7, 2024

Hello @Andrew Neil ,

First let me thank you for posting.

I've escalated the request to the concerned team (under internal ticket number 195933).

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Andrew Neil
Super User
November 11, 2024

Thanks - I'll look forward to it ...

 

As it's not actually solved yet, I won't mark a solution yet.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.