{"action":"created","issue":{"url":"https://api.github.com/repos/sublimehq/Packages/issues/32","labels_url":"https://api.github.com/repos/sublimehq/Packages/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/sublimehq/Packages/issues/32/comments","events_url":"https://api.github.com/repos/sublimehq/Packages/issues/32/events","html_url":"https://github.com/sublimehq/Packages/issues/32","id":91784975,"number":32,"title":"Standard Package Structure","user":{"login":"pradyunsg","id":3275593,"avatar_url":"https://avatars.githubusercontent.com/u/3275593?v=3","gravatar_id":"","url":"https://api.github.com/users/pradyunsg","html_url":"https://github.com/pradyunsg","followers_url":"https://api.github.com/users/pradyunsg/followers","following_url":"https://api.github.com/users/pradyunsg/following{/other_user}","gists_url":"https://api.github.com/users/pradyunsg/gists{/gist_id}","starred_url":"https://api.github.com/users/pradyunsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradyunsg/subscriptions","organizations_url":"https://api.github.com/users/pradyunsg/orgs","repos_url":"https://api.github.com/users/pradyunsg/repos","events_url":"https://api.github.com/users/pradyunsg/events{/privacy}","received_events_url":"https://api.github.com/users/pradyunsg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-29T12:00:35Z","updated_at":"2015-07-10T15:14:53Z","closed_at":null,"body":"> This is really a broader version of #8, extending it to the whole package. The discussion there was headed this way and this is really a topic that deserves a separate issue of it's own. So, here it is.\r\n\r\nThe idea is that Packages in Sublime Text should be arranged in a standard way which may be optionally/partially enforced, like in other text-editors like TextMate 2 or Atom.\r\n\r\nSince having too many files in the root directory of the Package creates a lot of noise, the various types of files should be moved into sub-directories in the package. While reducing noise in the root directory, it also makes the Package arrangement feel more organized.\r\n\r\nThings worth more discussion (IMO):\r\n - Is there a need for a \"/tests\" directory?  \r\n   Can tests for the Python code be placed in \"/lib/tests\" and syntax tests be placed in \"/syntaxes/tests\" instead.\r\n - How many .py files should be there in the root package directory?  \r\n   I think it should be only one, with the same name as Package ({name}/{name}.py) and it should include everything that it wishes Sublime Text (and other plugins?) to know about.\r\n - Naming scheme for the sub-folders.  \r\n   Should they be CamelCase or snake_case or hypenated-names?\r\n\r\n/cc @jappen @FichteFoll @aziz @jbrooksuk @gerardroche @sublimehq\r\n\r\n---\r\n\r\n### Current Draft\r\n(Based on @jrappen's [original suggestion](https://github.com/sublimehq/Packages/issues/8#issuecomment-113288614))\r\n```\r\n/Package\r\n    /build\r\n        /linux\r\n            *\r\n        /osx\r\n            *\r\n        /windows\r\n            *.exe\r\n        *.sublime-build\r\n    /color-schemes\r\n        *.tmTheme\r\n        *.hidden-tmTheme\r\n    /commands\r\n        *.sublime-commands\r\n    /keymaps\r\n        *.sublime-keymap\r\n    /lib\r\n        *.py\r\n    /macros\r\n        *.sublime-macro\r\n    /menus\r\n        *.sublime-menu\r\n    /messages\r\n        install.txt\r\n        *.txt\r\n    /metadata\r\n        *.tmPreferences\r\n    /mousemaps\r\n        *.sublime-mousemap\r\n    /settings\r\n        *.sublime-settings\r\n    /snippets\r\n        *.sublime-completions\r\n        *.sublime-snippet\r\n    /syntaxes\r\n        *.tmLanguage\r\n        *.hidden-tmLanguage\r\n        *.sublime-syntax\r\n    /tests\r\n        *.*\r\n    /themes\r\n        *.sublime-theme\r\n    .git*\r\n    .no-sublime-package\r\n    *.md\r\n    *.py\r\n```"},"comment":{"url":"https://api.github.com/repos/sublimehq/Packages/issues/comments/120433154","html_url":"https://github.com/sublimehq/Packages/issues/32#issuecomment-120433154","issue_url":"https://api.github.com/repos/sublimehq/Packages/issues/32","id":120433154,"user":{"login":"warmwaffles","id":303133,"avatar_url":"https://avatars.githubusercontent.com/u/303133?v=3","gravatar_id":"","url":"https://api.github.com/users/warmwaffles","html_url":"https://github.com/warmwaffles","followers_url":"https://api.github.com/users/warmwaffles/followers","following_url":"https://api.github.com/users/warmwaffles/following{/other_user}","gists_url":"https://api.github.com/users/warmwaffles/gists{/gist_id}","starred_url":"https://api.github.com/users/warmwaffles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warmwaffles/subscriptions","organizations_url":"https://api.github.com/users/warmwaffles/orgs","repos_url":"https://api.github.com/users/warmwaffles/repos","events_url":"https://api.github.com/users/warmwaffles/events{/privacy}","received_events_url":"https://api.github.com/users/warmwaffles/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T15:14:53Z","updated_at":"2015-07-10T15:14:53Z","body":"I actually like the idea of this structure"}}