Skip to content

Commit 2e254e2

Browse files
committed
todos
1 parent d2fced9 commit 2e254e2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/com/goide/psi/GoFile.java

+1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ public Result<MultiMap<String, GoImportSpec>> compute() {
230230
}
231231
GoImportString string = spec.getImportString();
232232
PsiDirectory dir = string.resolve();
233+
// todo[zolotov]: implement package modification tracker
233234
ContainerUtil.addIfNotNull(dependencies, dir);
234235
Collection<String> packagesInDirectory = GoPackageUtil.getAllPackagesInDirectory(dir, module, true);
235236
if (!packagesInDirectory.isEmpty()) {

src/com/goide/sdk/GoPackageUtil.java

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ public static Collection<String> getAllPackagesInDirectory(@Nullable final PsiDi
120120
public Result<Collection<String>> compute() {
121121
Module module = ModuleUtilCore.findModuleForPsiElement(dir);
122122
GoBuildTargetSettings buildTargetSettings = module != null ? GoModuleSettings.getInstance(module).getBuildTargetSettings() : null;
123+
// todo[zolotov]: implement package modification tracker
123124
return buildTargetSettings != null
124125
? Result.create(getAllPackagesInDirectoryInner(dir, module, trimTestSuffices), dir, buildTargetSettings)
125126
: Result.create(getAllPackagesInDirectoryInner(dir, null, trimTestSuffices), dir);

0 commit comments

Comments
 (0)