We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
name.tact
1 parent dd3f687 commit 22f73e5Copy full SHA for 22f73e5
server/src/psi/File.ts
@@ -71,7 +71,10 @@ export class File {
71
.map(node => node.childForFieldName("library"))
72
.filter(node => node !== null)
73
74
- return imports.some(imp => imp.text.slice(1, -1) === filepath)
+ return imports.some(imp => {
75
+ const importPath = imp.text.slice(1, -1)
76
+ return importPath === filepath || importPath === `${filepath}.tact`
77
+ })
78
}
79
80
public imports(): SyntaxNode[] {
0 commit comments