Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

GMEdit

A high-end code editor for all things GameMaker · By YellowAfterlife

Unix Line Ending setting?

A topic by PolyCrunch Games created May 06, 2020 Views: 319 Replies: 3
Viewing posts 1 to 2

Hi, I'm using GMEdit together with GMLive and it's pretty awesome.

There's a minor thing which creates an annoyance when reviewing code to submit to a code repo. GMEdit seems to be changing the line endings to Windows for every file I open. I was using GMS2 editor before and so the line endings were apparently Unix (since I'm on Mac). I tried finding a setting to change that to  be Unix, but couldn't find it. Is there such a setting?

Thanks.

Developer

I guess that answers my note from earlier, ha.

I uploaded a new version that adds an option to Project Properties.

Haha...

Thanks for the new version. I'll check it soon.

There's an improvement but there are still two related problems:

1) It seems the .yy files are still doing Windows line endings, even if you tell it to use Unix line endings

2) The ///@desc are being changed to use Windows line endings too (probably being re-written by the editor?)

I know this because if I open the touched files in sublime, and enforce again to Unix line endings, the differences in sourcetree disappear.