Project Explorer - folder tree

Completed

Comments

8 comments

  • Avatar
    Paul Curtis

    This is done using Dynamic Folders in the Project Explorer.  Now you can just drag and drop from the Windows Explorer onto the project in the project explorer and it will automatically create a dynamic folder for you and populate it.

    0
    Comment actions Permalink
  • Avatar
    VEIT Electronics - Martin Dušek

    I agree that dynamic folders can simplify maintaining folder tree but they are not exactly what I mean. My problem is that I have many .c/.h/.cpp files in my library folders and not all are going to be used in the project.

    I just want to manually select files to be included to project. Then CW should automatically organize them to maintain folder tree (without creating single directory manually) so I can easily see where the file came from.

    Try Qt Creator...

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    The latest v3 software automatically creates folders in folders to match the directory structure.  if you edit the contents of the dynamic folder in the editor, e.g. remove a file from a folder, the link to the file system is broken and the folder structure becomes static.  You can then edit in/out the files you want to include in the project.

    0
    Comment actions Permalink
  • Avatar
    VEIT Electronics - Martin Dušek

    Consider this: I settled the dynamic folder ./Dynamic. I made a new folder on my disk ./Dynamic/New. I want to add file from ./Dynamic/New to my project. Directory structure must be maintained. I have no clue how to do it as I'm not allowed to manually create new folders inside Dynamic folder in Project Explorer.

    Maintaining directory structure like Qt Creator does would be really nice and helpful alternative. I think the idea of automatically maintained directory structure is very simple to implement. Just like going through disorganized file heap and organizing it when the file heap is presented to user.

     

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    > I have no clue how to do it as I'm not allowed to manually create new folders inside Dynamic folder in Project Explorer.

    Right click in v3, select Reload to recreate the dynamic folder (and subfolders, if recurse is specified) from the file system.

    0
    Comment actions Permalink
  • Avatar
    VEIT Electronics - Martin Dušek

    That's not possible, the reload would recover previously deleted files.

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    Indeed.  This is just the way it is.  We can't make CrossStudio work differently for each user who wants something different.  We cope with managing large projects with CrossStudio, dynamic folders, static folders, and multiple projects.  It's not that difficult.

    0
    Comment actions Permalink
  • Avatar
    VEIT Electronics - Martin Dušek

    Maintaining directory structure is nothing special meeting only my personal needs. Just consider it. There might be more people who would appreciate it. I can see another suggestion in this forum about it.

    0
    Comment actions Permalink

Please sign in to leave a comment.