blob: f45c2ceee48741aa7b05341633025bb8b740554b [file] [log] [blame]
<!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>Content Assist Preferences</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>
<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("Reference\nPHP Preferences\nEditor Preferences\nContent Assist Preferences");
addAvenueInfo("Reference","launching.htm","folding.htm");
}
document.write("<p style=\"text-align:left\"> ");
AddMasterBreadcrumbs("ide_help.htm", "", "&gt;", "Home", "pdt_table_of_contents.htm");
document.write("<a href=\"reference.htm\">Reference<\/a> &gt; <a href=\"preferences.htm\">PHP Preferences<\/a> &gt; <a href=\"editor.htm\">Editor Preferences<\/a> &gt; Content Assist Preferences<\/p>");
if (window.setRelStartPage)
{
setRelStartPage("ide_help.htm");
autoSync(0);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
//]]></script>
</head>
<body leftmargin="5" topmargin="5" rightmargin="5" bottommargin="5"><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=&quot;&quot;;h=location.href;t=document.title;e = &quot;&quot; + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (e!=null) location=&quot;mailto:documentation@zend.com&quot; + &quot;?Subject= Feedback on PDT for page &quot; + escape(t) + &quot;&amp;Body=&quot; + escape(e).replace(/ /g, &quot;+&quot;) + crlf + &quot; &quot;; 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>Content Assist Preferences
</h1>
<p class="picture" style="font-style: normal;" align="left">The Content
Assist feature enables the selection and insertion of existing code elements
to complete partially entered code.</p>
<p style="font-style: normal;">The Content Assist preferences page allows
you to configure your Content Assist preferences.</p>
<p style="font-style: normal;">&#160;</p>
<p>The Content Assist Preferences
Preferences page is accessed from <span style="font-weight: bold;"><b>Window
| Preferences | PHP | Editor | Content Assist Preferences
</b></span>.</p>
<p class="FIgureCaption"><img src="code_assist_(content_assist).png" alt="Content Assist Preferences" title="Content Assist Preferences" style="border: none;" width="621" height="460" border="0"></p>
<table cellspacing="0" width="100%">
<col style="width: 7.093%;">
<col style="width: 92.907%;">
<tr style="vertical-align: top;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;">&#160;</p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p
style="font-weight: bold;">&#160;</p></td>
</tr>
<tr style="vertical-align: 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;">To configure Content Assist preferences:</p>
<ol type="1">
<li class="p" style="margin-left: -20px;"><p>Mark the required
checkboxes to configure the following options:</p></li>
</ol>
<p class="Strong" style="margin-left: 0px;">Options</p>
<ul type="square">
<li><p>Completion Inserts / Completion Overwrites - Select
whether selecting an item from the Content Assist list &#160;will
cause new code to be entered or existing code to be overwritten.</p></li>
<li><p>Insert single proposals automatically - When only one
content assist suggestion exists, the content assist suggestion
will be inserted automatically.</p></li>
<li><p>Show variables from other files - Shows variables which
are in other files in the project.</p></li>
</ul>
<p class="Strong" style="margin-left: 0px;">Filters</p>
<ul type="square">
<li><p>Respect case sensitivity – Define statements are used
to create global constants. One can ”r;define(’r;MY_CONST’,
5)”, and then use ”r;MY_CONST” all over the application, this
property is used to determine if ”r;my_const” will also be
suggested as usage of that constant.</p></li>
<li><p>Show strict options – PHP alerts users if they access
static methods and fields from within an instance. &#160;Users
can enable/disable this in the php.ini file for their php
copy and hence can disable the content assist for these cases.</p></li>
</ul>
<p class="Strong" style="margin-left: 0px;">Auto-activation</p>
<ul type="square">
<li><p>Enable auto activation - The content assist list will
automatically be displayed.
</p></li>
</ul>
<p class="Note" style="margin-left: 40px;">Note:</p>
<p class="NoteText" style="margin-left: 40px;">If this is unmarked,
you can still display the content assist list by pressing Ctrl+Space.</p>
<ul type="square">
<li><p>Auto activation delay: Determines the delay before the
Content Assist box is automatically displayed (in msecs).</p></li>
<li><p>Auto-activation triggers
for PHP: Sets the characters that determine PHP context.</p></li>
<li><p>Auto-activation triggers
for PHPDoc: Sets the characters that determine PHPDoc context.</p></li>
</ul>
<p class="Note" style="margin-left: 64px;">Note:</p>
<p class="NoteText" style="margin-left: 64px;">A
maximum of 4 characters can be entered.</p>
<ol start="2" type="1">
<li class="p" style="margin-left: -20px;"><p>Click Apply to
apply your settings.</p></li>
</ol></td>
</tr>
<tr style="vertical-align: top;">
<td colspan="2" style="width: 100%; padding-right: 10px; padding-left: 10px;"><p>&#160;</p></td>
</tr>
</table>
<table cellspacing="0" width="100%">
<col style="width: 7.093%;">
<col style="width: 92.907%;">
<tr style="vertical-align: top;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;">&#160;</p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p>&#160;</p></td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;"><img src="link_icon.png" alt="link_icon.png" style="border: none;" 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><a href="using_code_assist.htm">Using Content Assist</a>
</p>
<p><a href="working_with_code_assist.htm">Working with Con Assist</a>
</p>
<p><a href="preferences.htm">PHP
Preferences</a></p>
<p><a href="editor.htm">Editor
Preferences</a></p></td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;">&#160;</p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p>&#160;</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>