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

Customize template for the generated project #191

Open
alexlnkp opened this issue Apr 9, 2024 · 0 comments
Open

Customize template for the generated project #191

alexlnkp opened this issue Apr 9, 2024 · 0 comments

Comments

@alexlnkp
Copy link

alexlnkp commented Apr 9, 2024

Is your feature request related to a problem? Please describe.
I don't want to use the basic Makefile that comes with the generated project! Of course it's fine on its own, but i like to customize stuff to my liking. Why is there no way (or, no obvious way) to customize the template from which the project will be generated?

Describe the solution you'd like
The best solution i see for both end-users and the devs is having a folder, e.g. in .config that simply has the template the users would be able to modify, after that, the extension can just cp the template into chosen folder for project and voila!
More on the solution lower.

Describe alternatives you've considered
I could just make a tiny script that literally does what i described above, the issue is that i don't know TS or JS or anything that can be integrated within VSCodium, and running the shell script is much less satisfying and easy

Additional context
I don't think any additional context is necessary, but ask me for more details if i somehow missed something! :)

A quick bash script i made to replicate exactly the behaviour i mean:

#!/bin/bash

if [[ "$1" != "" ]]; then
    newname=$1
else
    newname="new_cpp_project"
fi

cp -r ~/cpp_project_template $PWD/$newname
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