Page 2 of 3

Re: Formating Problem after Copy / Paste

PostPosted: May 14th, 2018, 3:36 pm
by SoundBlstr
The May 14 patch does appear to fix the issue for me in my initial testing. I'll let you know if I notice any issues.

Re: Formating Problem after Copy / Paste

PostPosted: May 15th, 2018, 5:07 am
by sawebdev
This has fixed it in the main php coding area, but when you compare two php files, the one that you are editing, this paste bug is still happening... :(

Re: Formating Problem after Copy / Paste

PostPosted: May 17th, 2018, 11:37 am
by Miloslav Beno
I see, Thanks for discovering it. We'll need to examine this more as the compare window doesn't allow us to do much. We'll get back.

Thank you!

Re: Formating Problem after Copy / Paste

PostPosted: May 18th, 2018, 12:34 pm
by ori-on
I still experience the copy/paste formatting issue.

VS 2017 15.7.1
PHP Tools: 1.27.10773

This happens on 2 different machines for me, and very likely started with the upgrade to 15.7.x

Re: Formating Problem after Copy / Paste

PostPosted: May 18th, 2018, 7:12 pm
by Miloslav Beno
Hello,

We've workaround the copy/paste issue in 1.28 https://www.devsense.com/download.

Please check that one, but compare window is still affected.

Thanks!

Re: Formating Problem after Copy / Paste

PostPosted: May 23rd, 2018, 10:03 am
by ori-on
I can confirm that the problem is solved with VS2017 5.7.2 and PHP Tools 1.28.10839

Thanks!

Re: Formating Problem after Copy / Paste

PostPosted: June 25th, 2018, 7:41 am
by FrankB
Hi all,
i'm not sure if i have the same problem, but my paste function is not working at all since i installed the phptools. I am running a demo version with VS2015 right now.
When i open a regular Csharp project everything is OK.
But when a PHP project is opened, it does copy but no paste at all.
if i open a Csharp project in parallel it even doesn't work there.

IS this a related issue?
I installed the version phptools.1.28.10848.msi

Thanks for help.

Frank

Re: Formating Problem after Copy / Paste

PostPosted: June 25th, 2018, 2:29 pm
by antiriad
Just wanted to let you know that the issue still occurs if you select a row of text and drag it to another position in the document.

Re: Formating Problem after Copy / Paste

PostPosted: June 25th, 2018, 2:36 pm
by Jakub Misek
Suggesting to disable Visual Studio HTML Editor in PHP files:

in menu: Tools / Options / PHP Tools / Advanced
option: Enable HTML Editor in PHP files = False

The limitation is that there won't be IntelliSense for HTML tags in PHP files. The overall functionality is however better for PHP code.

Re: Formating Problem after Copy / Paste

PostPosted: June 26th, 2018, 1:54 pm
by FrankB
Jakub Misek wrote:Suggesting to disable Visual Studio HTML Editor in PHP files:

in menu: Tools / Options / PHP Tools / Advanced
option: Enable HTML Editor in PHP files = False

The limitation is that there won't be IntelliSense for HTML tags in PHP files. The overall functionality is however better for PHP code.

Does this refer to my question? or is it about the general topic?
I disabled the HTML editor but still can not do paste at all in VS2015.
Any ideas?
Thanks a lot for help!

Frank