You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
activationEvents.workspaceContains for directories #8295
I'm currently creating an extension for Meteor. I only want to activate it if the workspace contains a Meteor project. For that I would like to check for the presence of a .meteor directory.
This will be very helpful. Been stuck playing with activationEvents with no luck whatsoever. All the commands are activated even when the activationEvents dont match. E.g. I've put only "workspaceContains:.git/config" in there and the commands still got activated. Not sure how this works. If none of the criteria matches, then the commands shouldn't be activated, right?
Activity
alexdima commentedon Jun 29, 2016
In
private handleWorkspaceContainsEagerExtensions(): TPromise<void> {around:
https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/node/extensionHostMain.ts#L249 should accept folders not only files
iambibhas commentedon Jul 9, 2016
This will be very helpful. Been stuck playing with
activationEventswith no luck whatsoever. All the commands are activated even when theactivationEventsdont match. E.g. I've put only"workspaceContains:.git/config"in there and the commands still got activated. Not sure how this works. If none of the criteria matches, then the commands shouldn't be activated, right?Merge pull request #9394 from ChristianAlexander/workspace-contains-d…
Allow workspaceContains to specify directories (fixes microsoft#8295).
Merge pull request microsoft#9394 from ChristianAlexander/workspace-c…