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 55 guests

cron

User Control Panel

Login

Who is online

In total there are 55 users online :: 0 registered, 0 hidden and 55 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 55 guests