LIne Termination

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

LIne Termination

Postby Kryptryx » July 31st, 2017, 10:56 am

Using 1.24 with vs 2017 community
Line termination is set to LF, but this appears to have no effect. The file is always saved with CRLF.
I remember that this was working with vs 2015
Kryptryx
 
Posts: 6
Joined: June 20th, 2015, 3:01 pm

Re: LIne Termination

Postby Kryptryx » November 24th, 2017, 1:16 pm

Partially working now with version 1.25.10428.2017, VS 2017 (15.4.4)

If I format the file, then save and close the file, it will have CRLF termination.

If I then reopen the file from Solution Explorer, immediately all lines show that they have been modified. I then save that file, and it has the correct line termination (LF).

It appears to be changing the line termination on file open, not file close. Not useful since I need to reopen all my files after they are closed to get the changes.
Kryptryx
 
Posts: 6
Joined: June 20th, 2015, 3:01 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 1 guest

cron

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 1 guest
Phalanger