Skip to content

Commit 3458537

Browse files
committed
Removes isPhysical fix in preparation for .graphqls editing support (#22)
1 parent c8f4058 commit 3458537

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/main/com/intellij/lang/jsgraphql/schema/psi/JSGraphQLSchemaFile.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import com.intellij.extapi.psi.PsiFileBase;
1111
import com.intellij.lang.jsgraphql.schema.JSGraphQLSchemaFileType;
1212
import com.intellij.lang.jsgraphql.schema.JSGraphQLSchemaLanguage;
13-
import com.intellij.lang.jsgraphql.schema.ide.project.JSGraphQLSchemaLanguageProjectService;
1413
import com.intellij.openapi.fileTypes.FileType;
1514
import com.intellij.psi.FileViewProvider;
1615
import com.intellij.psi.search.ProjectScope;
@@ -41,14 +40,4 @@ public FileType getFileType() {
4140
public String toString() {
4241
return "GraphQL Schema File";
4342
}
44-
45-
@Override
46-
public boolean isPhysical() {
47-
if(Boolean.TRUE.equals(getVirtualFile().getUserData(JSGraphQLSchemaLanguageProjectService.IS_GRAPHQL_SCHEMA_VIRTUAL_FILE))) {
48-
// indicate that the psi file that backs the "GraphQL Schemas" project tree node is considered non-physical.
49-
// this hides it from PSI file intentions etc.
50-
return false;
51-
}
52-
return super.isPhysical();
53-
}
5443
}

0 commit comments

Comments
 (0)