Menu

String should not be formatted

2007-10-01
2013-04-30
  • Nobody/Anonymous

    Hi,
    I need a little help.
    I use easyeclipse for php.
    Everytime when i need a new line in an existing string ("for example") the programm closes the string, prints a dot and opens the string in the new line:
       "for example"
    -->
       "for " .
       "example"
    How can i avoid this?

    Thanks,
    Xong

     
    • Nobody/Anonymous

      Goto menu: Windows -> Preferences -> PHP Eclipse Webdevelopment -> PHP -> Typing

      Now change the 'Wrap double quoted PHP strings' setting.

       
      • Nobody/Anonymous

        Hello!
        Thank you for your help.
        Unfourtnately, there is no category "Typing".
        I use the version 1.2.1.1.

        Maybe I just have to use another (newer?) version of Easyeclipse.
        Or is there another IDE for PHP which is for free?

        Thank you for helping me.

        Xong

         
        • Philippe Ombredanne

          Are you sure you use the EasyEclipse for PHP and the PHP editor (try right click/open with on a file, and check which editor you use)

           
      • Nobody/Anonymous

        When I disable 'Wrap double quoted PHP strings' the 'Escape text when into a double quoted string' gets automaticly disabled too.
        Is there any way to enable the escape-function without the wrap-function.

         

Log in to post a comment.