-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Closed
Labels
extension-hostExtension host issuesExtension host issuesfeature-requestRequest for new features or functionalityRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded
Milestone
Description
I had a report of strange behaviour when installed the Flutter extension - it prompts you to install a Dart SDK (when you probably want to use Flutter, not Dart). It seems like installing the Flutter extension is activating the Dart extension (it does depend on it) even though no activation requirements for either extension are met, and the reason in the log is incorrect ("workspaceContains:**/pubspec.yaml").
Here's what I did:
- Open VS Code - ensure there is no open workspace/folder
- Install the Flutter extension (which will install the Dart extension)
- Note the Dart extension is activated, and the extension host log lists:
[2019-06-11 17:54:40.902] [exthost] [info] eager extensions activated
[2019-06-11 17:54:53.239] [exthost] [info] ExtensionService#_doActivateExtension Dart-Code.dart-code {"startup":false,"activationEvent":"workspaceContains:**/pubspec.yaml"}
[2019-06-11 17:54:53.240] [exthost] [info] ExtensionService#loadCommonJSModule /Users/dantup/.vscode/extensions/dart-code.dart-code-3.1.0/out/src/extension
Here's a screenshot showing I don't have a folder open with a pubspec.yaml in it:
Is this expected? Can I stop it?
Metadata
Metadata
Assignees
Labels
extension-hostExtension host issuesExtension host issuesfeature-requestRequest for new features or functionalityRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded
