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

.gitignore extended for vscode #731

Closed
gimi87 opened this issue Mar 26, 2018 · 8 comments
Closed

.gitignore extended for vscode #731

gimi87 opened this issue Mar 26, 2018 · 8 comments
Milestone

Comments

@gimi87
Copy link

gimi87 commented Mar 26, 2018

Hello :) Can you extended the .gitignore file as described below? I am using Visual Studio Code and it always wants to change this file.

.clang_complete
.DS_Store
.gcc-flags.json
.pioenvs
.piolibdeps
.python-version
.travis.yml
.vscode
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/extensions.json
.vscode/launch.json
.vscode/settings.json
custom.h
core_version.h

@lobradov
Copy link
Contributor

can you create a PR?

@gn0st1c
Copy link
Contributor

gn0st1c commented Mar 28, 2018

how about just;

# ignore all files & folders beginning with a dot
.*

# but don't ignore .gitignore
!/.gitignore

@xoseperez
Copy link
Owner

@gn0st1c I think it's easier to track the ignores than the exceptions (you just missed .travis.yml).

@gimi87 I would add the entire .vscode folder.

.clang_complete
core_version.h
custom.h
.DS_Store
.gcc-flags.json
.pioenvs
.piolibdeps
.python-version
.travis.yml
.vscode

@gimi87
Copy link
Author

gimi87 commented Mar 31, 2018

It still adds those lines:

.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json

@xoseperez
Copy link
Owner

How's that? Those files are under the .vscode folder...

@gn0st1c
Copy link
Contributor

gn0st1c commented Mar 31, 2018

@xoseperez : that was my thoughts exactly :)
but, i can relate to @gimi87

for some reason, visual studio (for mac) appends those file names to .gitignore, even if the .gitignore already includes those file names.

@xoseperez
Copy link
Owner

OK, I guess we should kneel to MS wishes 😄

@xoseperez xoseperez added this to the 1.12.5 milestone Mar 31, 2018
@xoseperez
Copy link
Owner

Staged for release

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

4 participants