1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>AnyEdit tools plugin for Eclipse</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="author" content="Andrei Loskutov" />
<meta name="copyright" content="Copyright 2009 Andrei Loskutov" />
<meta name="description" content="AnyEdit plugin adds several new actions to the context menu of Text-based Eclipse editors" />
<meta name="keywords" content="Java, Eclipse, Plugin, Plugins, Anyedit, free, Whitespace, Spaces, Tabs, convert, open, type, file, trailing, Entities, jsp, Tool, Programmer, Loskutov" />
<meta name="revisit-after" content="3 Days" />
<meta name="robots" content="index, follow" />
<meta name="distribution" content="global" />
<meta name="rating" content="General" />
<meta name="audience" content="All" />
<link rel="stylesheet" href="http://andrei.gmxhome.de/styles/styles.css" type="text/css" />
<link rel="SHORTCUT ICON" href="http://andrei.gmxhome.de/favicon.ico" />
</head>
<body>
<table width="86%" border="0" align="center" cellpadding="8" cellspacing="0" class="mainTable">
<tr>
<td> <a href="http://andrei.gmxhome.de/index.html" class="box">Home</a> | <a href="http://andrei.gmxhome.de/eclipse.html" class="box">Eclipse
plugins</a> <strong>-></strong> <span class="menu">AnyEdit</span></td>
<td align="right">| <a href="http://andrei.gmxhome.de/privat.html" class="box">About</a></td>
</tr>
</table>
<br />
<table width="86%" border="0" align="center" cellpadding="20" cellspacing="0" class="mainTable">
<tr>
<td>
<a href="http://www.eclipse.org/org/foundation/eclipseawards/winners09.php" class="none" title="Eclipse ready"><img src="../images/finalist09.jpg" alt="Eclipse community awards 2009 finalist" width="144" height="144" border="0" align="right" class="none" /></a>
<h1>AnyEdit tools plugin for Eclipse</h1>
<blockquote>
<p> AnyEdit plugin adds several new tools to the context menu of text-
based Eclipse editors, to output consoles, to Eclipse main menu and editor toolbar. AnyEdit contributes also Import/Export working sets wizards.</p>
<p><a href="http://andrei.gmxhome.de/anyedit/features.html" class="box">What can AnyEdit do for you? </a></p>
<p> -> <a href="http://andrei.gmxhome.de/anyedit/examples.html" class="box"> AnyEdit examples</a> -> <a href="http://andrei.gmxhome.de/anyedit/preferences.html" class="box"> AnyEdit preferences </a> -> <a href="http://andrei.gmxhome.de/anyedit/examples2.html" class="box"> AnyEdit in action </a></p>
<p>AnyEdit can <strong>show</strong> the withespace (tabs vs spaces) in editors and may use custom project settings for tab<->spaces auto-convert-on-save feature.</p>
<p>AnyEdit can perform <strong>tabs <-> spaces</strong> convert on multiple files or entire directories and supports also file exclusion filter for tabs <-> spaces action.</p>
<p>AnyEdit
allows you <strong>automatically</strong> remove trailing whitespaces
and/or perform tabs<->spaces conversion on a "save" action in all
text- based Eclipse editors. It can automatically create a new line at the end of the file if the last line was not terminated by new line.</p>
<p>AnyEdit adds "<strong>Save All</strong>", "<strong>Open File</strong>" and "<strong>Show whitespace in editor</strong>" buttons to the global Eclipse toolbar and can remove "Print" button from it (because it is completely useless on Linux). </p>
<p>AnyEdit adds "<strong>Open File</strong>", "<strong>Open Type</strong>" and "<strong>Save to file...</strong>" actions to supported output consoles and "Save to file..." toolbar button to the Console view. </p>
<p> AnyEdit adds four new context menu actions to "<strong>Compare With</strong>" and "<strong>Replace With</strong>" menus in both editors and files. </p>
<p class="menu">Overview about *visible* contributions provided by AnyEdit tools:</p>
<table width="100%" border="0" cellpadding="4" cellspacing="0" style="border:dashed;border-width:thin;">
<tr>
<th width="30%" nowrap scope="col">What?</th>
<th width="20%" scope="col">Where?</th>
<th width="50%" scope="col">Details</th>
</tr>
<tr>
<td align="left" valign="top">Open File under Cursor</td>
<td align="left" valign="top">Editors, Console views, <a href="http://andrei.gmxhome.de/bytecode/index.html">Bytecode Outline View</a></td>
<td align="left" valign="top">Useful by many include's in jsp's, C/C++ files, file names in the console output etc. Can jump to the right line!<br />
Works with run/debug and Ant console too, support "jump to
line"!</td>
</tr>
<tr>
<td align="left" valign="top">Open Type under Cursor</td>
<td align="left" valign="top">Editors, Console views, <a href="http://andrei.gmxhome.de/bytecode/index.html">Bytecode Outline View</a></td>
<td align="left" valign="top">Useful for all xml's, tld's, jsp's etc files with referenced
Java types. <strong><br />
</strong>Works with run/debug and Ant console too! </td>
</tr>
<tr>
<td align="left" valign="top">Save to file... </td>
<td align="left" valign="top">Most of the Console views, <a href="http://andrei.gmxhome.de/bytecode/index.html">Bytecode Outline View</a> </td>
<td align="left" valign="top">Allows to save the console/view content and quickly reopen it in an editor. <br />
Works with most of the existing consoles! </td>
</tr>
<tr>
<td align="left" valign="top"><p>Edit<br />
Show Witespace </p> </td>
<td align="left" valign="top">"Edit" menu, main toolbar</td>
<td align="left" valign="top">Allows to show tabs and spaces colored in the text editor.
Has to be enabled once for the desired perspective via Window -> Customize Perspective -> Commands -> Whitespace </td>
</tr>
<tr>
<td align="left" valign="top">File Import / Export<br />
Working Sets </td>
<td align="left" valign="top">"File" menu </td>
<td align="left" valign="top">Allows you to store working set definitions to the file and apply them to the another workspace by importing them.</td>
</tr>
<tr>
<td align="left" valign="top">File<br />
Convert Tabs <-> Spaces </td>
<td align="left" valign="top">"File" menu </td>
<td align="left" valign="top">Enabled only if more then one file/folder is selected in Navigator or Project Explorer </td>
</tr>
<tr>
<td align="left" valign="top"><p>Convert <br />
Tabs to Spaces<br />
Spaces to Tabs</p> </td>
<td align="left" valign="top">Editors</td>
<td align="left" valign="top">Trailing whitespace
will be removed automatically</td>
</tr>
<tr>
<td align="left" valign="top"><p>Convert <br />
Chars
to Html entities<br />
Html Entities to Chars</p> </td>
<td align="left" valign="top">Editors</td>
<td align="left" valign="top">Useful if working
in bilingual team to convert é's, ô's, ä's
etc between html and other sources ;)</td>
</tr>
<tr>
<td align="left" valign="top">Convert <br />
Camel <-> Underscores</td>
<td align="left" valign="top">Editors</td>
<td align="left" valign="top">Auto-convert variable names from/to "camel" notation, like <br />
thisIsMyFieldName <-> this_is_my_field_name</td>
</tr>
<tr>
<td align="left" valign="top">Convert <br />
Capitalize</td>
<td align="left" valign="top">Editors</td>
<td align="left" valign="top">Only text selection in editor will be changed</td>
</tr>
<tr>
<td align="left" valign="top">Convert <br />
Invert
Case</td>
<td align="left" valign="top">Editors</td>
<td align="left" valign="top">Only text selection in editor will be changed</td>
</tr>
<tr>
<td align="left" valign="top">Convert <br />
To
Upper Case<br />
To
Lower Case</td>
<td align="left" valign="top">Editors</td>
<td align="left" valign="top">Only text selection in editor will be changed</td>
</tr>
<tr>
<td align="left" valign="top">Convert <br />
To Unicode Notation<br />
From Unicode Notation</td>
<td align="left" valign="top">Editors</td>
<td align="left" valign="top">Only text selection in editor will be changed</td>
</tr>
<tr>
<td align="left" valign="top">Convert <br />
To Base64<br />
From Base64</td>
<td align="left" valign="top">Editors</td>
<td align="left" valign="top">Only text selection in editor will be changed</td>
</tr>
<tr>
<td align="left" valign="top">Compare / Replace with<br />
Clipboard </td>
<td align="left" valign="top">Editors, Navigator, Project Explorer </td>
<td align="left" valign="top">If some text is selected in editor, then only this selection will be compared, otherwise entire editor</td>
</tr>
<tr>
<td align="left" valign="top">Compare / Replace with<br />
Workspace File... </td>
<td align="left" valign="top">Editors, Navigator, Project Explorer </td>
<td align="left" valign="top">If some text is selected in editor, then only this selection will be compared, otherwise entire editor</td>
</tr>
<tr>
<td align="left" valign="top">Compare / Replace with<br />
External File...</td>
<td align="left" valign="top">Editors, Navigator, Project Explorer </td>
<td align="left" valign="top">If some text is selected in editor, then only this selection will be compared, otherwise entire editor</td>
</tr>
<tr>
<td align="left" valign="top">Compare / Replace with<br />
Opened Editor...</td>
<td align="left" valign="top">Editors, Navigator, Project Explorer </td>
<td align="left" valign="top">If some text is selected in editor, then only this selection will be compared, otherwise entire editor</td>
</tr>
</table>
<p>This programm is free, see <a href="http://andrei.gmxhome.de/anyedit/copyright.html" class="box">copyright</a></p>
</blockquote>
<p class="titel">Users about AnyEdit</p>
<blockquote>
<p><a href="http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-123.html">Plugin page at Eclipse plugin central</a></p>
</blockquote>
<p class="titel">Installation</p>
<blockquote>
<p>Please use Eclipse update
manager to install this plugin.</p>
<p>Eclipse 3.3 - 3.4:</p>
<blockquote>
<p>Go to "Help -> Software Updates -> Find
and Install... -> Search for new features to install -> Next -> New
Remote Site..." </p>
</blockquote>
<p>Eclipse 3.5:</p>
<blockquote>
<p>Go to "Help -> Install new Software... -> Work with:" </p>
</blockquote>
<p>and use the <strong>http://andrei.gmxhome.de/eclipse/</strong> as
url.</p>
<p>Please also read <a href="http://andrei.gmxhome.de/anyedit/faq.html">the
FAQ</a>!<a name="usage" class="none"></a></p>
</blockquote>
<p class="titel">Manual download</p>
<blockquote>
<p><a href="http://andrei.gmxhome.de/anyedit/links.html" class="box">Here</a></p>
<p><a href="http://code.google.com/p/anyedittools/source/checkout" class="box">Browse source code</a></p>
</blockquote>
<p class="titel">Why AnyEdit </p>
<blockquote>
<p>"<strong>Open file</strong>" acton was inspired by refactoring
of one big J2EE project that heavily used "included" JSP
files. Some times it was necessary to traverse 5 nested includes to
find a field declaration, thus 5 times open package explorer and search
for the next file, brrr. With "<span class="code">Open file
under cursor</span>" this is a single click action. This works
from Eclipse debug/Ant console too - moreover, if line information
is included, then the right source line will be selected in editor! </p>
<p>"<strong>Open type</strong>" acton was inspired by
working with web.xml/weblogic.xml/*.tld/*.jsp files.
You can now simply change from XML to the Java editor if you want
to see the declaring Java class, without typing the Java class name
in the "Open
type" dialog. This works from the Eclipse Ant/debug console too!</p>
<p>"<strong>Convert Spaces/Tabs</strong>" action set was inspired
by Rahul Kuchhal's whitespace plugin and good old UltraEdit. The main difference is that my
plugin doesn't change line ends while performing "spaces" operations.
E.g. if you edit a Unix text file on Windows PC, Rahul's plugin automatically
convert all line ends into DOS format (from "\n" to "\r\n")
and vice versa. The same is for Mac/Unix, Mac/DOS text files too. This
is angry for version control systems, diff tools etc. The trailing whitespace and/or tabs<->spaces
conversion could be performed automatically on "save" action
in nearly all text editors, even in editors which are not directly
supported by AnyEdit context menu actions.</p>
<p>And the rest is now just history :o)</p>
<p>This program is free, see <a href="copyright.html">copyright</a>. </p>
</blockquote>
<p class="titel">Editor / Console integration</p>
<blockquote>
<p>For almost of Eclipse text editors this is done automatically. It works with
default Eclipse Java and Text editors, with <a href="http://www.eclipse.org/webtools/index.html">Web
Tools</a> from IBM, <a href="http://www.myeclipseide.com">MyEclipse</a>,
SolarEclipse and Loboz JSP editors, JavaScript editor form Harish Kataria, <a href="http://www.eclipse-plugins.info/eclipse/plugin_details.jsp?id=266">EclipseColorer</a>, <a href="http://www.eclipse-plugins.info/eclipse/plugin_details.jsp?id=178">ColorEditor</a>, <a href="http://www.phpeclipse.de/">PHPEClipse</a>, <a href="http://cfeclipse.org/index.html">CFEclipse</a>, CDT editors, <a href="http://e-p-i-c.sourceforge.net/">EPIC</a> (Perl), Zend <a href="http://www.eclipse.org/php/">PHP</a>, <a href="http://pydev.sourceforge.net/">PyDev (Python development environment)</a>, <a href="http://www.trex.informatik.uni-goettingen.de/trac">TRex TTCN3</a>, <a href="http://www.adobe.com/products/flex/">Adobe Flex</a>, <a href="http://www.aptana.com/products/">Aptana Studio</a> and I think with almost anyone text editor too. </p>
<p>Console integration for "Save to file:" Ant, Java run / debug / stack trace, External tools, CVS, CDT make etc.</p>
<p>Please do not hesitate to contact me if
your editor/view/console is not supported. </p>
<p>Please also read <a href="http://andrei.gmxhome.de/anyedit/faq.html">the
FAQ</a>!</p>
</blockquote>
<p class="titel">Usage</p>
<blockquote>
<p>For "<span class="code">Convert Tabs<->Spaces</span>" actions on a single file
you can right-click anywhere in current editor and then select preferred
action to run. Whole editor buffer will be changed, trailing whitespace
will be removed automatically.</p>
<p>For "<span class="code">Convert Tabs<->Spaces</span>" on a number of files, just select these files or directories in Navigator view and use "File->Convert Tabs<->Spaces" window menu. All selected text files and all text files in selected directory hierarchy would be checked out and "Tabs<->Spaces" would be executed on each file. This operation could not be undone without version control system, so be careful by using it. You may exclude files per project/global settings from this operation, using AnyEdit preferences. </p>
<p>For "<span class="code">Convert Chars/Html/Case</span>" actions
you must select some text, then right-click on current selection and then
select preferred action to run. Only the selected text will be changed.</p>
<p>For "<span class="code">Open</span>" actions place cursor into file/java type string
and select preferred action to run. You can also select a part of file/type
and then click on "<span class="code">Open</span>" action. In both cases AnyEdit will try
to determine right file/type, and if it is found, will open file/type in
associated Eclipse editor.</p>
<p>"<span class="code">Convert Tabs<->Spaces</span>" actions uses
tab width from AnyEdit Preference page to replace tabs with spaces/vice
versa (except Java editor, which formatter preferences could be used instead). </p>
<p><span class="red">Note</span>: As default, trailing whitespace
will be removed automatically on save and while "<span class="code">Convert
spaces/tabs</span>" actons, but you can turn this behavoir
off in AnyEdit preferences.</p>
<p>"<span class="code">Open File</span>" action
uses special characters from AnyEdit Preference page to guess file
name/path under cursor. It uses the simply string search for a continuous
character sequence with allowed/required in path characters. Found character
sequence can be the full file path or only one part of them, therefore
plugin will search for this character sequence first relative to current
document and if nothing found, in entire project/workspace and then on
local file system.</p>
<p>Import/Export working sets wizards allows you to store working set definitions to the file and apply them to the another workspace by importing them. This is especially useful when working on big workspaces containing same set of projects (each workspace represents just different product version or branch). Please first import projects into the workspace, and then working sets, otherwise working sets would be imported but empty. </p>
<p><span class="red">Note:</span> only working set <strong>descriptions</strong> would be imported/exported, and <strong>not</strong> the resources included in the working sets. </p>
<p>Please also read <a href="http://andrei.gmxhome.de/anyedit/faq.html">the
FAQ</a>, <a href="http://andrei.gmxhome.de/anyedit/examples.html">examples</a>, <a href="http://andrei.gmxhome.de/anyedit/preferences.html">preferences</a> and <a href="http://andrei.gmxhome.de/anyedit/examples2.html">AnyEdit in action</a>! </p>
</blockquote>
<p class="titel">Feedback</p>
<blockquote>
<p>Please send comments and suggestions to <img src="http://andrei.gmxhome.de/images/loskutov.gif" alt="loskutov" width="130" height="12" align="top" /></p>
<p><a href="http://code.google.com/p/anyedittools/issues/list" class="box">Open issues / Report new issues </a></p>
<form action="http://www.eclipseplugincentral.com/Web_Links.html" method="post">
<input type="hidden" name="lid" value="104" />
<input type="hidden" name="req" value="ratelink" />
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td nowrap>Like it? Rate this plugin at <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-104.html">Eclipse Plugin Central:</a></td>
<td><input name="submit" type="submit" value="Vote!" /></td>
</tr>
<tr>
<td width="34%">or add AnyEdit to your stack at <a href="http://www.ohloh.net/p/anyedittools">Ohloh</a>:</td>
<td width="66%"><script type="text/javascript" src="http://www.ohloh.net/p/55543/widgets/project_users_logo.js"></script></td>
</tr>
</table>
</form>
</blockquote>
<p class="titel">History</p>
<blockquote>
<p class="red">New in version 2.2.0 (Eclipse 3.3-3.5 only) [26.04.2009]</p>
<p><strong>This is a major version change. Please do not hesitate to <a href="http://code.google.com/p/anyedittools/issues/list">report any issues you found</a>.</strong></p>
<p>Main driver is the technical change of the way how AnyEdit contributes to the Eclipse context menu. AnyEdit behavior is changed from <strong>dedicated</strong> contribution to some well known editors/consoles to the <strong>global</strong> contribution to all text editors/consoles (with some filtering).</p>
<ul>
<li>
<p>Most of existing text editors / consoles are now supported by default (I guess 99%).</p>
</li>
<li>
<p>I can't test ALL previously supported editors, so some of them can be not supported anymore. My guess is that this can happen only for some very poor coded plugins, so just don't care in this case ;-)</p>
</li>
<li>
<p>Added preference to hide "Open Type" menu entry (if you do not use JDT, why you should be bothered by this menu entry?)</p>
</li>
<li>
<p>Bugfix: NoClassDefFoundError on "Open Type" action with Eclipse 3.5 </p>
</li>
</ul>
<br />
<p class="red">Here you can see <a href="http://andrei.gmxhome.de/anyedit/history.html" class="box">older
versions history </a> </p>
</blockquote>
<p class="titel">Some project statistics by <a href="http://www.ohloh.net/p/anyedittools">Ohloh</a> </p>
<blockquote>
<div>
<script type="text/javascript" src="http://www.ohloh.net/p/55543/widgets/project_cocomo.js"></script>
</div>
</blockquote></td>
</tr>
</table>
<p align="center"><i><small>Last changed at:
<!-- #BeginDate format:Br1m -->07.06.09 22:33<!-- #EndDate -->
</small></i></p>
</body>
</html>
|