Wizard: add project name and path to the first step
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ import org.jetbrains.kotlin.tools.projectWizard.settings.version.Version
|
||||
import java.nio.file.Paths
|
||||
|
||||
class StructurePlugin(context: Context) : Plugin(context) {
|
||||
val projectPath by valueSetting("Root path", GenerationPhase.PROJECT_GENERATION, pathParser) {
|
||||
val projectPath by pathSetting("Root path", GenerationPhase.PROJECT_GENERATION) {
|
||||
defaultValue = value(Paths.get("."))
|
||||
}
|
||||
val name by stringSetting("Name", GenerationPhase.PROJECT_GENERATION)
|
||||
|
||||
Reference in New Issue
Block a user