Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Unnecessary (extra) new line indent when pasting.
Unnecessary (extra) new line indent when pasting. [message #1777278] Tue, 28 November 2017 04:12
Stanislav Velin is currently offline Stanislav VelinFriend
Messages: 1
Registered: November 2017
Junior Member
Hello.
I use eclipse Version: Neon.2 (4.6.2) for PHP developing.

When I have some code in my clipboard, for example:
if (a==b)
function1();
else
function2();
and i paste it to any place in my code, it pasting next way:
if (a==b)
function1();
else
function2();
editor inserts extra indent after block, if it is not enclosed in braces.

How I can fix this trouble: let editor true interpret single line blocks or disable code formatting on pasting at all.
Thank you.Hello.
I use eclipse Version: Neon.2 (4.6.2) for PHP developing.

When I have some code in my clipboard, for example:
if (a==b)
Previous Topic:php line comment formatting
Next Topic: what do the icons indicate?
Goto Forum:
  


Current Time: Sat Jul 21 23:05:53 GMT 2018

Powered by FUDForum. Page generated in 0.01947 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top