Commit 546cef52 authored by Dan Rubel's avatar Dan Rubel Committed by GitHub

trace IntelliJ config and install locations on Linux (#6805)

parent e9086552
......@@ -323,6 +323,7 @@ class IntelliJValidatorOnLinux extends IntelliJValidator {
String name = path.basename(dir.path);
IntelliJValidator._idToTitle.forEach((String id, String title) {
if (name.startsWith('.$id')) {
printTrace('Found IntelliJ config: ${dir.path}');
String version = name.substring(id.length + 1);
String installPath;
try {
......@@ -331,6 +332,7 @@ class IntelliJValidatorOnLinux extends IntelliJValidator {
// ignored
}
if (installPath != null && FileSystemEntity.isDirectorySync(installPath)) {
printTrace('Found IntelliJ installation: $installPath');
String pluginsPath = path.join(dir.path, 'config', 'plugins');
validators.add(new IntelliJValidatorOnLinux(title, version, pluginsPath));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment