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

Latest commit

 

History

History
executable file
·
67 lines (42 loc) · 1.58 KB

README.rst

File metadata and controls

executable file
·
67 lines (42 loc) · 1.58 KB

idea-sourcetrail

Sourcetrail plugin for idea IDEs like Intellij or CLion. Provides synchronization with Sourcetrail.

Install

  1. File | Settings... (or IntelliJ IDEA | Preferences... for macOS) to open the Settings
  2. Go to Plugins
  3. Click Marketplace tab
  4. Search for idea-sourcetrail
  5. Click Install for idea-sourcetrail plugin

Usage

From Sourcetrail to IDE

Right click in sourcetrail > Set IDE Curor | In the IDE should now open the file and put the cursor in the position form sourcetrail.

From IDE to Sourcetrail

Navigate your textcursor to the location.

  • Right click -> Send Location

Preferences

  • File -> Settings... or Crtl + Alt + s to open the Settings
  • OtherSettings -> Sourcetrail Settings

Ports and IP

You can change the ports and ip. Make sure you use the same settings in Sourcetrail

Keyboard shortcut

  • File -> Settings... or Ctrl + Alt + s to open the Settings
  • Go to Keymaps and search for sourcetrail
  • Add Shortcut to Send Location

Building

This Plugin is build with Gradle. Before running any Gradle tasks on this project, please add a gradle.properties file to the project that defines the publishUsername and the publishPassword variables. If you don't plan on publishing the plugin, you can define them as empty.

Simply run:

gradle buildPlugin

or run:

gradle tasks

to see what other tasks are available.