`
sunxboy
  • 浏览: 2869487 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

AnyEdit tools plugin for Eclipse

阅读更多

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 examples -> AnyEdit preferences -> AnyEdit in action

AnyEdit can show the withespace (tabs vs spaces) in editors and may use custom project settings for tab<->spaces auto-convert-on-save feature.

AnyEdit can perform tabs <-> spaces convert on multiple files or entire directories and supports also file exclusion filter for tabs <-> spaces action.

AnyEdit allows you automatically 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.

AnyEdit adds "Save All ", "Open File " and "Show whitespace in editor " buttons to the global Eclipse toolbar and can remove "Print" button from it (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.

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!

Edit
    Show Witespace

"Edit" menu, main toolbar 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
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 automatically

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
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

This programm is free, see copyright

Installation

Please use Eclipse update manager to install this plugin.

Eclipse 3.3 - 3.4:

Go to "Help -> Software Updates -> Find and Install... -> Search for new features to install -> Next -> New Remote Site..."

Eclipse 3.5:

Go to "Help -> Install new Software... -> Work with:"

and use the http://andrei.gmxhome.de/eclipse/ as url.

Please also read the FAQ !

Manual download

Here

Browse source code

Why AnyEdit

"Open file " 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 "Open file under cursor " 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!

"Open type " 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!

"Convert Spaces/Tabs " 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.

And the rest is now just history :o)

This program is free, see copyright .

Editor / Console integration

For almost of Eclipse text editors this is done automatically. It works with default Eclipse Java and Text editors, with Web Tools from IBM, MyEclipse , SolarEclipse and Loboz JSP editors, JavaScript editor form Harish Kataria, EclipseColorer , ColorEditor , PHPEClipse , CFEclipse , CDT editors, EPIC (Perl), Zend PHP , PyDev (Python development environment) , TRex TTCN3 , Adobe Flex , Aptana Studio and I think with almost anyone text editor too.

Console integration for "Save to file:" Ant, Java run / debug / stack trace, External tools, CVS, CDT make etc.

Please do not hesitate to contact me if your editor/view/console is not supported.

Please also read the FAQ !

Usage

For "Convert Tabs<->Spaces " 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.

For "Convert Tabs<->Spaces " 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.

For "Convert Chars/Html/Case " 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.

For "Open " 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 "Open " 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.

"Convert Tabs<->Spaces " 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).

Note : As default, trailing whitespace will be removed automatically on save and while "Convert spaces/tabs " actons, but you can turn this behavoir off in AnyEdit preferences.

"Open File " 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.

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.

Note: only working set descriptions would be imported/exported, and not the resources included in the working sets.

Please also read the FAQ , examples , preferences and AnyEdit in action !

分享到:
评论

相关推荐

    Google Plugin for Eclipse 4.3

    安装Google Plugin for Eclipse 4.3通常通过Eclipse的内置软件更新功能完成,用户可以在Eclipse的"Help"菜单中选择"Install New Software",然后添加Google的更新站点进行安装。安装后,需要根据开发者的需求配置...

    Google Plugin for Eclipse 4.2

    《Google Plugin for Eclipse 4.2:打造高效谷歌开发环境》 在软件开发领域,集成开发环境(Integrated Development Environment,简称IDE)扮演着至关重要的角色,它为开发者提供了集编码、调试、测试于一体的高效...

    google plugin for eclipse

    "Google Plugin for Eclipse" 是一款由Google开发的集成开发环境(IDE)插件,专为Eclipse设计,目的是为了方便开发者在Eclipse中进行Google相关的应用开发,如Android应用、Google App Engine应用等。这款插件提供了...

    JavaScript plugin for eclipse3.5 spket-1.6.18 破解版

    JavaScript plugin for eclipse3.5 spket-1.6.18 破解版

    weblogic 8.1 plugin for Eclipse 3.4

    weblogic 8.1 plugin for Eclipse 3.4 weblogic 8.1 plugin for Eclipse 3.4 weblogic 8.1 plugin for Eclipse 3.4

    Arm(keil) plugin for eclipse(luna)

    **标题:“Arm(keil) plugin for eclipse(luna)”** 这个标题表明我们正在讨论一个针对Eclipse Luna版本的插件,该插件专门用于支持基于Arm的MDK(Keil Microcontroller Development Kit)项目开发。Eclipse是一款...

    Google Plugin for Eclipse 3.5 离线安装包 part2

    Google Plugin for Eclipse 3.5 离线安装包 part2 分享给需要的人 支持eclipse 3.5 myeclipse 8.X

    google plugin for eclipse juno(4.2)

    离线安装google plugin for eclipse,由于eclipse自带的market不给力,那就选择离线安装。 下载后,打开eclipse,选择 install new software,Add,Location中定位到下载的zip文件,然后选择需要安装的组件,Next,...

    Google Plugin for Eclipse 4.2(GPE)

    《Google Plugin for Eclipse 4.2 (GPE)——打造高效GWT开发环境》 Google Plugin for Eclipse 4.2,简称GPE,是Google专为Eclipse集成开发环境(IDE)4.2版本(Juno)设计的一款强大插件。这款插件的主要功能是...

    google plugin for eclipse (eclipse的gwt插件)

    这个是eclipse 安装gwt的Google插件,是4.6最新版本。可以完美支持本地安装。eclipse 安装gwt环境的具体操作可以看我的博客http://blog.csdn.net/u011521382

    Google Plugin for Eclipse 4.3(GPE)

    Google Plugin for Eclipse (GPE) 是Google为Eclipse IDE提供的一款强大的插件,专为Eclipse 4.3(Kepler)版本设计。这个插件的主要目的是支持Google Web Toolkit (GWT) 的开发,让开发者能够在Eclipse环境中高效地...

    ADT Plugin for Eclipse

    总之,ADT Plugin for Eclipse是Android开发者不可或缺的工具,它极大地简化了Android应用的开发流程,提高了开发效率,同时也提供了全面的调试和支持功能,帮助开发者创造出高质量的Android应用程序。尽管现在...

    GWT Plugin For Eclipse (1)

    GWT Plugin For Eclipse (1) Google Web Toolkit

    Weblogic Server Tools for eclipse 3.5

    WebLogic Server Tools for Eclipse 3.5 是一个强大的开发工具集,专为在Eclipse集成开发环境中(IDE)高效管理、部署和调试Oracle WebLogic Server应用程序而设计。这个版本为开发人员提供了无缝的工作流程,使得在...

    MongoDB plugin for eclipse

    MongoDB is a kind of Nosql. with this plugin you can develope MongoDB in a UI .

    Google Plugin for Eclipse(用于Google App Engine开发)

    因为使用Eclipse中的“install new soft”非常慢,或者根本找不到资源,所以提供这个包(For Eclipse 4.3 kepler)。使用方法:在eclipse安装目录下找到dropins,新建子目录xxx(任意名字),解压此插件后复制到xxxx...

    liquibase plugin for eclipse

    "Liquibase plugin for Eclipse" 就是专门为Eclipse设计的一个插件,使得在Eclipse中使用Liquibase变得更加方便。 该插件的版本为1.2.0,对应的压缩包名为"com.svcdelivery.liquibase.eclipse.site-1.2.0.zip",这...

    Hadoop plugin for eclipse

    Eclipse是广泛使用的Java集成开发环境(IDE),而"Hadoop plugin for eclipse"正是为了让Eclipse具备对Hadoop项目开发的支持。这个插件允许开发者在Eclipse中直接创建、配置、运行和调试Hadoop MapReduce和HDFS相关...

    RMI plugin for eclipse keygen

    crack for RMI plugin for eclipse keygen; plugin v2.x eclipse v3.x

    google plugin for eclipse 4.3 最新离线安装包

    《Google Plugin for Eclipse 4.3:离线安装详解与应用》 Google Plugin for Eclipse(GPE)是一款专为Eclipse IDE设计的扩展插件,主要用于支持Google Web Toolkit(GWT)的开发工作。在Eclipse 4.3版本中,由于...

Global site tag (gtag.js) - Google Analytics