Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » Turn on Object Oriented Editing - How To?
Turn on Object Oriented Editing - How To? [message #1733478] Fri, 27 May 2016 20:21 Go to next message
Eclipse UserFriend
Hi, I've just downloaded and installed PDT on my Mars and it's great.

But how do I turn on the object-oriented editing help e.g. instead of typing "this -> connect" I'd like to have have PDT fill it with "this -> connect->"

At the moment, simply typing "->" generates a syntax error, unexpected '->'


Re: Turn on Object Oriented Editing - How To? [message #1733479 is a reply to message #1733478] Fri, 27 May 2016 20:44 Go to previous messageGo to next message
Eclipse UserFriend
If you are editing a PHP file, you should be able to press CTRL-. (CTRL + period key) to put in the "->" for you. However, entering it either way works fine. Are you typing "this->connect" or "$this->connect"? You need to include the "$" (which is hard to remember when you are moving between languages).

Good luck.
Re: Turn on Object Oriented Editing - How To? [message #1733521 is a reply to message #1733479] Sun, 29 May 2016 12:26 Go to previous message
Eclipse UserFriend
Thanks Smile
Previous Topic:problem HTML completition in .php
Next Topic:Set up RUN Configuration - How?
Goto Forum:
  


Current Time: Tue May 20 07:15:00 EDT 2025

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

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

Back to the top