Download Latest Version TextToolsPlugin_2.3.0.201506271154.jar (33.8 kB)
Email in envelope

Get an email when there's a new version of Eclipse Tiny Plugins

Home / TextToolsPlugin
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2015-06-27 3.8 kB
TextToolsPlugin_2.3.0.201506271154.jar 2015-06-27 55.0 kB
CHANGELOG 2015-06-27 1.0 kB
TextToolsPlugin_2.2.0.201405242210.jar 2014-05-24 47.8 kB
TextToolsPlugin_2.1.0.201307071847.jar 2013-07-07 46.6 kB
TextToolsPlugin_2.0.0.201306262335.jar 2013-06-26 23.7 kB
TextToolsPlugin_1.0.0.201211062105.jar 2012-11-06 12.7 kB
Totals: 7 Items   190.6 kB 0

TextTools Plug-in for Eclipse, version 2.3.0

Description

A collection of text tools extending the Eclipse text editors and newly also the Mylyn. The tools / commands are available in the pop-up menu when a user right-clicks in any "standard-enough" text editor (so e. g. the Mylyn's task comment editor is not supported). The commands can also be invoked via a keyboard shortcut (one can redefine them in Eclipse preferences, of course).

The commands are:

  • Remove Diacritics (Ctrl+Alt+Shift+D) ... removes accents from the selected text

  • changes.xml ... tools for editing the changes.xml file for the Maven Changes Plugin

  • |-- Insert <action> From the Current Task (Ctrl+Alt+Shift+T, A) ... inserts a new <action> element based on the data of the currently activated Mylyn task. Define (e. g. in eclipse.ini) a system variable named "default.task.owner" to override the string which is output in the "dev" attribute (defaults to the owner of the task).

  • |-- Create <release> Tag (Ctrl+Alt+Shift+R, C) ... for now, it simply just always outputs this: <release date="in SVN" description="" version="${version}-SNAPSHOT"></release>

  • |-- Finish <release> Start Tag (Ctrl+Alt+Shift+R, F) ... takes a selected <release> tag and converts it to <release date="now as yyyy-mm-dd" description="" version="${version}">, so the file gets ready for a Maven release.

The commands contributed to the Mylyn task editor context menu are:

  • Sum Hours...

  • |-- From (Measured Time|Text) To (the Add Field|Clipboard) ... tired of manually filling in the hours worked? These commands do what is written, simply choose the variant which suits you the best. The commands modifying the 'Add' field were tested with tasks from Bugzilla and from JIRA.

Installation

Simply put the downloaded plug-in jar into the eclipse/dropins folder and restart Eclipse.

Debugging

Launch Eclipse with the -consoleLog option to see output written from the plug-in.

Implementation notes

Requirements

  • Java 6 or more
  • Eclipse (tested on 3.6 aka Helios)
  • Mylyn (for the 'Insert <action> From the Current Task' command and the task editor commands)

Meta

Future features?

  • changes.xml actions for the <release> tag: Look for (check) release version in pom.xml of the parent project.
  • Insert <action> From the Current Task: Enable selecting a task from list of available tasks instead of always using the currently activated task.
  • Insert <action> From the Current Task: Enable definition of the default task owner via Preferences instead of a system property.
  • Make the changes.xml commands output generally more customizable (to suit various conventions).
  • Customizable format of the 'Sum Hours...' commands output.
Source: README.md, updated 2015-06-27