public final class ConfigImportHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
importConfigsTo(boolean veryFirstStartOnThisComputer,
java.nio.file.Path newConfigDir,
Logger log) |
static boolean |
isConfigImported()
Returns
true when the IDE is launched for the first time, and configs were imported from another installation. |
static boolean |
isFirstSession()
Returns
true when the IDE is launched for the first time (i.e. |
static boolean |
isSettingsFile(VirtualFile file)
Simple check by file type, content is not checked.
|
public static void importConfigsTo(boolean veryFirstStartOnThisComputer, java.nio.file.Path newConfigDir, Logger log)
public static boolean isFirstSession()
true
when the IDE is launched for the first time (i.e. there was no config directory).public static boolean isSettingsFile(VirtualFile file)
public static boolean isConfigImported()
true
when the IDE is launched for the first time, and configs were imported from another installation.