@@ -276,7 +276,9 @@ class NoIdeValidator extends DoctorValidator {
276276}
277277
278278abstract class IntelliJValidator extends DoctorValidator {
279- IntelliJValidator (String title) : super (title);
279+ final String installPath;
280+
281+ IntelliJValidator (String title, this .installPath) : super (title);
280282
281283 String get version;
282284 String get pluginsPath;
@@ -301,6 +303,8 @@ abstract class IntelliJValidator extends DoctorValidator {
301303 Future <ValidationResult > validate () async {
302304 final List <ValidationMessage > messages = < ValidationMessage > [];
303305
306+ messages.add (new ValidationMessage ('IntelliJ at $installPath ' ));
307+
304308 _validatePackage (messages, < String > ['flutter-intellij' , 'flutter-intellij.jar' ],
305309 'Flutter' , minVersion: kMinFlutterPluginVersion);
306310 _validatePackage (messages, < String > ['Dart' ], 'Dart' );
@@ -397,13 +401,11 @@ abstract class IntelliJValidator extends DoctorValidator {
397401}
398402
399403class IntelliJValidatorOnLinuxAndWindows extends IntelliJValidator {
400- IntelliJValidatorOnLinuxAndWindows (String title, this .version, this . installPath, this .pluginsPath) : super (title);
404+ IntelliJValidatorOnLinuxAndWindows (String title, this .version, String installPath, this .pluginsPath) : super (title, installPath );
401405
402406 @override
403407 String version;
404408
405- final String installPath;
406-
407409 @override
408410 String pluginsPath;
409411
@@ -451,10 +453,9 @@ class IntelliJValidatorOnLinuxAndWindows extends IntelliJValidator {
451453}
452454
453455class IntelliJValidatorOnMac extends IntelliJValidator {
454- IntelliJValidatorOnMac (String title, this .id, this . installPath) : super (title);
456+ IntelliJValidatorOnMac (String title, this .id, String installPath) : super (title, installPath );
455457
456458 final String id;
457- final String installPath;
458459
459460 static final Map <String , String > _dirNameToId = < String , String > {
460461 'IntelliJ IDEA.app' : 'IntelliJIdea' ,
0 commit comments