Home Download Buy Blog Forum Support

Multiple project folders with the same path

Multiple project folders with the same path

Postby JordiOrlando on Thu Apr 10, 2014 1:28 am

Hello,

when editing a sublime-project file it seems as though multiple folders with the same path are unsupported. I have a project in which the source files and documentation are both in the same directory, but I would like to break them up into two named folders ("Source" and "Documentation"). The following JSON seems like it should work, but it doesn't. Instead, the second folder with the same path simply does not show up in the side bar.

Code: Select all
{
   "folders":
   [
      {
         "follow_symlinks": true,
         "name": "Source",
         "path": "/Users/jordi/Documents/Arduino/libraries/TLC5947",
         "folder_exclude_patterns": ["examples"],
         "file_exclude_patterns":
         [
            "*.txt",
            "*.zip",
            "*.sublime-project"
         ]
      },
      {
         "follow_symlinks": true,
         "name": "Examples",
         "path": "/Users/jordi/Documents/Arduino/libraries/TLC5947/examples"
      },
      {
         "follow_symlinks": true,
         "name": "Documentation",
         "path": "/Users/jordi/Documents/Arduino/libraries/TLC5947",
         "folder_exclude_patterns": ["examples"],
         "file_exclude_patterns":
         [
            "*.h",
            "*.cpp",
            "*.zip",
            "*.sublime-project"
         ]
      }
   ],
   "settings":
    {
        "tab_size": 4
    }
}


As you can see, the first and third folders have the same path, yet only the first ("Source") shows up in the side bar. Any help with this bug would be greatly appreciated as I have many projects that are laid out the same way.

Thanks,
Jordi
JordiOrlando
 
Posts: 1
Joined: Thu Apr 10, 2014 1:16 am

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 21 guests