Skip to main content



      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 06:49 Go to next message
Eclipse UserFriend
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 03:39] by Moderator

Re: ECLIPSE + JUNO + PDT + EXCESSIVE FORMATTING OF WHOLE FILE PROBLEM [message #1015512 is a reply to message #1015083] Thu, 28 February 2013 19:53 Go to previous messageGo to next message
Eclipse UserFriend
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 05:28 Go to previous message
Eclipse UserFriend
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: Mon Jul 07 20:44:21 EDT 2025

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

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

Back to the top