Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
LF vs CRLF and tabs vs spaces
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Lee Henson  
View profile  
 More options Mar 3 2010, 6:24 am
From: Lee Henson <lee.m.hen...@gmail.com>
Date: Wed, 3 Mar 2010 03:24:34 -0800 (PST)
Local: Wed, Mar 3 2010 6:24 am
Subject: LF vs CRLF and tabs vs spaces
Having just done some work in horn_src, a couple of pain points I've
noticed are:

- my VS wants CRLF line endings, but the files are LF   (I'm
core.autocrlf=false as well)

Adding a new file to the project causes VS to rewrite the csproj,
changing *most* of the line endings to CRLF. Is there a reason for LF,
not CRLF? If there is, can we put something in the csproj to force VS
to use LF line endings?

- my VS is set to use tabs rather than spaces, so any editing I do
inevitable ends up munging the indentation.

Again, do you know if it is possible to define in the csproj how
indentation should occur?

My google-fu is weak on both of these issues.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Cowan  
View profile  
 More options Mar 3 2010, 6:52 am
From: Paul Cowan <dag...@scotalt.net>
Date: Wed, 3 Mar 2010 11:52:04 +0000
Local: Wed, Mar 3 2010 6:52 am
Subject: Re: [horn-development] LF vs CRLF and tabs vs spaces

I have never encountered this issue.

I am keen to change things to what is best for everyone.

I am just not sure what that is :-).

Is anyone else having issues?

Cheers

Paul Cowan

Cutting-Edge Solutions (Scotland)

http://thesoftwaresimpleton.blogspot.com/

On 3 March 2010 11:24, Lee Henson <lee.m.hen...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Lawton  
View profile  
 More options Mar 3 2010, 6:54 am
From: David Lawton <da...@davetheninja.net>
Date: Wed, 3 Mar 2010 19:54:35 +0800
Local: Wed, Mar 3 2010 6:54 am
Subject: Re: [horn-development] LF vs CRLF and tabs vs spaces

This is more than likely a GIT thing

When you install MySysGit, you get the option of windows or linux line
endings...

If you choose linux, it will commit and replace windows line endings with
linux ones, and vice versa.

Make sure you select Windows line endings when working on .net projects with
git.... otherwise you will encounter these crappy VS error messages.

Ninja

On 3 March 2010 19:52, Paul Cowan <dag...@scotalt.net> wrote:

--
"I am not able to rightly apprehend the kind of confusion of ideas that
could provoke such a question." -- Charles Babbage

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »