public interface CommandLineProjectOpenProcessor
ProjectOpenProcessor.EXTENSION_POINT_NAME extension point.| Modifier and Type | Method and Description |
|---|---|
static CommandLineProjectOpenProcessor |
getInstance() |
static CommandLineProjectOpenProcessor |
getInstanceIfExists() |
Project |
openProjectAndFile(VirtualFile file,
int line,
int column,
boolean tempProject)
Opens a non-project file in a new project window.
|
Project openProjectAndFile(VirtualFile file, int line, int column, boolean tempProject)
file - the file to openline - the line to navigate to, -1 if undefinedcolumn - the column to navigate to, -1 if undefinedtempProject - if true, always opens the file in a new temporary project. If false, searches the parent directories of the file
for a .idea subdirectory, and if found, opens that directory.static CommandLineProjectOpenProcessor getInstance()
static CommandLineProjectOpenProcessor getInstanceIfExists()