Formatting problem on code drag & drop
6 posts
• Page 1 of 1
Formatting problem on code drag & drop
One of my developers just came across this (I didn't even know you could drag and drop code, but there ya go). It is pretty much exactly the same problem as the formatting problem when pasting code.
Tried this on 10846. Copy/paste is fine but drag/drop is not. Only occurs in the PHP editor (obviously).
To replicate, highlight some code in the PHP editor, then drag the code to another line in the same file. When you release the mouse button, all formatting in the file is removed.
Thanks guys.
Tried this on 10846. Copy/paste is fine but drag/drop is not. Only occurs in the PHP editor (obviously).
To replicate, highlight some code in the PHP editor, then drag the code to another line in the same file. When you release the mouse button, all formatting in the file is removed.
Thanks guys.
-
jazz - Posts: 41
- Joined: August 25th, 2016, 1:59 am
- Location: Canberra, Australia
Re: Formatting problem on code drag & drop
mindmagic wrote:http://support.devsense.com/viewtopic.php?f=21&t=2150
Thank you for NOT reading my post. Copy/Paste works. Drag and drop DOES NOT.
-
jazz - Posts: 41
- Joined: August 25th, 2016, 1:59 am
- Location: Canberra, Australia
Re: Formatting problem on code drag & drop
Hi Jazz,
Thanks for finding this. We've been able to replicate(quite easily). It's similar issue as was copy/paste which was introduced in one of the latest VS 2017 update. Let's us design workaround and get back to you.
Thanks again!
Thanks for finding this. We've been able to replicate(quite easily). It's similar issue as was copy/paste which was introduced in one of the latest VS 2017 update. Let's us design workaround and get back to you.
Thanks again!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Formatting problem on code drag & drop
Hi jazz,
We've examined this and currently the only workaround for us would be just turn off Format On Paste option for HTML files and everything based on it. Actually you can do it by yourself in options, but we are hesitant to do it for everyone by default.
Much better solution is part of our HTML integration reimplementation which we are planing to do anyway.
Thanks for understanding
We've examined this and currently the only workaround for us would be just turn off Format On Paste option for HTML files and everything based on it. Actually you can do it by yourself in options, but we are hesitant to do it for everyone by default.
Much better solution is part of our HTML integration reimplementation which we are planing to do anyway.
Thanks for understanding
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Formatting problem on code drag & drop
No problem, Miloslav. My guys are working around it OK for now. It's just "one of those things" that trips them up occasionally. I guess just add it to the list of reasons to redo the HTML integration.
Embedded PHP in Javascript blocks is another bit reason for me, just saying.
Thanks.
Embedded PHP in Javascript blocks is another bit reason for me, just saying.
Thanks.
-
jazz - Posts: 41
- Joined: August 25th, 2016, 1:59 am
- Location: Canberra, Australia
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 50 guests