Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gitignore): include common editor directories (#774)
* feat(gitignore): include common editor directories add common editor files and directories to .gitignore closes #772 * feat(gitignore): remove .vscode directory remove .vscode directory from .gitignore
- Loading branch information
19ea95c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing
.vscode
also should the directories be suffixed by
/
?19ea95c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, directories should have a trailing slash, without these slashes regular files with these names would also match and be ignored.
.vscode
folder shouldn't be ignored, see the answer of an VS Code team member on Stack Overflow.Recommended extensions for the current project can also be defined here.
19ea95c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sbusch so the others IDE too,
eg: IDEA store
Workspace specific files are in
.idea/workspace.xmlalso there are
codeStyleSettings.xmland
jsLibraryMappings.xml`here for clarify i generate an .gitignore template for Jetbrains by idea
.gitignore
plugin19ea95c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think ignoring editor's files, is not template responsibility. Developer's should put their own ignores files rules – specific for editor in
$HOME/.config/git/ignore
.Reference: https://git-scm.com/docs/git-config#git-config-coreexcludesFile