Skip to Content
Softagram
  • Home
  • Services
    • ERP
    • AI Services
    • Security
  • Company
  • Contact
  • Blog
    • News
    • Guides
  • Tech
  • Sign in
  • Contact Us
Softagram
      • Home
      • Services
        • ERP
        • AI Services
        • Security
      • Company
      • Contact
      • Blog
        • News
        • Guides
      • Tech
    • Sign in
    • Contact Us

    How to set-up source code integration with OpenGrok

    Tutorials
  • All Blogs
  • Oppaat
  • How to set-up source code integration with OpenGrok
  • January 15, 2018 by
    How to set-up source code integration with OpenGrok
    Ville Laitila

    First, you'll need to open Preferences, and then insert the OpenGrok URL.

    1. Go to menu, open Tools => Preferences.

    2. Edit OpenGrok URL settings to have below value (if using open source, or any other custom URL if using your own)

    http://code.metager.de/source/xref


    Finalize the setting with Save Settings button, and then you may try the new feature by right-clicking some element in the view and select Jump to Source which will open your browser tab to show the element in OpenGrok.

    For example, here we show the code from coord.h in inkscape project:


    ​My project is more complex than that, what to do?

    In case your project is more complex, e.g. the repository is named differently in Softagram and in OpenGrok, then you may need set also OpenGrok Strip Path Level to have custom value (default is 2). For example, in case your repo is named foo in Softagram but bar in OpenGrok, you need to use this method to get it working.
    OpenGrok URL:   http://code.metager.de/source/xref/bar
    OpenGrok Strip Path Level: 3

    Originally published at help.softagram.com

    in Oppaat
    # Softagram Analyzer

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Ota yhteyttä

    Softagram Oy
    Ketolanperäntie 469 
    90450 ​Kempele 

    • +358504836173
    • info@softagram.com
    Follow us
    Copyright © Softagram Oy
    Powered by Odoo - Create a free website