[site] formatting

This commit is contained in:
Anna Bulenkova 2015-05-07 15:30:42 +02:00
parent bc650195c1
commit 8fa1edca98

View File

@ -11,7 +11,9 @@ A module can depend on other modules of the project.
To determine a module in the project in question to which the specified virtual file belongs, use the
ProjectFileIndex.getModuleForFile(virtualFile) method:
```Module module = ProjectRootManager.getInstance(project).getFileIndex().getModuleForFile(virtualFile);```
```java
Module module = ProjectRootManager.getInstance(project).getFileIndex().getModuleForFile(virtualFile);
```
## Accessing Module Roots