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

Add /.idea/ to bdep-new .gitignore #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add /.idea/ to bdep-new .gitignore #1

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 20, 2018

bdep new will create .gitignore with /.idea/ to ignore JetBrains's (clion) IDE files

.bdep/
/.idea/

# Compiler/linker output.
#
*.d
...

@boris-kolpackov
Copy link
Member

Thanks for the suggestion/patch. I am, however, wondering, if this is the best approach. Specifically, will we keep adding things like this for other IDEs/tools/etc? If so, this will result in the generated .gitignore growing to include "everything under the sun" which I personally don't find appealing (I like to keep only what I need).

Perhaps we need to think about some kind of templating/skeleton system for bdep-new? For example, it could be a directory that contains prefix/suffix files that are added before/after the generated content. As well as, maybe, other files (say, like README) that are copied over?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant