File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
src/main/com/intellij/lang/jsgraphql/schema/psi Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 1010import com .intellij .extapi .psi .PsiFileBase ;
1111import com .intellij .lang .jsgraphql .schema .JSGraphQLSchemaFileType ;
1212import com .intellij .lang .jsgraphql .schema .JSGraphQLSchemaLanguage ;
13- import com .intellij .lang .jsgraphql .schema .ide .project .JSGraphQLSchemaLanguageProjectService ;
1413import com .intellij .openapi .fileTypes .FileType ;
1514import com .intellij .psi .FileViewProvider ;
1615import 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}
You can’t perform that action at this time.
0 commit comments