mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[Bug 309605] Revised Content Assist and Advanced pref panels
This commit is contained in:
parent
c5b9a25c25
commit
01817e7b96
4 changed files with 30 additions and 17 deletions
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 37 KiB |
|
@ -6,49 +6,55 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Content Assist preferences</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Content Assist preferences</h1>
|
||||
|
||||
<p>You can customize the Content Assist feature on the <strong>Contents Assist</strong> panel of the Preferences window. To change the Content Assist preferences click
|
||||
<strong>Window > Preferences > C/C++ > Editor > Content Assist.</strong></p>
|
||||
<p>Use the <img src="../images/command_link.png" border="0" alt="" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.cdt.ui.preferences.CodeAssistPreferencePage)")'>Content Assist</a> panel to customize the Content Assist feature in C/C++ editors.</p>
|
||||
<p><img src="../images/contentAssist_preferences.png" alt="Content Assist Preferences Dialog Box"></p>
|
||||
|
||||
<table width="600px" cellpadding="5" cellspacing="0" border="1" >
|
||||
<table width="600px" cellpadding="5" cellspacing="0" border="1" fgcolor="#DDD" >
|
||||
<caption><strong>Content Assist Preference Options</strong></caption>
|
||||
<colgroup>
|
||||
<col width="30%" valign="top" >
|
||||
<col width="70%" valign="top" >
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><b>Option</b></th>
|
||||
<th><b>Description</b></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr valign="top" >
|
||||
<td><strong>Insert single proposals automatically</strong></td>
|
||||
<td>Inserts an element into your code when the Content Assist feature finds only one proposal.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr valign="top">
|
||||
<td><strong>Insert common prefixes automatically</strong></td>
|
||||
<td>Inserts common prefixes.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr valign="top">
|
||||
<td><strong>Completion Proposal Filter</strong></td>
|
||||
<td>Completion proposal filters may have been supplied with your Eclipse CDT distribution.
|
||||
Completion proposal filters can sort and order the proposals provided by the Content Assist feature to best suit your needs.
|
||||
Select the desired content assist filter from the list of available filters.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr valign="top">
|
||||
<td><strong>Enable "." as trigger</strong></td>
|
||||
<td>Enable to use "." as a trigger for auto-completion.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr valign="top">
|
||||
<td><strong>Enable "->" as trigger</strong></td>
|
||||
<td>Enable to use "->" as a trigger for auto-completion.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr valign="top">
|
||||
<td><strong>Enable "::" as trigger</strong></td>
|
||||
<td>Enable to use "::" as a trigger for auto-completion.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr valign="top">
|
||||
<td><strong>delay (ms)</strong></td>
|
||||
<td>Specifies the number of milliseconds before Content Assist is activated.</td>
|
||||
</tr>
|
||||
|
|
|
@ -6,34 +6,41 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Advanced preferences</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Advanced preferences</h1>
|
||||
|
||||
<p>Use the <strong>Advanced</strong> panel in the Preferences window to configure the behavior of the Content Assist (Ctrl+Space) command.</p>
|
||||
<p>Use the <img src="../images/command_link.png" border="0" alt="" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.cdt.ui.preferences.CodeAssistPreferenceAdvanced)")'>Advanced</a> panel in the <b>Preferences</b> window to configure the behavior of the Content Assist (<tt>Ctrl+Space</tt>) command.</p>
|
||||
<p><img src="../images/contentAssist_adv_preferences.png" alt="Content Assist Preferences Dialog Box"></p>
|
||||
|
||||
<table width="600px" cellpadding="5" cellspacing="0" border="1" >
|
||||
<table width="600px" cellpadding="5" cellspacing="0" border="1" fgcolor="#DDD" >
|
||||
<caption><strong>Advanced Content Assist Preference Options</strong></caption>
|
||||
<colgroup>
|
||||
<col width="30%" valign="top" >
|
||||
<col width="70%" valign="top" >
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><b>Option</b></th>
|
||||
<th><b>Description</b></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr valign="top" >
|
||||
<td><strong>Default Proposal Kindsy</strong></td>
|
||||
<td>Specifies the types of proposals Content Assist uses and the key bindings assigned.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr valign="top" >
|
||||
<td><strong>Content Assist Cycling</strong></td>
|
||||
<td>Specifies the order and types of proposals Content Assist will cycle through.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr valign="top" >
|
||||
<td><strong>Up</strong></td>
|
||||
<td>Moves the selected proposal item up in the cycling list.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr valign="top" >
|
||||
<td><strong>Down</strong></td>
|
||||
<td>Moves the selected proposal item down in the cycling list.</td>
|
||||
</tr>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<h1>Templates preferences</h1>
|
||||
|
||||
<p>Use the <img src="../images/command_link.png" border="0" alt="" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.cdt.ui.preferences.CodeTemplatePreferencePage)")'>Templates</a> preference panel to manipulate any of the common templates predefined within CDT or create your own. To modify, delete, export,
|
||||
<p>Use the <img src="../images/command_link.png" border="0" alt="" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.cdt.ui.preferences.TemplatePreferencePage)")'>Templates</a> preference panel to manipulate any of the common templates predefined within CDT or create your own. To modify, delete, export,
|
||||
import, or create your own templates click <strong>Window > Preferences > C/C++ > Templates</strong>.</p>
|
||||
<p><img src="../images/code_templates.png" alt="Templates Preferences"></p>
|
||||
<table width="600px" cellpadding="5" cellspacing="0" border="1" >
|
||||
|
|
Loading…
Add table
Reference in a new issue