Skip to content

[feature/question] genaisrc subfolder and *.genai.* files #1360

@sinedied

Description

@sinedied

Currently, if you create subfolders in your genaisrc folder, when using the VS Code extension each of the subfolders will be populated with helper files (ts/js config, typings and gitignore).

Would it be possible to only create these files in the root genaisrc folder and update the js/ts config to include files in the subfolders? ie:

    "include": [
        "**/*.mjs",
        "**/*.mts",
        "./genaiscript.d.ts"
    ]

That would help to better organize the scripts, without the extra cluttering.

As a bonus question, is the genaisrc folder needed to find the GenAIScript files, since it's also needed to give them a .genai. extension?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions