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

📄 index.html

📁 著名的代码自动缩进软件ASTYLE的源码,为1.21版本,支持C/C++/JAVA的各种格式的排版,支持自定的样式,功能强大
💻 HTML
字号:
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Artistic Style</title>

<style>
<!--
body { margin-top: 8px; }

h1 {color:#0000A0; text-align:center; font-style:italic; font-size:300%;}
h2 {color:#0000A0;}
h3 {color:#0000A0;}
h4 {font-size:105%;}
table {color:#0000A0; font-weight:bold;}
code {color:#0000A0;}
code.title {font-size:larger; font-weight:bold;}
pre {color:#0000A0; font-weight:bold;}
span.brace {color:red;}

-->
</style>

</head>

<body>

<!-- body text -->
<blockquote>

    <h1>Artistic Style 1.21</h1>
    <center>
    <h2>A Free, Fast and Small Automatic Formatter<br>
    for <em>C</em>, <em>C++</em>, <em>C#</em>, and <em>Java</em> Source Code
    </h2>
    <br>
    <table>
        <tr>
            <td>Home Page:</td>
            <td><a href="http://astyle.sourceforge.net/">
            http://astyle.sourceforge.net/</a></td>
        </tr>
        <tr>
            <td>Project Page:</td>
            <td><a href="http://sourceforge.net/projects/astyle/">
            http://sourceforge.net/projects/astyle/</a></td>
        </tr>
    </table>
    </center>
	
    <p align="center">&nbsp;</p>
    <p><strong>Artistic Style</strong> is a source code <strong>indenter</strong>, <strong>formatter</strong>, 
    and <strong>beautifier</strong> 
    for the <strong>C, C++, C#</strong> and <strong>Java</strong> programming 
    languages.</p>
    <p>When indenting source code, we as programmers have a tendency to use both
    <strong>spaces</strong> and <strong>tab</strong> characters to create the 
    wanted indentation. Moreover, some editors by default insert spaces instead 
    of tabs when pressing the tab key, and other editors (Emacs for example) 
    have the ability to &quot;pretty up&quot; lines by automatically setting up the white 
    space before the code on the line, possibly inserting spaces in a code that 
    up to now used only tabs for indentation. </p>
    
    <p>Since the <strong>NUMBER</strong> of space characters showed on screen 
    for each tab character in the source code changes between editors (unless 
    the user sets up the number to his liking...), <strong>one of the standard 
    problems programmers are facing when moving from one editor to another
    </strong>is that code containing both spaces and tabs that was up to now 
    perfectly indented, suddenly becomes a mess to look at when changing to 
    another editor. Even if you as a programmer take care to <strong>ONLY</strong> 
    use spaces or tabs, looking at other people's source code can still be 
    problematic. </p>
    
    <p>To address this problem, Artistic Style was created - a filter written in
    <strong>C++</strong> that automatically re-indents and re-formats C / C++ / 
    C# / Java source files. It can be used from a <strong>command line</strong>, 
    or it can be <strong>incorporated as classes</strong> in another C++ 
    program. </p>
	
	<h3><a href="license.html">License</a></h3>
    <p>Artistic Style may be used and distributed under the
    <b>GNU Lesser General Public License</b> (LGPL). You can 
	use it for free or commercial software without charge. Projects that use Artistic Style do not 
	have to make the their source code available. If Artistic 
	Style itself is modified, however, the modified Artistic Style source code 
	must be made available.</p>
	
	<h3><a href="astyle.html">Documentation</a></h3>
     <p>There is complete documentation for using Artistic Style. Most 
		documentation is included in the distribution package.</p>
	
    <h3><a href="astyle_news.html">News</a> and
    <a href="astyle_notes.html">Release Notes</a></h3>
    <p>Changes in this release include improved array formatting, brackets that 
    attach and detach from comments, keywords assigned by file type, 
	new preserve-dates (-Z) option, change in Linux bracket formatting for 
    header files, support for the OpenVMS compiler, and many important bug fixes.</p>
	
	<h3><a href="http://sourceforge.net/project/showfiles.php?group_id=2319l">Download</a></h3>
    <p>Download the latest release from the file releases page. 
    The latest release is indicated by the line with a green 
    background. Get the file for the appropriate platform (Linux, Mac, OpenVMS, 
    or Windows).
    Extract the compressed package and copy it to a 
    work folder. Then follow the install instructions for the appropriate platform 
	as described in the install information.</p>
	
    <h3><a href="install.html">Install Information</a></h3>
    <p>Information on compiling and installing Artistic Style. The Windows 
	and OpenVMS platforms come with a precompiled executable. Other platforms must compile 
	the project.
    Follow the instructions for the appropriate platform (Linux, Mac, OpenVMS, or 
	Windows).</p>
    
	<h3><a href="http://astyle.sourceforge.net/develop.html">Developer Information</a></h3>
	<p>Artistic Style has compile options for creating a shared library (DLL) or 
	static library for use with a Graphical User 
	Interface (GUI). See the Developer Information for the calling 
	procedure and other details. The following &quot;Links&quot; section has a sample 
	program that uses the interface. </p>
	
    <h3><a href="astyleX.html">Supplemental Documentation</a></h3>
    <p>There are some formatting problems with <code><nobr>--break-blocks</nobr></code> (or
    <code><nobr>--break-blocks=all</nobr></code>).</p>
    
    <h3>Bug Reports, Change Requests, Notification</h3>
    <p>Bug reports and change requests should submitted to the
    <a href="http://sourceforge.net/tracker/?group_id=2319&atid=102319">bug 
    tracker page</a>. It is best to log in to SourceForge before submitting a 
    report so you can be contacted if necessary. Note that code copied and 
    pasted into the bug report <strong>will not be indented</strong> after the 
    data is submitted. You must indicate the indentation when you submit the 
    request (e.g. replace leading spaces with periods).</p>
    <p>Notification of new releases is activated from the
    <a href="http://sourceforge.net/project/showfiles.php?group_id=2319">file 
    releases page</a>. In Latest File Releases, under Notes / Monitor, click on 
    the envelope. You will receive notification when a new release is available.</p>
    <p>To contact the project by email use the address
    <a href="mailto:jimp03@email.com">jimp03@email.com</a>. </p>
    
    <h3>Links</h3>
    <p><a href="http://www.geocities.com/jpattee/" target="_blank"
	title="open new window">Artistic Style for Windows</a> is a sample GUI program for Windows.  
	It uses an unmodified Artistic Style 
	program compiled for a GUI. The source code needs some work so the source is not available 
	for now. It should work under Linux using WINE. Future enhancements and 
	platform support will depend on the response to the sample program.</p>
	<p><a href="http://sourceforge.net/projects/universalindent" target="_blank"
	title="open new window">UniversalIndentGui</a> is a cross platform GUI for 
	several code formatters. 
	The main feature is a live preview to show how the selected formatting 
	options affect the source code. This allows review and testing of the 
    various options before formatting a file. It can be used with a sample file or with 
	your actual source code. It is a good way to try out the options from 
	various indentation programs.</p>
	<p>For Mac users there is a 
	<a href="http://assortedgeekery.com/archives/2005/03/22/reindenting-c-in-textwrangler-and-bbedit-using-astyle" 
	target="_blank" title="open new window">script</a> for 
	&quot;Reindenting C In TextWrangler and BBEdit Using Astyle&quot;. Selected text from 
	the editor can be passed to Artistic Style and replaced with the reformatted 
	text. Simply highlight the text you would like to reindent, choose the 
	script from the shebang (<code>#!</code>) menu, and the text will 
	immaculately formatted.</p>
	
	<h3>Developers </h3>
	
	<p>Artistic Style is maintained and updated by <a href="mailto:jimp03@email.com">Jim Pattee</a>. 
	The original author was Tal Davidson, Israel.</p>
	
   <h3>Acknowledgements </h3>
        <p>Thanks to Jim&nbsp;Watson, Fred&nbsp;Shwartz, W.&nbsp;Nathaniel&nbsp;Mills&nbsp;III, 
        Danny&nbsp;Deschenes, Andre&nbsp;Houde, Richard&nbsp;Bullington, Paul-Michael&nbsp;Agapow,  
        Daryn&nbsp;Adler, Dieter&nbsp;Bayer, Sam&nbsp;Cooler, Jim Duff for their patches and 
		contributions to Artistic Style.</p>
        <p>Thanks to <strong><a href="http://sourceforge.net">SourceForge</a></strong> 
        for giving Artistic Style its home.</p>
        <p>Thanks to all the dedicated beta-testers and bug notifiers!</p>
    <p><br>
    </p>
 	
</blockquote>	

<!-- bottom of document -->
	<h2 align="center">ENJOY !!!</h2>

</body>

</html>

⌨️ 快捷键说明

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