Skip to content

Infer project name and root from current folder name #3235

Description

@Arctomachine

Description

Creating new project requires project name and it creates folder with this name inside current folder.

Use case: opening new folder as project folder in editor. Then editor considers this folder as root, but installer suggest to create new folder inside to treat it as root

Suggested solution

Allow to use current folder as project name and source.
Definitely by providing . as name
Possibly by leaving it empty (instead of randomly generated name)

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Fields

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions