"Automatically format on paste" ignores line ending setting

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

"Automatically format on paste" ignores line ending setting

Postby pocketpc_ » June 22nd, 2017, 5:08 pm

I have 'Options > Text Editor > PHP > Advanced > PHP files line endings' set to 'Unix (LF)' for PSR-2 compliance. For some reason, whenever I paste PHP code, all the line endings in the file get set to CRLF. This only happens if 'Options > Text Editor > PHP > Formatting > General > Automatically format on paste' is enabled. If I close and reopen the file, they get set back to LF as they should, but the constant line ending changes are really annoying. I also don't want to have to reformat all my pasted code.
pocketpc_
 
Posts: 1
Joined: June 22nd, 2017, 4:57 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