Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Turn on Object Oriented Editing - How To?
Turn on Object Oriented Editing - How To? [message #1733478] Sat, 28 May 2016 00:21 Go to next message
Arthur Chan is currently offline Arthur ChanFriend
Messages: 44
Registered: September 2015
Member
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] Sat, 28 May 2016 00:44 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
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 16:26 Go to previous message
Arthur Chan is currently offline Arthur ChanFriend
Messages: 44
Registered: September 2015
Member
Thanks Smile
Previous Topic:problem HTML completition in .php
Next Topic:Set up RUN Configuration - How?
Goto Forum:
  


Current Time: Fri Apr 26 03:58:28 GMT 2024

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

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

Back to the top