swift-auto-diagram
swift-auto-diagram copied to clipboard
.orig files cause trouble
If you have *.swift.orig files in a directory, I get issue #13 even parsing 4 files only.
Thanks for the report.
I investigated what happens when files with an extension .swfit.orig
are present in a directory. Turns out they are ignored when parsing.
I believe the issue will be the same if you remove those files from the directory. If that's what happens, you can close this issue.
No. A folder with 5 .swift files and 1 ore more .swift.orig files shows the behaviour described in issue #13 (loading indicator forever). Removing the .orig files cures the issue.
Unfortunately, I can't reproduce your issue. This is what I'm trying:
the files in a directory:
the files' contents:
the result diagram:
It appears that the file with a .swift.orig
is getting ignored as I previously stated. Let me know how I can reproduce your issue.
Also, I'm a little confused with your previous comment where you say:
To check if non-swift files or weird directory names cause the issue I have copied all .swift files of a mid size project to one directory (346 files). The problem persisted.
Judging by this statements, removing the non .swift
files didn't fix that problem for you but in this comment a similar thing fixed that problem.
Can you please let us know in which cases the .swift.orig
files cause problems?