Skip to content

Do not treat .prompty files as scripts by default #1630

Closed
@waldekmastykarz

Description

@waldekmastykarz

Feature Proposal

Request:
Do not treat .prompty files as scripts by default in genaiscript.

Rationale:

  • Many developers choose to store prompts separately from scripts for easier debugging and maintainability.
  • In VSCode, having .prompty files appear in the list of scripts can create confusion and clutter.
  • If users prefer not to use .prompty files as scripts, they should be able to name them the same as their scripts without genaiscript complaining about duplicate scripts.
  • This would allow for more flexible project structures and improve the developer experience when managing scripts and prompts.

Expected Behavior:

  • .prompty files should not be treated as scripts by default.
  • There should be a way to hide .prompty files from the script list in VSCode.
  • Naming a .prompty file the same as a script file should not result in a duplicate script error if the user is not using .prompty files as scripts.

Additional Context:

  • This feature would support workflows where prompts are managed independently of scripts, improving maintainability and clarity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions