STM32CubeMX – physical folders and file grouping

Sysprogs forums Forums VisualGDB STM32CubeMX – physical folders and file grouping

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36049
    Zebi
    Participant

    Hi

    Maybe this is a regression.

    The setting “Group Sources By Types” has no effect in the current version in an STM32CubeMX project. – Neither on existing files, nor on new files. New files first seem to be created ungrouped but they are grouped by type when the solution is opened next time.

    Attachments:
    You must be logged in to view attached files.
    #36046
    Zebi
    Participant

    Hi

    I have the same problem.

    I created a new project via the new method for STM32CubeMX projects and the is no way to create folders to structure my source code files.

    In an older project created via the old method folders work.

    Attachments:
    You must be logged in to view attached files.
    #36055
    support
    Keymaster

    Hi,

    VisualGDB indeed does not have a separate menu command for creating physical folders. However, it will recognize the actual folders where the sources are located. E.g. you can try clicking Add->New Item, and appending “\subfolder” to the Location field. VisualGDB will automatically create subfolder, will place the new file there, and will show it in Solution Explorer.

    We have rechecked the Group Sources by Types setting and it worked just fine – hid the Source files and Header files nodes as expected. Please try checking it on a newly created project without changing any other settings. If it works there, please try comparing the 2 projects to see if there is any other setting you could have changed that triggered this behavior. Please also make sure the project is saved after you change the setting. If you close Visual Studio without saving the solution/project, the setting will not be saved and VisualGDB will revert to the old behaviour next time you open the project.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.