Skip to content

[Bug] Adding entries to gitignore over context menu may inserts the new gitignore entry wrong #1264

@pmandalka

Description

@pmandalka

If I add e.g. a *.zip to the gitignore over the context-menu like this

Image

I get a gitignore-file that only appends the filter directly to the end of the file without a preceding newline

Image

I think the method assumes, that the file always ends with a newline. (The gitignore was generated with Visual Studio)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions