Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for hidden config folders #1734

Open
q-wertz opened this issue Feb 16, 2025 · 0 comments
Open

Support for hidden config folders #1734

q-wertz opened this issue Feb 16, 2025 · 0 comments

Comments

@q-wertz
Copy link

q-wertz commented Feb 16, 2025

Description

In my opinion it would be nice as maintainer of a package/template to also hand over some config folders and files to the users of my package.

In my case for example the configuration for vscode which is stored in a .vscode folder. Then the users could start directly writing in the template and do not have to think about which VSCode extensions they need to install and settings they have to adapt.
In my experience (only using a self-generated local package) the hidden folder in my template folder is not copied when I run typst init <@local>/<PROJECT>.

Some possibilities that come to my mind:

  1. Add an optional parameter to typst init (e.g. --include-hidden or --include-optional) so that the user can decide if she/he really wants those folders
  2. In the typst.toml add a configuration option that defines whether hidden files/folders should be included from in the template folder on initialization
    (Currently I cannot think of a usage scenario where a package maintainer would put something in the template folder that should not be included on typst init)
  3. A combination of 1 and 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant