⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 5-customizing source-navigator.mht

📁 这是著名的源码浏览工具(不仅仅浏览
💻 MHT
📖 第 1 页 / 共 5 页
字号:
From: <由 Windows Internet Explorer 7 保存>
Subject: Customizing Source-Navigator
Date: Thu, 15 May 2008 14:46:25 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
	type="text/html";
	boundary="----=_NextPart_000_006A_01C8B69A.7314F030"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198

This is a multi-part message in MIME format.

------=_NextPart_000_006A_01C8B69A.7314F030
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://sourcenav.sourceforge.net/online-docs/userguide/customsn.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" =
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><HEAD><TITLE>Customizing Source-Navigator</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3DISO-8859-1">
<META http-equiv=3DContent-Style-Type content=3Dtext/css>
<META content=3D"MSHTML 6.00.6000.16544" name=3DGENERATOR><LINK=20
href=3D"http://sourcenav.sourceforge.net/online-docs/cygnus2.css" =
type=3Dtext/css=20
charset=3DISO-8859-1 rel=3DSTYLESHEET></HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<TABLE class=3DTABLE cellPadding=3D1 width=3D100 align=3Dcenter =
border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dmiddle>
      <P class=3DGotos><A=20
      =
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/index_ug.h=
tml">Contents</A>=20
      </P></TD>
    <TD align=3Dmiddle>
      <P class=3DGotos><A=20
      =
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/usingsn.ht=
ml">Previous</A></P></TD>
    <TD align=3Dmiddle>
      <P class=3DGotos><A=20
      =
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/symbrws.ht=
ml">Next</A></P></TD></TR></TBODY></TABLE>
<HR align=3Dcenter>
</DIV>
<H1 class=3DChapterTitle><A name=3DpgfId-998204></A><BR><A=20
name=3D23446></A>Customizing Source-Navigator=20
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/customsn-1.=
gif">=20
</DIV></H1>
<P class=3DBody><A name=3DpgfId-998212></A>This chapter describes how to =
customize=20
Source-Navigator to reflect your preferences. For additional information =
on=20
changing the start-up and runtime behaviors, see the <A class=3DXRef=20
href=3D"http://sourcenav.sourceforge.net/online-docs/progref/custom.html#=
14563">Customization</A>=20
chapter in the <STRONG class=3DBoldEmphasis>Programmer's Reference=20
Guide</STRONG>.</P>
<H2 class=3DHeading1><A name=3DpgfId-998214></A><A =
name=3D41072></A>Preferences=20
Dialog</H2>
<P class=3DBody><A name=3DpgfId-998215></A>Use the<SPAN class=3DBold>=20
Preferences</SPAN> dialog to specify project-specific parameters. In the =
<SPAN=20
class=3DBold>Symbol Browser</SPAN>, from the <SPAN =
class=3DBold>File</SPAN> menu,=20
select <SPAN class=3DBold>Project </SPAN><A name=3Dmarker-998216></A><EM =

class=3DArrow>-&gt;</EM> <SPAN class=3DBold>Project Preferences</SPAN> =
and enter=20
your changes in the dialog. Click <SPAN class=3DBold>OK</SPAN> to update =
the=20
project with the current settings.</P>
<H3 class=3DLabel><A name=3DpgfId-998217></A>Note</H3>
<P class=3DNote><A name=3DpgfId-998218></A>Default values may be =
transferred from=20
the previously created project, some options take effect only in new =
windows,=20
and some options only take effect the next time the project is =
opened.</P>
<P class=3DFigureTitle><A name=3DpgfId-998222></A>Project Tab of the =
Preferences=20
Dialog</P>
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/customsn-2.=
gif">=20
</DIV>
<H3 class=3DHeading2><A name=3DpgfId-998224></A><A =
name=3D40531></A>General Project=20
Preferences</H3>
<P class=3DBody><A name=3DpgfId-998225></A>Descriptions of the =
general<SPAN=20
class=3DBold> Preferences</SPAN> tabs (<SPAN =
class=3DBold>Project</SPAN>, <SPAN=20
class=3DBold>Parser</SPAN>, <SPAN class=3DBold>Others</SPAN>, and <SPAN=20
class=3DBold>Colors &amp; Fonts</SPAN>) are included in this section. =
The=20
following tabs are discussed in the relevant chapters:</P>
<P class=3DBodyListFollow><A name=3DpgfId-998229></A><SPAN =
class=3DBold>Edit</SPAN>=20
see <A class=3DXRef=20
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/editor.htm=
l#40803">Editor=20
Preferences</A>.<BR><A name=3DpgfId-998233></A><SPAN=20
class=3DBold>Class/Hierarchy</SPAN> see <A class=3DXRef=20
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/clhierbrws=
.html#29305">Class/Hierarchy=20
Preferences</A>.<BR><A name=3DpgfId-998237></A><SPAN =
class=3DBold>Xref</SPAN> see <A=20
class=3DXRef=20
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/crossref.h=
tml#27675">Cross-Reference=20
Preferences</A>. <BR><A name=3DpgfId-998241></A><SPAN =
class=3DBold>Include</SPAN>=20
see <A class=3DXRef=20
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/inclbrws.h=
tml#30602">Include=20
Preferences</A>.<BR><A name=3DpgfId-998245></A><SPAN =
class=3DBold>Version=20
Control</SPAN> see <A class=3DXRef=20
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/versctrl.h=
tml#14496">Version=20
Control Preferences</A>.</P>
<H4 class=3DHeading3><A name=3DpgfId-998248></A><A =
name=3D38317></A>Project <A=20
name=3Dmarker-998247></A>tab</H4>
<H5 class=3DHeading4><A name=3DpgfId-998249></A>Project</H5>
<P class=3DBody><A name=3DpgfId-998250></A>Read-only project<BR>
<P class=3DBodyHang1>Select this if the project should be read-only. =
Default is=20
off. </P>
<P class=3DBody><A name=3DpgfId-998251></A>Refresh project upon =
startup<BR>
<P class=3DBodyHang1>Select this when files are likely to be changed by =
other=20
developers, or when you want to be sure that your database is in sync =
with your=20
sources when you start. </P>
<P class=3DBodyListFollow><A name=3DpgfId-998252></A>Default is off. =
Changing this=20
to on may cause delays when opening your project. For large source bases =
that=20
are relatively stable, or where network latency is a problem, set this =
to off=20
and periodically, from the <SPAN class=3DBold>Tools</SPAN> menu, select =
<SPAN=20
class=3DBold>Refresh Project</SPAN> to resync the database with the =
source. </P>
<H5 class=3DHeading4><A name=3DpgfId-998254></A><A =
name=3D84770></A>Database</H5>
<P class=3DBody><A name=3DpgfId-998255></A>Database directory name<BR>
<P class=3DBodyHang1>Source-Navigator creates all database files under =
this=20
directory. If the directory already exists, you will need read and write =

permissions for it. If you're creating a new directory, you will need =
permission=20
to create it.</P>
<P class=3DBodyListFollow><A name=3DpgfId-998259></A>The filesystem for =
this=20
directory must contain free disk space equal to the size of the source =
base=20
without cross-references, and up to about ten times the size of the =
source code=20
if you choose to generate cross-references. If you don't have the =
necessary=20
permissions (for example, if it is a read-only file system), or if there =
is=20
insufficient free disk space in your first choice of location, you may =
create=20
your project directory in another location on your network by entering a =

directory name with its absolute path.</P>
<P class=3DBodyListFollow><A name=3DpgfId-998260></A>This option can be =
changed only=20
when creating a project.</P>
<P class=3DBody><A name=3DpgfId-998262></A><A =
name=3D12021></A>Permissions<BR>
<P class=3DBodyHang1>These buttons control the read-write permissions =
for your=20
project: the first set controls access for the creator of the file, the =
second=20
set for the group, and the third for "others" (everyone else on the =
network).=20
</P>
<P class=3DBody><A name=3DpgfId-998263></A>Build comment database<BR>
<P class=3DBodyHang1>Select this to store comment strings in the =
database. Default=20
is off.</P>
<P class=3DBody><A name=3DpgfId-998265></A><A name=3D50281></A>Database =
cache size<BR>
<P class=3DBodyHang1>Caches improve performance by using memory (fast) =
instead of=20
disk (slow) where possible. Larger cache sizes increase the likelihood =
that data=20
will be found in memory rather than on disk, though overallocating =
caches has=20
the opposite effect. The operating system will swap the cache to disk =
and the=20
system will get dramatically slower. The cache defaults are generous for =
most=20
projects; don't increase them without a reason.</P>
<P class=3DBodyListFollow><A name=3DpgfId-998266></A>This option can be =
changed only=20
when creating a project.</P>
<P class=3DBodyListFollow><A name=3DpgfId-998267></A>Enter the database =
cache size=20
(in kilobytes) or accept the default value. Source-Navigator creates the =
project=20
database (in the background) with the specified cache size. Increasing =
this=20
amount speeds up project creation and data access, but requires that =
more memory=20
be allocated to Source-Navigator. </P>
<P class=3DBodyListFollow><A name=3DpgfId-998274></A>The recommended =
maximum is the=20
amount of free RAM divided by 16, up to a maximum of 4 MB. The total of =
this=20
amount plus the amount allocated to the cross-reference database cache =
should=20
not exceed one quarter of the total memory.</P>
<P class=3DBodyListFollow><A name=3DpgfId-1001709></A>For more details =
about this=20
parameter, see <A class=3DXRef=20
href=3D"http://sourcenav.sourceforge.net/online-docs/progref/dbaseAPI.htm=
l#15148">dbopen</A>=20
in the <A class=3DXRef=20
href=3D"http://sourcenav.sourceforge.net/online-docs/progref/dbaseAPI.htm=
l#22066">Database=20
API</A> chapter of the <STRONG class=3DBoldEmphasis>Programmer's =
Reference=20
Guide</STRONG>.</P>
<P class=3DBody><A name=3DpgfId-998275></A>X-reference (Cross-Reference) =

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -