AnyEdit Tools

Add this URL to your Eclipse Installation to reach this solution's update site.

2024-09 (4.33), 2024-06 (4.32), 2024-03 (4.31), 2023-12 (4.30), 2023-09 (4.29), 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15)

https://raw.githubusercontent.com/iloveeclipse/plugins/latest/

Learn more...
Solution Description

Eclipse community awards 2009 finalist

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.

What can AnyEdit do for you?

AnyEdit can perform tabs <-> spaces conversion on multiple files or entire directories.

AnyEdit has both workspace and project settings and allows also file exclusion filter for tabs <-> spaces action.

AnyEdit allows you automatically remove trailing whitespace, perform tabs<->spaces conversion and fix line delimiters (Windows: CRLF<->Linux: LF<->Mac: CR) on the "save" action in all text-based Eclipse editors. Also AnyEdit can automatically create a new line at the end of the file if the last line was not terminated by new line.

AnyEdit adds "Save All" and "Open File" buttons to the global Eclipse toolbar and can remove "Print" button from it on Eclipse 3.x (because it is completely useless on Linux).

AnyEdit adds "Open File", "Open Type" and "Save to file..." actions to supported output consoles and "Save to file..." toolbar button to the Console view.

AnyEdit adds four new context menu actions to "Compare With" and "Replace With" menus in both editors and files.

Overview about *visible* contributions provided by AnyEdit tools:

What?

Where?

Details

Open File under Cursor

Editors, Console views, Bytecode Outline View

Useful by many include's in jsp's, C/C++ files, file names in the console output etc. Can jump to the right line!
Works with run/debug and Ant console too, support "jump to line"!

Open Type under Cursor

Editors, Console views, Bytecode Outline View

Useful for all xml's, tld's, jsp's etc files with referenced Java types.
Works with run/debug and Ant console too!

Save to file...

Most of the Console views, Bytecode Outline View

Allows to save the console/view content and quickly reopen it in an editor.
Works with most of the existing consoles!

Format Stack Trace

Java Stack Trace Console view

Formats the ill-formated stack traces (like from some JUnit test reports).

Edit
    Color Witespace in Editors

"Edit" menu, main toolbar

Allows to show tabs and spaces colored in the text editor. Shows trailing whitespace in a "Gerrit" mode per default. Has to be enabled once for the desired perspective via Window -> Customize Perspective -> Commands -> Whitespace

File Import / Export
    Working Sets

"File" menu

Allows you to store working set definitions to the file and apply them to the another workspace by importing them.

File
    Convert Tabs <-> Spaces

"File" menu

Enabled only if more then one file/folder is selected in Navigator or Project Explorer

Convert
    Tabs to Spaces
    Spaces to Tabs

Editors

Trailing whitespace will be removed and line delimiters will be fixed automatically (if set in preferences)

Convert
    Chars to Html entities
    Html Entities to Chars

Editors

Useful if working in bilingual team to convert é's, ô's, ä's etc between html and other sources ;)

Convert
    Camel <-> Underscores

Editors

Auto-convert variable names from/to "camel" notation, like
thisIsMyFieldName <-> this_is_my_field_name

Convert
    Capitalize

Editors

Only text selection in editor will be changed

Convert
    Invert Case

Editors

Only text selection in editor will be changed

Convert
    To Upper Case
    To Lower Case

Editors

Only text selection in editor will be changed

Convert
    To Unicode Notation
    From Unicode Notation

Editors

Only text selection in editor will be changed

Convert
    To Base64
    From Base64

Editors

Only text selection in editor will be changed

Sort
    Case-Sensitive A-z
    Case-Sensitive z-A
    Case-Insensitive A-Z
    Case-Insensitive Z-A
    Numerically 0-9
    Numerically 9-0
    Line Length Short-Long
    Line Length Long-Short

Editors

If nothing is selected, entire editor content will be sorted, otherwise only text selection in editor will be changed

Compare / Replace with
    Clipboard

Editors, Navigator, Project Explorer

If some text is selected in editor, then only this selection will be compared, otherwise entire editor

Compare / Replace with
    Workspace File...

Editors, Navigator, Project Explorer

If some text is selected in editor, then only this selection will be compared, otherwise entire editor

Compare / Replace with
    External File...

Editors, Navigator, Project Explorer

If some text is selected in editor, then only this selection will be compared, otherwise entire editor

Compare / Replace with
    Opened Editor...

Editors, Navigator, Project Explorer

If some text is selected in editor, then only this selection will be compared, otherwise entire editor

Current version works with Eclipse from 3.8 to 4.6 and requires Java >= 1.7, but older AnyEdit versions for Eclipse 2.1 up to 3.7 may be downloaded from the homepage too.

See more details at the AnyEdit Tools homepage and Github project page.

Support development of the plugin!

 

 

My other plugins on EPIC:

 

Additional Details

Eclipse Versions: 2024-09 (4.33), 2024-06 (4.32), 2024-03 (4.31), 2023-12 (4.30), 2023-09 (4.29), 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: Andrey Loskutov

Development Status: Production/Stable

Date Created: Wednesday, February 18, 2004 - 19:29

License: EPL

Date Updated: Wednesday, July 17, 2024 - 02:33

Submitted by: Andrey Loskutov

Date Ranking Installs Clickthroughs
December 2024 55/423 38 2
November 2024 54/658 597 16
October 2024 50/663 708 11
September 2024 46/642 744 11
August 2024 51/641 572 16
July 2024 49/663 617 23
June 2024 50/681 697 15
May 2024 65/682 613 17
April 2024 62/687 657 13
March 2024 64/694 706 10
February 2024 63/687 582 277
January 2024 67/691 629 10
View Data for all Listings

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for AnyEdit Tools.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

I cannot install from Marketplace. Other plugins - no issues, so it means required certificates are installed.
When checking this page manually (from web browser), I got 404 error:
https: // raw.githubusercontent.com/iloveeclipse/plugins/latest/content.xml
 

 

In reply to by Zbigniew Kacprzak

Hello,

I really love your plugin and i confirm the error when installing
from MarketPlace with 2020-09 version :

The error popup contains :

Unable to read repository at
https :// raw.githubusercontent.com/iloveeclipse/plugins/latest/content.xml.
Received fatal error : handshake_failure

Need to renew a cert, may be ? ;-)

Thk, see you later !
 

This feature is available in many Eclipse editors as an optional configuration - that is disabled by default as it is an action that is surprising and destructive (changes file content unexpectadly in regions that were not edited), and installing this plugin may look like there's a bug in eclipse where an undesired is not enabled by default - with no option to disable it.

Users should be aware that installing this plugin enables a destructive behavior by default without any warning to the user.

And to the author of the plugin: if you are concerned about trailing whitespace enough to warrant their removal, then please pay attention that there are other people that might be concerned about tailing whitespace enough to want them to stay, and making changes to user's files without the user requesting the change is never OK!

I've narrowed it down to this plugin (that I'm a big fan of!): with the plugin installed, cut+paste is sluggish, as is general editor utilization.  Once the plugin is uninstalled, everything works smoothly again.

This is verified on a fresh Eclipse JEE install, where this is the only additional plugin installed.

Cheers!

In reply to by Andreas öhmann

I tried again ...

Cannot complete the install because one or more required items could not be found.
Software currently installed: AnyEditTools 2.7.1.201709201439 (AnyEditTools.feature.group 2.7.1.201709201439)
Missing requirement: AnyEdit Tools 2.7.1.201709201439 (de.loskutov.anyedit.AnyEditTools 2.7.1.201709201439) requires 'osgi.ee; (&(osgi.ee=JavaSE)(version=1.7))' but it could not be found
Cannot satisfy dependency:
From: AnyEditTools 2.7.1.201709201439 (AnyEditTools.feature.group 2.7.1.201709201439)
To: org.eclipse.equinox.p2.iu; de.loskutov.anyedit.AnyEditTools [2.7.1.201709201439,2.7.1.201709201439]

 

In reply to by Andreas öhmann

So why not open a bug at the famous STS bug tracker? This is obviuosly not a problem of a plugin if the STS runtime platform is not able to install it. As said, AnyEdit works on *all* supported Eclipse releases up to latest 4.8 nightly, and I guess that this STS thingy is simply broken: "requires 'osgi.ee; (&(osgi.ee=JavaSE)(version=1.7))' but it could not be found".

The ability to compare open files alone is the biggest timesaver. Lots of other cool utilities.
I'm glad this package is still supported for the archaic version of Eclipse that I'm still using :-)

This is a simple, reliable and handy plugin. It works like a charm on my Eclipse CDT with the Lua Development Tools plugin.

Great job!