{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/48873","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/48873/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/48873/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/48873/events","html_url":"https://github.com/Microsoft/vscode/issues/48873","id":318597749,"number":48873,"title":"Extension Pack - Optionally loading extension dependencies","user":{"login":"akaroml","id":16755094,"avatar_url":"https://avatars2.githubusercontent.com/u/16755094?v=4","gravatar_id":"","url":"https://api.github.com/users/akaroml","html_url":"https://github.com/akaroml","followers_url":"https://api.github.com/users/akaroml/followers","following_url":"https://api.github.com/users/akaroml/following{/other_user}","gists_url":"https://api.github.com/users/akaroml/gists{/gist_id}","starred_url":"https://api.github.com/users/akaroml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaroml/subscriptions","organizations_url":"https://api.github.com/users/akaroml/orgs","repos_url":"https://api.github.com/users/akaroml/repos","events_url":"https://api.github.com/users/akaroml/events{/privacy}","received_events_url":"https://api.github.com/users/akaroml/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-28T03:57:41Z","updated_at":"2018-04-28T03:57:46Z","closed_at":null,"author_association":"MEMBER","body":"An extension pack itself is also an extension which can have some code logic. When a pack is activated as an extension, all the extensions listed in the ```extensionDependencies``` are automatically activated. This behavior may not be ideal because the pack's role is to install several extensions together but not necessarily load them all at the same time when the pack is loaded.\r\n\r\nThe documentation also echos that:\r\nhttps://code.visualstudio.com/docs/extensionAPI/extension-manifest#_extension-packs\r\nThe extensions listed in extensionDependencies will be installed. But there is no clear statement of lifecycle, e.g. extension dependencies being activated whenever the pack extension is activated.\r\n\r\nHere to request that vscode provide a mechanism of optionally activating these dependencies. Here's one scenario to consider:\r\n1. The pack extension tries to show a welcome page of the packed extensions.\r\n2. The pack extension needs to be loaded to show the welcome page, WITHOUT loading the dependency extensions.\r\n3. When some logic on the welcome page is triggerred, e.g. creating a new project, the pack then call a command from a specific extension, and this is when the extension is activated."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/385137993","html_url":"https://github.com/Microsoft/vscode/issues/48873#issuecomment-385137993","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/48873","id":385137993,"user":{"login":"vscodebot[bot]","id":28792856,"avatar_url":"https://avatars2.githubusercontent.com/in/2406?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodebot%5Bbot%5D","html_url":"https://github.com/apps/vscodebot","followers_url":"https://api.github.com/users/vscodebot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodebot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodebot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodebot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodebot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodebot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodebot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-04-28T03:57:46Z","updated_at":"2018-04-28T03:57:46Z","author_association":"NONE","body":"(Experimental duplicate detection)\nThanks for submitting this issue. Please also check if it is already covered by an existing one, like:\n- [Suggestion: Allow extension packs to not be defined by dependencies (#48430)](https://www.github.com/Microsoft/vscode/issues/48430) <!-- score: 0.593 -->\n- [Test: Language Pack cache cleanup (#44426)](https://www.github.com/Microsoft/vscode/issues/44426) <!-- score: 0.478 -->\n- [Language Pack Icon (#48425)](https://www.github.com/Microsoft/vscode/issues/48425) <!-- score: 0.473 -->\n<!-- potential_duplicates_comment -->"}}
{"actor":{"display_login":"vscodebot"}}