facebook

preserve manually entered line breaks in PHP code

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #683921 Reply

    knowledgeplaces
    Participant

    I use the MyEclipse PHP extension to develop PHP code in MyEclipse.
    I have configured the editor but I can’t find the setting to preserve manually entered line breaks.
    Please help.

    #683934 Reply

    support-swapna
    Moderator

    Hi,

    The PHP Development Tools plugin is for Eclipse which also works in MyEclipse as MyEclipse is based on Eclipse.
    It looks like there is no preferences available specific to line breaks. You can cross post to Eclipse PDT forums for better suggestions from the dev community : https://www.eclipse.org/forums/index.php/f/85/

    Hope this helps. Do let us know if you have any further questions.

    –Swapna
    Genuitec Support

    #683938 Reply

    knowledgeplaces
    Participant

    See attached picture for Java editor, do you think this is not somewhere for PHP?

    Attachments:
    You must be logged in to view attached files.
    #683940 Reply

    support-swapna
    Moderator

    Hi,

    Thank you for the screenshot.
    The available settings for PHP formatter are here : Preferences > PHP > Code Style > Formatter. Click on ‘Show’ and switch to Line Wrapping tab. You can check if ‘Wrap only if necessary’ or ‘Do not wrap’ for particular section of code works for you. Attached is the screenshot for your reference.

    –Swapna
    Genuitec Support

    Attachments:
    You must be logged in to view attached files.
    #683976 Reply

    knowledgeplaces
    Participant

    Yes, I already went there, but unfortunately, there is no option to keep manually entered line wraps, as there is for the Java editor.
    Unless I miss something, and then tell me what.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: preserve manually entered line breaks in PHP code

You must be logged in to post in the forum log in