diff --git a/packages/flutter_tools/lib/src/doctor.dart b/packages/flutter_tools/lib/src/doctor.dart index e9d47cb900..191c390b4b 100644 --- a/packages/flutter_tools/lib/src/doctor.dart +++ b/packages/flutter_tools/lib/src/doctor.dart @@ -251,11 +251,9 @@ abstract class IntelliJValidator extends DoctorValidator { static final Map _idToTitle = { 'IntelliJIdea' : 'IntelliJ IDEA Ultimate Edition', 'IdeaIC' : 'IntelliJ IDEA Community Edition', - 'WebStorm': 'WebStorm', }; static final Version kMinIdeaVersion = new Version(2017, 1, 0); - static final Version kMinWebStormVersion = new Version(2017, 1, 0); static final Version kMinFlutterPluginVersion = new Version(14, 0, 0); static Iterable get installedValidators { @@ -272,11 +270,7 @@ abstract class IntelliJValidator extends DoctorValidator { _validatePackage(messages, 'flutter-intellij.jar', 'Flutter', minVersion: kMinFlutterPluginVersion); - - // Dart is bundled with WebStorm. - if (!isWebStorm) { - _validatePackage(messages, 'Dart', 'Dart'); - } + _validatePackage(messages, 'Dart', 'Dart'); if (_hasIssues(messages)) { messages.add(new ValidationMessage( @@ -285,7 +279,7 @@ abstract class IntelliJValidator extends DoctorValidator { )); } - _validateIntelliJVersion(messages, isWebStorm ? kMinWebStormVersion : kMinIdeaVersion); + _validateIntelliJVersion(messages, kMinIdeaVersion); return new ValidationResult( _hasIssues(messages) ? ValidationType.partial : ValidationType.installed, @@ -298,8 +292,6 @@ abstract class IntelliJValidator extends DoctorValidator { return messages.any((ValidationMessage message) => message.isError); } - bool get isWebStorm => title == 'WebStorm'; - void _validateIntelliJVersion(List messages, Version minVersion) { // Ignore unknown versions. if (minVersion == Version.unknown) @@ -429,7 +421,6 @@ class IntelliJValidatorOnMac extends IntelliJValidator { 'IntelliJ IDEA.app' : 'IntelliJIdea', 'IntelliJ IDEA Ultimate.app' : 'IntelliJIdea', 'IntelliJ IDEA CE.app' : 'IdeaIC', - 'WebStorm.app': 'WebStorm', }; static Iterable get installed {