GitHub Go To Definition

GitHub Go To Definition

Allows you to jump to the definition of methods, classes, variables, etc. while viewing a diff or file in GitHub

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "GitHub Go To Definition",
  "description": "Allows you to jump to the definition of methods, classes, variables, etc. while viewing a diff or file in GitHub",
  "version": "0.1.1",
  "content_scripts": [
    {
      "matches": [
        "*://github.com/*"
      ],
      "css": [
        "assets/style.css"
      ],
      "js": [
        "js/jquery-3.0.0.min.js",
        "js/urlchange.js",
        "js/modal.js",
        "js/infocollector.js",
        "js/inject.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "background": {
    "scripts": [
      "js/jquery-3.0.0.min.js",
      "js/background.js"
    ]
  },
  "permissions": [
    "activeTab",
    "contextMenus"
  ],
  "icons": {
    "16": "assets/icon-16.png",
    "48": "assets/icon-48.png",
    "128": "assets/icon-128.png"
  }
}