Bug 12596 - XS keeps forgetting my selection for mixed line endings
Summary: XS keeps forgetting my selection for mixed line endings
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-06-07 11:50 UTC by Rodrigo Kumpera
Modified: 2013-06-10 15:34 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_REPRODUCIBLE

Description Rodrigo Kumpera 2013-06-07 11:50:36 UTC
If I open a file multiple times, edit it and save, XS will ask how to convert the line endings every time.

Every single time.

This is incredibly annoying.
Comment 1 Mike Krüger 2013-06-09 23:57:58 UTC
There is no selection for 'mixed' line endings.

You need to choose a line ending & try to keep them consistent. That we're a bit annoying there is on purpose - mixed line endings are something that should be avoided.
Comment 2 Rodrigo Kumpera 2013-06-10 10:01:38 UTC
I did not explain the issue properly.

I'm editing a project on OSX that was originally written on Windows.

I have no desire to switch line ending, but Xamarin Studio keeps bothering me about it
every single time I reopen the file.

It doesn't remember my option from 10 seconds ago. This makes for a horrible experience for
someone that just want to edit a bunch of files and preserve the current line endings.

Been annoying on purpose is not an excuse to offer bad user experience. Studio should, the very least, remember all my picks from the current session.
Comment 3 Mike Krüger 2013-06-10 15:30:43 UTC
It does - we have a pick for line endings called "Native". But that wasn't my decision to do.

It makes sense to have line end checks - but "native" only works in git when checking out with native line endings. If it's a good default or not is questionable but it's not a bug - it was a decision.

Ask mhutch or miguel about it.
Comment 4 Mike Krüger 2013-06-10 15:34:40 UTC
btw. one thing that's bad with that is that we can't switch that easily now without breaking things.