Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » ECLIPSE + JUNO + PDT + EXCESSIVE FORMATTING OF WHOLE FILE PROBLEM(BREAKS FORMATING OF WHOLE FILE WHILE TRYING TO FORMAT ONLY ACTIVE ELEMENTS)
ECLIPSE + JUNO + PDT + EXCESSIVE FORMATTING OF WHOLE FILE PROBLEM [message #1015083] Wed, 27 February 2013 11:49 Go to next message
Alexander S. is currently offline Alexander S.Friend
Messages: 2
Registered: February 2013
Junior Member
Hello.

I've noticed issue with formatter / auto-formatting in JUNO Eclipse only (windows version).

Trying to format only selected part of code with "Ctrl + I", Eclipse anyway cleans/formats whole php file: formatting brackets, removing extra spaces, etc.

In result, svn suggests to commit a lot of changes.

This is critical for me - I cannot format code committed by other programmers when I need to change / format only small part of code.

Is there workaround of this?
In previous version of eclipse there was no such problem and I could leave the rest of code without any changes.

Thanks in advance.

[Updated on: Thu, 28 February 2013 08:39]

Report message to a moderator

Re: ECLIPSE + JUNO + PDT + EXCESSIVE FORMATTING OF WHOLE FILE PROBLEM [message #1015512 is a reply to message #1015083] Fri, 01 March 2013 00:53 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 359
Registered: July 2009
Location: Japan
Senior Member
Unreproducible. Ctrl+I works somehow with Juno 4.2.1 + PDT 3.1.1.
>Eclipse anyway cleans/formats whole php file: formatting brackets, removing extra spaces, etc.
Since it looks like 'Format(Ctrl+Shift+F)' rather than 'Format Active Elements(Ctrl+I)', try making sure of key binding.(Preferences>General>Keys)
Re: ECLIPSE + JUNO + PDT + EXCESSIVE FORMATTING OF WHOLE FILE PROBLEM [message #1015597 is a reply to message #1015512] Fri, 01 March 2013 10:28 Go to previous message
Alexander S. is currently offline Alexander S.Friend
Messages: 2
Registered: February 2013
Junior Member
Yes, the problem is because of Symfony2 plugin I installed afterwards via marketplace: pulse00.github.com/p2/ this one.

It breaks formatting and has other issues. So, I have to deinstall that symfony2 plugin.

Thanks for reply.
Previous Topic:integrated webserver to "run" as webpage directly? (php, xhtml, css)
Next Topic:Eclipse startup error
Goto Forum:
  


Current Time: Thu Dec 18 04:08:50 GMT 2014

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

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