| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <meta name="generator" content="Adobe RoboHelp 8"> |
| <title>Working with Content Assist</title> |
| <link rel="StyleSheet" href="default.css" type="text/css"> |
| <style type="text/css"> |
| <!-- |
| body { border-left-style:None; |
| border-right-style:None; |
| border-bottom-style:None; |
| background-color:Transparent; |
| border-top-style:None; } |
| --> |
| </style> |
| <script type="text/javascript" language="JavaScript"> |
| //<![CDATA[ |
| function reDo() { |
| if (innerWidth != origWidth || innerHeight != origHeight) |
| location.reload(); |
| } |
| if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { |
| origWidth = innerWidth; |
| origHeight = innerHeight; |
| onresize = reDo; |
| } |
| onerror = null; |
| //]]> |
| </script> |
| <style type="text/css"> |
| <!-- |
| div.WebHelpPopupMenu { position:absolute; |
| left:0px; |
| top:0px; |
| z-index:4; |
| visibility:hidden; } |
| p.WebHelpNavBar { text-align:right; } |
| --> |
| </style> |
| <script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> |
| <script type="text/javascript" language="javascript" src="whver.js"></script> |
| <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> |
| <script type="text/javascript" language="javascript1.2" src="whutils.js"></script> |
| <script type="text/javascript" language="javascript1.2" src="whlang.js"></script> |
| <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> |
| <script type="text/javascript" language="javascript1.2">//<![CDATA[ |
| <!-- |
| if (window.gbWhTopic) |
| { |
| var strUrl = document.location.href; |
| var bc = 0; |
| var n = strUrl.toLowerCase().indexOf("bc-"); |
| if(n != -1) |
| { |
| document.location.href = strUrl.substring(0, n); |
| bc = strUrl.substring(n+3); |
| } |
| |
| if (window.setRelStartPage) |
| { |
| addTocInfo("Getting Started\nBasic Tutorials\nWorking with Content Assist"); |
| addAvenueInfo("Getting Started","creating_and_uploading_a_project.htm","working_with_the_debugger.htm"); |
| |
| } |
| |
| document.write("<p style=\"text-align:left\"> "); |
| AddMasterBreadcrumbs("ide_help.htm", "", ">", "Home", "pdt_table_of_contents.htm"); |
| document.write("<a href=\"getting_started.htm\">Getting Started<\/a> > <a href=\"basic_tutorial.htm\">Basic Tutorials<\/a> > Working with Content Assist<\/p>"); |
| |
| |
| if (window.setRelStartPage) |
| { |
| setRelStartPage("ide_help.htm"); |
| |
| autoSync(0); |
| sendSyncInfo(); |
| sendAveInfoOut(); |
| } |
| |
| } |
| else |
| if (window.gbIE4) |
| document.location.reload(); |
| //--> |
| //]]></script> |
| </head> |
| |
| <body><script type="text/javascript" language="javascript1.2">//<![CDATA[ |
| <!-- |
| if (window.writeIntopicBar) |
| writeIntopicBar(4); |
| //--> |
| //]]></script> |
| <div style="width: 100%; position: relative;" id="header"> |
| |
| |
| <p align="right"><a |
| title="Documentation Survey" href="http://spreadsheets.google.com/viewform?formkey=dC1scEswTjFia2tDQ3Y5TVJBbkNQcWc6MQ">Documentation |
| Survey</a> |
| | <a href="javascript:crlf="";h=location.href;t=document.title;e = "" + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (e!=null) location="mailto:documentation@zend.com" + "?Subject= Feedback on PDT for page " + escape(t) + "&Body=" + escape(e).replace(/ /g, "+") + crlf + " "; void 0"><span |
| style="background-color: #ffffff;">Submit Documentation</span><span |
| style="background-color: #ffffff;"> Feedback</span></a><span |
| style="background-color: #ffffff;"></span><span style="background-color: #ffffff;"> |
| </span><span style="background-color: #ffffff;">| |
| </span><span |
| style="background-color: #ffffff;"><a title="View Latest Version and Get PDF Online" |
| href="http://www.zend.com/en/resources/zend-documentation/" |
| target="_blank">View Latest |
| Version and Get PDF Online</a></span></p> |
| </div> |
| |
| |
| <h1>Working with Content Assist</h1> |
| <p style="font-style: italic;" align="center">The purpose of this tutorial |
| is to teach you how to use PDT |
| 's Content Assist function in order to write code quickly, easily, and |
| accurately.</p> |
| <p class="Strong"><a name="Contents" id="Contents"></a>Contents:</p> |
| <table cellspacing="0" width="100%"> |
| <col style="width: 61.125%;"> |
| <col style="width: 38.875%;"> |
| <tr valign="top"> |
| <td style="width: 61.125%; padding-right: 10px; padding-left: 10px;"><p><a |
| href="#Purpose_and_Usage">Purpose and Usage</a></p></td> |
| <td style="width: 38.875%; padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 61.125%; padding-right: 10px; padding-left: 10px;"><p><a |
| href="#Activating_Code_Assist">Activating Content Assist</a></p></td> |
| <td style="width: 38.875%; padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 61.125%; padding-right: 10px; padding-left: 10px;"><p><a |
| href="#CA_Available_Same_Scope">Making Content Assist Elements |
| Available Within the Same Scope</a></p></td> |
| <td style="width: 38.875%; padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 61.125%; padding-right: 10px; padding-left: 10px;"><p><a |
| href="#Function_Parameter_Hints">Function Parameter Hints</a></p></td> |
| <td style="width: 38.875%; padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 61.125%; padding-right: 10px; padding-left: 10px;"><p><a |
| href="#Class_Type_Hints">Class Type Hints</a></p></td> |
| <td style="width: 38.875%; padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 61.125%; padding-right: 10px; padding-left: 10px;"><p><a |
| href="#Configuring_Code_Assist">Configuring Content Assist</a></p></td> |
| <td style="width: 38.875%; padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| </tr> |
| </table> |
| <p style="font-style: italic;"> </p> |
| <h2><a name="Purpose_and_Usage" id="Purpose_and_Usage"></a>Purpose and |
| Usage</h2> |
| <p>The Content Assist feature enables the selection and insertion of existing |
| code elements to complete partially entered code.</p> |
| <p>A list of possible code elements appears in relevant locations within |
| your files according to the context of your cursor, which you can then |
| select to be automatically entered into your code.</p> |
| <p> </p> |
| <p>Each type of code element will have a unique icon:</p> |
| <table cellspacing="0" width="100%"> |
| <col style="width: 4.659%;"> |
| <col style="width: 95.341%;"> |
| <tr valign="top"> |
| <td style="width: 4.659%; padding-right: 10px; padding-left: 10px;"><p><img src="code_assist_triangle.png" alt="code_assist_triangle.png" style="border: none;" width="15" height="13" border="0"></p></td> |
| <td style="width: 95.341%; padding-right: 10px; padding-left: 10px;"><p>Reserved |
| PHP Words</p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 4.659%; padding-right: 10px; padding-left: 10px;"><p><img src="code_assist_circle.png" alt="code_assist_circle.png" style="border: none;" width="12" height="12" border="0"></p></td> |
| <td style="width: 95.341%; padding-right: 10px; padding-left: 10px;"><p>Functions</p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 4.659%; padding-right: 10px; padding-left: 10px;"><p><img src="template_icon.png" alt="template_icon.png" style="border: none;" width="17" height="20" border="0"></p></td> |
| <td style="width: 95.341%; padding-right: 10px; padding-left: 10px;"><p>Templates</p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 4.659%; padding-right: 10px; padding-left: 10px;"><p><img src="classes_icon.png" alt="classes_icon.png" style="border: none;" width="19" height="18" border="0"></p></td> |
| <td style="width: 95.341%; padding-right: 10px; padding-left: 10px;"><p>Classes</p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 4.659%; padding-right: 10px; padding-left: 10px;"><p><img src="interfaces_icon.png" alt="interfaces_icon.png" style="border: none;" width="18" height="17" border="0"></p></td> |
| <td style="width: 95.341%; padding-right: 10px; padding-left: 10px;"><p>Interfaces</p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 4.659%; padding-right: 10px; padding-left: 10px;"><p><img src="constants_icon.png" alt="constants_icon.png" style="border: none;" width="16" height="19" border="0"></p></td> |
| <td style="width: 95.341%; padding-right: 10px; padding-left: 10px;"><p>Constants</p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 4.659%; padding-right: 10px; padding-left: 10px;"><p><img src="variables_icon.png" alt="variables_icon.png" style="border: none;" width="16" height="14" border="0"></p></td> |
| <td style="width: 95.341%; padding-right: 10px; padding-left: 10px;"><p>Variables |
| (public)</p></td> |
| </tr> |
| </table> |
| <p> </p> |
| <p>Content Assist works with the following elements: PHP Classes, Functions, |
| Variables, Constants, Keywords, Interfaces, Attributes, Values, Nested |
| Functions, Names and Syntax, as well as all user defined Classes, Functions, |
| and Constants.</p> |
| <p class="Note">Note:</p> |
| <p class="NoteText">Content Assist works with both PHP and HTML.</p> |
| <h2><a name="Activating_Code_Assist" id="Activating_Code_Assist"></a>Activating |
| Content Assist</h2> |
| <p>By default, the Content Assist options will be automatically displayed |
| once the first few characters of the code have been entered.</p> |
| <table cellspacing="0" width="100%"> |
| <col style="width: 7.093%;"> |
| <col style="width: 92.907%;"> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"> </p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-weight: bold;"> </p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"><img src="ref_icon.png" alt="Instructions on how to complete a procedure" title="Instructions on how to complete a procedure" style="border: none;" width="28" height="33" border="0"></p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-weight: bold;">The following procedure demonstrates |
| using Content Assist:</p> |
| <ol type="1"> |
| <li class="p" style="margin-left: -20px;"><p>Create a new PHP |
| File called 'File1'.</p></li> |
| </ol> |
| <ol start="2" type="1"> |
| <li class="p" style="margin-left: -20px;"><p>On the line beneath |
| the opening PHP tag, type "def".</p></li> |
| |
| </ol> |
| <p class="picture"><img src="code_assist_example.png" alt="pri Code Asisst Box" title="pri Code Asisst Box" style="border: none;" width="432" height="190" border="0"></p> |
| <ol start="4" type="1"> |
| <li class="p" style="margin-left: -20px;"><p>Double-click the |
| first define function from the Code Completion window -or- |
| select it and press <span style="font-weight: bold;"><b>Enter</b></span>.</p></li> |
| </ol></td> |
| </tr> |
| <tr valign="top"> |
| <td colspan="2" style="width: 100%; padding-right: 10px; padding-left: 10px;"><p>"define()" |
| appears on the edit line.</p></td> |
| |
| </tr> |
| </table> |
| <p class="Note">Note:</p> |
| <p class="NoteText">If the Content Assist window does not open automatically, |
| place your cursor at the required location and press <span style="font-weight: bold;"><b>Ctrl+Space</b></span>.<br> |
| To enable the Content Assist window to open automatically, go to the <a href="code_assist.htm">Content Assist Preferences page</a>, accessed |
| from <span style="font-weight: bold;"><b>Window | Preferences | PHP | Editor |
| | Content Assist</b></span> and mark the 'Enable auto-activation' checkbox.</p> |
| <p align="right"><a |
| href="#Contents">Back to Top</a> </p> |
| <h2><a name="Function_Parameter_Hints" id="Function_Parameter_Hints"></a>Function |
| Parameter Hints  </h2> |
| <p>When entering a function call, a Function Parameter Hint box will be |
| displayed detailing the types of parameters that should be entered within |
| the parentheses of the function call.</p> |
| <table cellspacing="0" width="100%"> |
| <col style="width: 7.093%;"> |
| <col style="width: 92.907%;"> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"> </p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-weight: bold;"> </p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"><img src="ref_icon.png" alt="Instructions on how to complete a procedure" title="Instructions on how to complete a procedure" style="border: none;" width="28" height="33" border="0"></p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p><span |
| style="font-weight: bold;"><b>The following procedure demonstrates |
| using the Function Parameter Hint feature</b></span>:</p> |
| <ol start="1" type="1"> |
| <li class="p" style="margin-left: -20px;"><p>Place your cursor |
| between the parentheses of the above function call: "define()"</p></li> |
| <li class="p" style="margin-left: -20px;"><p>Press Ctrl+Shift+Space.</p></li> |
| </ol></td> |
| </tr> |
| <tr valign="top"> |
| <td colspan="2" style="width: 100%; padding-right: 10px; padding-left: 10px;"><p>A |
| function parameter hint box will be displayed indicating the types |
| of parameters that should be inserted between the parentheses.</p> |
| <p class="picture"><img src="code_assist_function_parameter.png" alt="Parameter Hint" title="Parameter Hint" style="border: none;" width="395" height="55" border="0"></p></td> |
| |
| </tr> |
| </table> |
| <p class="FIgureCaption" align="right"><a |
| href="#Contents">Back to Top</a> </p> |
| <h2><a name="CA_Available_Same_Scope" id="CA_Available_Same_Scope"></a>Making |
| Content Assist Elements Available Within the Same Scope</h2> |
| <h3>Added Code - Available within the same function and file</h3> |
| <p>Elements within the same scope (e.g. within the same project, file or |
| function) will be available for use with Content Assist.</p> |
| <p>Variables belonging to different scopes are not available to each other |
| via Content Assist.</p> |
| <table cellspacing="0" width="100%"> |
| <col style="width: 7.093%;"> |
| <col style="width: 92.907%;"> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"> </p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-weight: bold;"> </p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"><img src="ref_icon.png" alt="Instructions on how to complete a procedure" title="Instructions on how to complete a procedure" style="border: none;" width="28" height="33" border="0"></p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-weight: bold;">The following procedure demonstrates |
| using Content Assist for inserting elements within the same function |
| and file:</p> |
| <ol type="1"> |
| <li class="p" style="margin-left: -20px;"><p>Edit your PHP |
| File ('File1') so that it contains the following code:</p></li> |
| </ol> |
| <p class="code" style="margin-left: 12px;"><?php</p> |
| <p class="code" style="margin-left: 12px;">define('continent','africa');</p> |
| <p class="code" style="margin-left: 12px;">$control = '';</p> |
| <p class="code" style="margin-left: 12px;">$mail = 'int@eclipse.org';</p> |
| <p class="code" style="margin-left: 12px;">function media() {</p> |
| <p class="code" style="margin-left: 12px;">$music = '';</p> |
| <p class="code" style="margin-left: 12px;">$messenger = '';</p> |
| <p class="code" style="margin-left: 12px;">$                        /*--------- |
| Location_1*/</p> |
| <p class="code" style="margin-left: 12px;">}</p> |
| <p class="code" style="margin-left: 12px;">$                                  /* |
| ---------Location_2*/</p> |
| <p class="code" style="margin-left: 12px;">?></p> |
| <ol start="2" type="1"> |
| <li class="p" style="margin-left: -20px;"><p>Place the cursor |
| at the "$" marked by "Location_1". This |
| is within function "media".</p></li> |
| <li class="p" style="margin-left: -20px;"><p>Type the letter |
| "m". The Content Assist window will be displayed |
| with the variables "$messenger" and "$music", |
| which were defined within the function.<br> |
| Note that the variable $mail (not within the scope of "media()" |
| ) is not available.</p></li> |
| <li class="p" style="margin-left: -20px;"><p>Next, place the |
| cursor at the "$" marked by "Location_2".</p></li> |
| <li class="p" style="margin-left: -20px;"><p>Type the letter |
| "m". The Content Assist window will be displayed |
| with the variable $mail, which is within the same file.<br> |
| Note that media's variables - $music and $messenger  - |
| are not within the function 'media' and so are not displayed.</p></li> |
| <li class="p" style="margin-left: -20px;"><p>Select 'mail' |
| from the Content Assist window to insert it into the script.</p></li> |
| </ol></td> |
| </tr> |
| <tr valign="top"> |
| <td colspan="2" style="width: 100%; padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| |
| </tr> |
| </table> |
| <p align="right"><a |
| href="#Contents">Back to Top</a> </p> |
| <h3>Added Code - Available Within the Same Project</h3> |
| <p>Code elements defined in one file are also available for use by other |
| files within the same project.</p> |
| <table cellspacing="0" width="100%"> |
| <col style="width: 7.093%;"> |
| <col style="width: 92.907%;"> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"> </p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-weight: bold;"> </p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"><img src="ref_icon.png" alt="Instructions on how to complete a procedure" title="Instructions on how to complete a procedure" style="border: none;" width="28" height="33" border="0"></p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-weight: bold;">The following steps demonstrate |
| using Content Assist for inserting elements within the same project:</p> |
| <ol type="1"> |
| <li class="p" style="margin-left: -20px;"><p>Within the same |
| project as "File1", create a new PHP file called |
| "File2".</p></li> |
| <li class="p" style="margin-left: -20px;"><p>On the line beneath |
| the opening PHP tag, type "def" and press <span |
| style="font-weight: bold;"><b>Ctrl+Spac</b></span>e to activate Content |
| Assist. Double-click one of the define options.</p></li> |
| <li class="p" style="margin-left: -20px;"><p>Between the parentheses, |
| type "cont" and press <span style="font-weight: bold;"><b>Ctrl+Space</b></span> |
| to activate Content Assist. The element 'continent', defined |
| in "File1", will be available.</p></li> |
| <li class="p" style="margin-left: -20px;"><p>Double-click 'continent' |
| to enter it into your code.</p></li> |
| </ol></td> |
| </tr> |
| <tr valign="top"> |
| <td colspan="2" style="width: 100%; padding-right: 10px; padding-left: 10px;"><p>When |
| the element is highlighted, Content Assist displays the original |
| location of the code element, its value ('africa') and all other |
| information available.</p> |
| <p class="picture"><img src="code_assist_cont_info.png" alt="Element Information" title="Element Information" style="border: none;" width="230" height="124" border="0"></p></td> |
| |
| </tr> |
| </table> |
| <p align="right"><a |
| href="#Contents">Back to Top</a> </p> |
| <h2><a name="Class_Type_Hints" id="Class_Type_Hints"></a>Class Type Hints</h2> |
| <p>By using a comment you can assign a variable its exact class value. |
| This assignment will affect the content assist of this variable accordingly.</p> |
| <table cellspacing="0" width="100%"> |
| <col style="width: 7.093%;"> |
| <col style="width: 92.907%;"> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"> </p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-weight: bold;"> </p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"><img src="ref_icon.png" alt="Instructions on how to complete a procedure" title="Instructions on how to complete a procedure" style="border: none;" width="28" height="33" border="0"></p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p><span |
| style="font-weight: bold;"><b>To see and trial this feature:</b></span></p> |
| <ol type="1"> |
| <li class="p" style="margin-left: -20px;"><p>Create a new PHP |
| file with the following code:</p></li> |
| </ol> |
| <p class="code" style="margin-left: 24px;"><?php</p> |
| <p class="code" style="margin-left: 24px;">function getClass() |
| {</p> |
| <p class="code" style="margin-left: 24px;">return new Test();</p> |
| <p class="code" style="margin-left: 24px;">}</p> |
| <p class="code" style="margin-left: 24px;">class Test {</p> |
| <p class="code" style="margin-left: 24px;">function printValues($a, |
| $b) {</p> |
| <p class="code" style="margin-left: 24px;">echo "Values: $a, |
| $b";</p> |
| <p class="code" style="margin-left: 24px;">  }</p> |
| <p class="code" style="margin-left: 24px;">}</p> |
| <p class="code" style="margin-left: 24px;"> </p> |
| <p class="code" style="margin-left: 24px;">/* @var $myVar Test |
| */</p> |
| <p class="code" style="margin-left: 24px;">$myVar = getClass();</p> |
| <p class="code" style="margin-left: 24px;"> </p> |
| <p class="code" style="margin-left: 24px;">$myVar-></p> |
| <p class="code" style="margin-left: 24px;">?></p> |
| <ol start="2" type="1"> |
| <li class="p" style="margin-left: -20px;"><p>Place your cursor |
| after  '$myVar->' (on the line above the closing PHP |
| tag) and press <span style="font-weight: bold;"><b>Ctrl+Space</b></span> |
| to activate Content Assist. Content Assist will open with |
| the function defined in 'Test' class (printValues($a, $b)). |
| Double click it to enter it into your code.</p></li> |
| </ol></td> |
| </tr> |
| <tr valign="top"> |
| <td colspan="2" style="width: 100%; padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| |
| </tr> |
| </table> |
| <p class="Note">Note:    </p> |
| <p class="NoteText">Without the comment, Content Assist will not be available |
| for the function.</p> |
| <p align="right"><a |
| href="#Contents">Back to Top</a> </p> |
| <h2><a name="Configuring_Code_Assist" id="Configuring_Code_Assist"></a>Configuring |
| Content Assist</h2> |
| <p>Content Assist options can be configured through the <a href="code_assist.htm">Content |
| Assist Preferences page</a>, accessible from <span style="font-weight: bold;"><b>Window |
| | Preferences | PHP | Editor | Content Assist</b></span>.</p> |
| <table cellspacing="0" width="100%"> |
| <col style="width: 7.093%;"> |
| <col style="width: 92.907%;"> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"> </p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"><img src="link_icon.png" style="border: none;" alt="link_icon.png" width="32" height="40" border="0"></p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-weight: bold;">Related Links</p> |
| <p style="font-weight: normal;"><a href="code_assist_concept.htm"><span |
| style="font-weight: normal;">Content Assist</span></a></p> |
| <p><a href="using_code_assist.htm">Using |
| Content Assist </a></p> |
| <p><a href="code_assist.htm">Content Assist Preferences</a> |
| </p> |
| <p><a href="basic_tutorial.htm">Basic Tutorials</a> </p> |
| <p><a href="hover_support.htm">Hover |
| Support </a></p> |
| <p><a href="commenting_php_docblocks.htm">Commenting |
| PHP DocBlocks </a></p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p |
| style="font-size: 6pt;"> </p></td> |
| <td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| </tr> |
| </table> |
| <div style="width: 100%; position: relative;" id="footer"> |
| |
| <p style="text-decoration: underline; " |
| align="center">PHP Development |
| Tools</p> |
| |
| |
| </div> |
| <script type="text/javascript" language="javascript1.2">//<![CDATA[ |
| <!-- |
| if (window.writeIntopicBar) |
| writeIntopicBar(0); |
| |
| highlightSearch(); |
| //--> |
| //]]></script> |
| </body> |
| </html> |