AvailLang / Avail

The Avail programming language. Includes the virtual machine, standard library, and standard examples.
BSD 3-Clause "New" or "Revised" License
54 stars 5 forks source link

Default project-local standard library root name to "avail" in new-project dialog #245

Closed richATavail closed 1 year ago

richATavail commented 1 year ago

The updates needed are on line 234 of avail.anvil.manager.CreateProjectPanel. librararyNameField should be updated to:

private val libraryNameField =
    TextFieldWithLabel("Standard Library Root Name: ").apply {
        textField.text = "avail"
    }

This is all that is needed for the default to take.

richATavail commented 1 year ago

Fixed on development branch. Close pending merge onto main branch.