This is an Eclipse plugin that adds commands to cut and copy a complete line or the selected text, depending on the selection. If there is no text selected then the complete line is cut / copied. Otherwise the selected text is cut / copied as usual.
Published on the Eclipse Marketplace
Update Site: https://raw.githubusercontent.com/achimmihca/EclipseLineShortcuts/release/updatesite
The following explains how to set up your Eclipse IDE to continue the development of this plugin.
-
Clone the repository
-
Download and start Eclipse
-
Install the plugin Development Tools (PDE) if not done yet
- Help > Install New Software...
- Work with
download.eclipse.org/releases/...
- Select 'General Purpose Tools' > 'Eclipse Plugin Development Environment.'
-
Import the projects from the cloned repository
- File > Import... > Existing Projects Into Workspace
- Select the repository location and import all projects
-
Configure the Target Platform. It must contain all required plugins and should not contain to much bloat, such that the test environment starts up quickly.
-
Run the plugin in a new Eclipse instance.
- Use a launch configuration for an Eclipse Application and select on the plug-ins tab the plugins from the target-platform and the current workspace.
-
Use spaces instead tabs: Preferences > General > Editors > Text Editors > Insert spaces for tabs: true
-
Enable UTF-8 encoding: Preferences > General > Workspace > Text file encoding: UTF-8
-
You can find the code style configuration in
config/code-style
.
The Eclipse Update Site for this plugin is hosted also on GitHub. You find it in the 'updatesite' folder. The folder in the 'master' branch is for alpha versions and pre-release testing, whereas the 'release' branch contains the released versions of the plugin that are considered stable.
The plugin project contains the code for the plugin. On the other hand, the feature project (ends with '.feature') contains information to bundle and deploy the plugin as an Eclipse Update Site.