Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.
/ eSourcetrail Public archive

Eclipse plugin to communicate with Sourcetrail

License

Notifications You must be signed in to change notification settings

CoatiSoftware/eSourcetrail

Repository files navigation

Build Status

eSourcetrail

eSourcetrail is a plugin for Eclipse to synchronize the displayed content with Sourcetrail.

Install

To add this plugin to your Eclipse installation, just add the updatesite of this plugin to Eclipse via via "Help" -> "Install New Software..."

http://CoatiSoftware.github.io/eSourcetrail/updatesite

Usage

To use the functionality of this plugin you need to have an open project in your workspace.

Sourcetrail to Eclipse Synchronization

  • With a source file displayed in Sourcetrail's code view, right click a location in the code view and from the context menu choose "Set IDE Cursor"
  • Now Eclipse should open the respective file and place the cursor at the position sent form Sourcetrail.

Eclipse to Sourcetrail Synchronization

  • With a source file displayed in Eclipse, you can
    • either right click a location in the code and from the context menu choose "eSourcetrail" -> "Send Location to Sourcetrail"
    • or position your text cursor at a location in the code and press the configured shortcut (See section Preferences: Keyboard shortcuts below.
  • Now Sourcetrail should open the respective file and place the cursor at the position sent form Eclipse.

Preferences

In Eclipse you can find and change the Sourcetrail plugin settings at "Window" -> "Preferences".

Ports

In the category "Sourcetrail Preferences" you can change the ports that are used by Eclipse and Sourcetrail to communicate. Make sure that the same settings are applied to both, Eclipse and Sourcetrail.

Keyboard shortcuts

In the category "General" -> "Keys" you can bind the keyboard shortcut for the action ActivateToken to configure the input that triggers Eclipse to send your current text cursor location to Sourcetrail.

Building

This project is built using Eclipse Tycho and requires at least maven 3.0 to be built via CLI. From the root directory of the cloned repository simply run:

$ mvn install

The first run will take quite a while since maven will download all the dependencies that are required to build everything.

In order to use the generated eclipse plugins in Eclipse, you will need m2e and the m2eclipse-tycho plugin.

You can add these plugins to your Eclipse installation by adding these update sites:

Development

New Version number

mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=<newVersion>

About

Eclipse plugin to communicate with Sourcetrail

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published