Author Topic: When creating a wild card project project view shows "Source Files" and projname  (Read 2679 times)

rowbearto

  • Senior Community Member
  • Posts: 2347
  • Hero Points: 132
When I create a new wildcard project in the Project Pane I see both a "Source Files" folder and a <projname> folder.

See attached screenshot.

I also attached the project I just created.

This happens with both new C++ and Python empty project creation.

This is in beta3, linux x64.

Dennis

  • Senior Community Member
  • Posts: 3999
  • Hero Points: 522
When you created the project did you have "Show subfolders" checked?

rowbearto

  • Senior Community Member
  • Posts: 2347
  • Hero Points: 132
Yes it appears "show subfolders" is checked. It is also greyed out and no way to uncheck it, see attached screenshot. Even if show subfolders is checked it doesn't seem to make sense to have both "Source files" and <myproj> entires in the project pane?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 7094
  • Hero Points: 539
What do you want as a result when you add files with these settings?

rowbearto

  • Senior Community Member
  • Posts: 2347
  • Hero Points: 132
Clark: I'm not sure what I would want, but what is there doesn't seem to make sense?

Off the top of my head, I usually don't have subfolders in my projects and I would want to be able to uncheck the "show subfolders" and have all of my files directly under "Source files" with no hierarchy. This is the way I'm used to working.

For the case of "show subfolders" I don't normally work that way so don't have much to say except that it doesn't seem to make sense to have the subfolders and "Source Files".
« Last Edit: September 07, 2021, 12:55:59 PM by rowbearto »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 7094
  • Hero Points: 539
This feed back does help because we agree that the way things currently work isn't as good as it could be.

There's a bug with the enable/disable handling for "Show subfolders". That's a separate issue.

We are thinking that if either "Show subfolders" or "Creating parent directory folder" are checked that the Project type Folder settings should be ignored (i.e. no Source files/Header files folders created). This would be consistent with what happens if you don't have a project open and you drag drop a directory onto SlickEdit (give it a try). Essentially, this operation uses the "(Other)" project type and ignores the Folder settings. Although in this case the folder settings are always ignored.

What you've described is a little different. You seem to want the "Show subfolders" and "Create parent directory folder" settings to be ignored in favor of the Project type folder settings. This doesn't make sense because it would mean these settings would always be ignored. Every project type has folder settings defined.

rowbearto

  • Senior Community Member
  • Posts: 2347
  • Hero Points: 132
I'm not saying I want the "Show subfolders" ignored. What I'm saying is that if "Show subfolders" is not checked then I want to use the Project type folder settings. I'm used to having all my .c/.cpp files under "Source Files" without hierarchy.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 7094
  • Hero Points: 539
If you turn of "Show subfolders" and "Create parent directory folder", you should get what you want. There's a bug with the enable/disable handling for "Show subfolders". It can be hard to turn that off right now.

rowbearto

  • Senior Community Member
  • Posts: 2347
  • Hero Points: 132
What is "Create parent directory folder"? Is the "parent directory" the same as the folder in "Location", and this just means to create the folder in "Location" if it doesn't exist?

Why does that need to be unchecked in order to get what I want?

rowbearto

  • Senior Community Member
  • Posts: 2347
  • Hero Points: 132
OK maybe by "folder" you mean a folder in the Project pane, not a directory?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 7094
  • Hero Points: 539
I mean Project pane folder. The names of the folders can match directory names but they are still folders.

If you specify /a/b/c/*.d, the "Create parent directory folder" option will created a folder named "c" and put "*.d" in it. The "Show subfolders" option is often used with the "Create parent directory folder" option to get a directory tree look in the Project pane.