Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-7368

Parse @inheritdoc and add the inherited values to the auto completion/code assistent

    Details

      Description

      It would be very useful if the aptana auto completion/code assistent would parse the @inheritdoc commands.

      Here is a little demo code:

      <?php
       
       
      /**
       * Abstract class Ide
       * This class must be implemented by every Ide
       */
      abstract class Ide
      {
      	/**
      	 * Get the version number
      	 *
      	 * @param	void
      	 * @return	string	Return the version/build string
      	 */
      	public function getVersion();
       
       
      	/**
      	 * Send a bug report to the developers
      	 *
      	 * @param	string	$strTitle		The title of the bug report
      	 * @param	string	$strDescrption	The description of the bug
      	 * @return	bool
      	 */
      	public function sendBugReport($strTitle, $strDescription);
      }
       
       
      /**
       * Class Aptana
       * Implements the class Aptana
       */
      class Aptana extends Ide
      {
      	/**
      	 * {@inheritDoc}
      	 */
      	public function getVersion()
      	{
      		return 'Aptana Studio 3, build: 3.3.0.201208311803';
      	}
       
       
      	/**
      	 * {@inheritDoc}
      	 */
      	public function sendBugReport($strTitle, $strDescrption)
      	{
      		// annoy Ingo on the jira bugtracker :)
      	}
      }
       
       
       
      $objIde = new Aptana();
      $objIde->getVersion();
      
      

      Normaly you don't write the exact same phpdoc block to the implementing function, but if you don't do that you don't have the documentation available at the end of the file if you work with your instance of Aptana();

      That would been sooo nice to have. Thanks and greetings
      Leo

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              leo.unglaub Leo Unglaub
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Integration