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 10
10
import com .intellij .extapi .psi .PsiFileBase ;
11
11
import com .intellij .lang .jsgraphql .schema .JSGraphQLSchemaFileType ;
12
12
import com .intellij .lang .jsgraphql .schema .JSGraphQLSchemaLanguage ;
13
- import com .intellij .lang .jsgraphql .schema .ide .project .JSGraphQLSchemaLanguageProjectService ;
14
13
import com .intellij .openapi .fileTypes .FileType ;
15
14
import com .intellij .psi .FileViewProvider ;
16
15
import com .intellij .psi .search .ProjectScope ;
@@ -41,14 +40,4 @@ public FileType getFileType() {
41
40
public String toString () {
42
41
return "GraphQL Schema File" ;
43
42
}
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
- }
54
43
}
You can’t perform that action at this time.
0 commit comments