I’ve recently added a project to GitHub and some of the files are not displaying fully. For example – https://github.com/Fitzpasd/Simple-programming-language-incl.-Scanner—Parser/blob/master/SymTab.cs
If you click ‘Raw’ then the entire file shows up. Is there an issue with my formatting perhaps? I am using Git on windows and have all the recommended settings (file conversion etc).
I don’t know how you managed to do that, but when I download the “raw” version (no git at hand), its newlines follow the old mac convention. That is, it uses only the
CR(\r) character (as opposed toCR LFas on Windows, orLFas on unix-ish systems). As that’s rather obscure option these days (and depending on the programming language and libraries used, nontrivial to support), it may simply be unsupported. This assumption is supported by a GitHub article on newlines not mentioning theCRconvention at all and goes by “Mac ==LF“. Can’t hurt to contact GitHub support though.Other files which are displayed correctly don’t have those (e.g.
Scanner.csuses the unix convention).